ShieldInversion

GameObjects hit by the Ordnance have their shields drained. Shield hitpoints are given to the owner of the weapon. Note that the Ordnance cannot be used on the Capture the Flag unit, zflag.odf, and will not affect Planets.

Wshldinv.sod is used by default when a GameObject is hit by the Ordnance.

Uses the sprite ODF command. Does not use the shotGeometry ODF command. The sprite will change color from green to yellow to red depending on the strength of the shields of the owner (strongest to weakest).

SpecialEnergyCost drains per second.

Note that the Weapon (if special = 1) that fires this Ordnance must have needTarget = 1, otherwise Armada will crash when the AI / Special Weapons Autonomy uses the weapon.

classlabel = "shieldinv"

Stock ODF Commands

drainRate

Float, Default: 9.0

The amount of shield hitpoints drained per second. Correlated 1:1 with the shield hitpoints given to the GameObject doing the firing. Negative values drain the owner and repair the target.