ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

OmniFire

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: OmniFire
File(s): Rules(md).ini
Values: boolean
Default: no
Applicable to: Weapons


If set to yes, the unit firing this weapon does not have to turn to face its target before firing, usually under the assumption that the projectile can home in on the target (for example, the Dreadnaught and Aegis in Red Alert 2, since their missiles turn freely under their own power after being fired).

Another possible use is if the weapon also has AreaFire=yes set but is not fired by deploying the unit.

If the weapon is not a homing weapon then the weapon will be fired directly at the target, ignoring the firing unit's facing and that of its turret (if any).

Bugs/Side-Effects/Unexpected Limitations

If a VehicleType is set to deploy to fire its Secondary weapon but it has OmniFire=yes set on its Primary weapon then, when it deploys, it will actually fire its Primary weapon at the ground (repeatedly).