TractorBeam

Allows the owner GameObject to tow GameObjects with disabled or destroyed engine subsystems. A target GameObject must have a Physics configuration file defined (enginesHitPoints are not necessary) and the Craft ODF command, is_starbase, must be false. The ordnance cannot miss targets as disabled / destroyed engines are considered to invalidate Weapon hitChance.

Uses the shotGeometry ODF command. Does not use the sprite ODF command.

classlabel = "tractor_bm"

Stock ODF Commands

targetRange

Float, Default: 100.0

The maximum distance between the owner GameObject and the towed GameObject once the TractorBeam latches on. Does not have to match the Weapon's range.

targetSpeed

 

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.

omegaType

Boolean, Default: FALSE

When set to true (1), this TractorBeam may latch onto the Omega Particle: Momega.odf is hardcoded to be treated as the Omega Particle.

Note that if the Omega Particle's engines are disabled, the Omega Particle is treated as a valid target, but the TractorBeam cannot grab latch on unless omegaType is true.