Jump to content

Gunner

From ModEnc²
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Gunner
File(s): Rules(md).ini
Values: boolean
Default: no
Applicable to: VehicleTypes


If set, specifies that this object uses an IFV Weapon System.

Originally used only on the IFV. In order for this flag to work as expected, the vehicle in question must have a TurretCount= value, and it has to be greater than zero.

Bugs/Side-Effects/Unexpected Limitations

Gunner=yes vehicles use the passenger’s Temporal device to fire if it is equipped with a Temporal=yes weapon. This can be done safely, and the device is replaced once the infantry exits the vehicle. However, if the Gunner=yes vehicle is also OpenTopped=yes, the infantry with the Temporal weapon inside is still expected to fire on its own, but because it doesn’t have the Temporal device any more, the game crashes.

  • Ares 0.9 prevents infantry that has its temporal device taken away by the Gunner logic from firing out of an OpenTopped vehicle.