modding:xml:shields
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
modding:xml:shields [2017/02/05 18:09] – Move shield_devices to shields 0xabcdef | modding:xml:shields [2017/06/28 06:35] (current) – hasNonRegenHP attribute 0xabcdef | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Summary===== | ||
- | ^ < | ||
- | ^ hitPoints= | Max HP of the shield | | ||
- | ^ maxHPBonus= | Max percentage bonus hp that this shield can be enhanced to have | | ||
- | ^ hpBonus= | Bonus resistance/ | ||
- | ^ damageAdj | List of percentages for damage types the damage dealt is multiplied by. | | ||
- | ^ damageAdjLevel= | The level on the damage curve that this shield will inherit its adjustments from. | | ||
- | ^ absorbAdj= | List of percentages for each damage type that this shield will absorb the damage from | | ||
- | ^ regen= | HP regenerated every 6 seconds | | ||
- | ^ regenTime= | Time in 1/60ths of second between regeneration events | | ||
- | ^ regenHP= | HP regenerated per regeneration event | | ||
- | ^ depletionDelay= | Time in 1/30ths of second after HP reaches 0 during which regeneration is disabled | | ||
- | ^ powerUse= | Power consumption in 1/10ths of MW while recharging | | ||
- | ^ idlePowerUse= | Power consumption in 1/10ths of MW while //not// recharging | | ||
- | ^ /> | | ||
- | //Inherits the attributes and properties common to all devices// | ||
- | |||
- | TODO: Add properties | ||
- | |||
=====Overview===== | =====Overview===== | ||
Shields are installable [[< | Shields are installable [[< | ||
Line 78: | Line 59: | ||
The example above sets the shield' | The example above sets the shield' | ||
+ | Note: Placing the characters **< | ||
=====Additional Parameters===== | =====Additional Parameters===== | ||
Line 113: | Line 95: | ||
* **balance** | * **balance** | ||
* **damageAdj** | * **damageAdj** | ||
- | * **effectiveHP** | + | * **effectiveHP** |
* **hp** | * **hp** | ||
* **hpBonus** | * **hpBonus** | ||
Line 121: | Line 103: | ||
=====Properties===== | =====Properties===== | ||
- | * **damageAdj** | + | * **damageAdj** |
- | * **hp** | + | * **hp** If the item is installed, returns the hp left. Otherwise, returns **maxHP** |
- | * **hpBonus** | + | * **hpBonus** |
- | * **maxHP** | + | * **maxHP** |
+ | //Inherits properties from [[Devices]]// | ||
=====Events===== | =====Events===== | ||
Shield events can be added to the < | Shield events can be added to the < | ||
Line 185: | Line 167: | ||
**gItem** is the shield item. | **gItem** is the shield item. | ||
+ | |||
+ | =====Summary===== | ||
+ | * **< | ||
+ | * **absorbAdj=** List of percentages for each damage type that this shield will absorb the damage from | ||
+ | * **armorShield=** | ||
+ | * **damageAdj=** List of percentages for damage types the damage dealt is multiplied by. | ||
+ | * **damageAdjLevel=** The level on the damage curve that this shield will inherit its adjustments from. | ||
+ | * **depletionDelay=** Time in 1/30ths of second after HP reaches 0 during which regeneration is disabled | ||
+ | * **hitEffect=** | ||
+ | * **hitPoints=** Max HP of the shield | ||
+ | * **idlePowerUse=** Power consumption in 1/10ths of MW while //not// recharging | ||
+ | * **hasNonRegenHP=** | ||
+ | * **hpBonus=** Bonus resistance/ | ||
+ | * **HPBonusPerCharge=** | ||
+ | * **maxCharges=** | ||
+ | * **powerBonusPerCharge=** | ||
+ | * **powerUse=** Power consumption in 1/10ths of MW while recharging | ||
+ | * **reflect=** | ||
+ | * **regen=** HP regenerated every 180 ticks (6 seconds) | ||
+ | * **regenHP=** HP regenerated per regeneration event | ||
+ | * **regenHPBonusPerCharge=** | ||
+ | * **regenTime=** Time in 1/60ths of second between regeneration events | ||
+ | * **weaponSuppress=** | ||
+ | * **// | ||
+ | * **< | ||
+ | * **< | ||
+ | * **gSource** | ||
+ | * **gItem** | ||
+ | * **aMaxHP** | ||
+ | * **< | ||
+ | * **aArmorSeg** | ||
+ | * **aCause** | ||
+ | * **aAttacker** | ||
+ | * **aOrderGiver** | ||
+ | * **aHitPos** | ||
+ | * **aHitDir** | ||
+ | * **aDamageHP** | ||
+ | * **aDamageType** | ||
+ | * **aWeaponType** | ||
+ | * **aShieldHP** | ||
+ | * **aShieldDamageHP** | ||
+ | * **aArmorDamageHP** | ||
+ | * **aShieldReflect** | ||
+ | * **aOriginalShieldDamageHP** | ||
+ | * **aOriginalArmorDamageHP** | ||
+ | * **< | ||
+ | * **gSource** | ||
+ | * **gItem** |
modding/xml/shields.txt · Last modified: 2017/06/28 06:35 by 0xabcdef