Jump to content

Gunner: Difference between revisions

From ModEnc²
mNo edit summary
ATHSE (talk | contribs)
why do we need a warning about negative, just say it must be positive?
Line 12: Line 12:
If set, specifies that this object uses an [[IFV Weapon System]].
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, several conditions have to be met:
Originally used only on the IFV. In order for this flag to work as expected, the vehicle in question must have a [[TurretCount|TurretCount=]] value, and it has to be greater than zero.  
* The vehicle in question must have a {{Tt|[[TurretCount]]}} of >0. The statement must be neither omitted, nor set to 0.
** Negative numbers have not been tested, however it is reasonable to expect them to not cause the IFV to work as desired.


{{bugs}}
{{bugs}}
{{f|Gunner|yes}} vehicles use the passenger’s temporal device to fire if it is equipped with a {{f|Temporal|yes|link}} weapon. This can be done safely, and the device is replaced once the infantry exits the vehicle. If the {{f|Gunner|yes}} vehicle is also {{f|OpenTopped|yes}}, the infantry with the {{f|Temporal|yes}} weapon inside is still supposed to fire on its own, but because it doesn’t have the temporal device any more, the game crashes.
{{f|Gunner|yes}} vehicles use the passenger’s Temporal device to fire if it is equipped with a {{f|Temporal|yes|link}} weapon. This can be done safely, and the device is replaced once the infantry exits the vehicle. However, if the {{f|Gunner|yes}} vehicle is also {{f|OpenTopped|yes|link}}, 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 {{f|Gunner}} logic from firing out of an {{f|OpenTopped|link}} vehicle.
*[[Ares]] 0.9 prevents infantry that has its temporal device taken away by the Gunner logic from firing out of an [[OpenTopped]] vehicle.

Revision as of 12:22, 8 April 2025

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.