ResourceExtractionBeam

The Ordnance converts GameObject hull hitpoints into biomatter (conversion into biomatter is hardcoded). Note that the Ordnance cannot be used on friendly units.

When the ResourceExtractionBeam is treated as a special weapon, if target targetEnemyCraft and targetEnemyBuildings are true, then the player will be able to target these types of units by clicking on the special and then the target. If these weapon ODF commands are false, the player can still use the cursor to attack valid targets with the Ordnance, but will not get a targeting cursor when clicking on the weapon's button.

Note the Ordnance does not have an attack cursor associated with it, but can inherit one. May cause a crash with non Freighters???

Uses the shotGeometry ODF command. Does not use the sprite ODF command. The ordnance never misses.

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 = "resourceextractionbeam"

Stock ODF Commands

conversionRate

Float, Default: 1.0

The fraction of hull hitpoints drained by the Ordnance that are converted into biomatter (1.0 = 1.0 units).

drainRate

Float, Default: 10.0

The number of hull hitpoints drained from a target GameObject per second.

extractionInterval

Float, Default:

The time in seconds between when the Ordnance is draining hull hitpoints. ***seems to have no effect

lengthScale

Float, Default: 0.0

Modifies the radius of the model specified in the base Ordnance shotGeometry ODF command by this factor. Note that the model's length is dynamic such that as the target gets closer, the model will compact and vice versa.

radiusScale

Float, Default: 0.0

Modifies the radius of the model specified in the base Ordnance shotGeometry ODF command by this factor. Note that the model's radius is dynamic such that as the target gets closer, the model's radius will increase and vice versa.