OpenTransportWeapon: Difference between revisions
Appearance
m link |
m default= -1 |
||
| Line 4: | Line 4: | ||
|types={{Categ|InfantryTypes}},{{Categ|VehicleTypes}} | |types={{Categ|InfantryTypes}},{{Categ|VehicleTypes}} | ||
|values={{values|unsigned integers}} | |values={{values|unsigned integers}} | ||
|default=-1 | |default= -1 | ||
|yr=yes | |yr=yes | ||
}} | }} | ||
Latest revision as of 18:33, 11 April 2025
|
|
|
|
|
|
| Flag: | OpenTransportWeapon |
| File(s): | rules(md).ini |
| Values: | Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. |
| Default: | -1 |
| Applicable to: | InfantryTypes,VehicleTypes |
This is part of the OpenTopped=yes vehicle logic used by the Battle Fortress in Yuri's Revenge, where passengers on such a transport vehicle use their own weapons when boarded. Specifically this tag selects which weapon this unit uses when it is inside an OpenTopped vehicle.
A value of -1 will make the game choose the weapon, for the remaining values refer to the table below:
| Index | Weapon Slot |
|---|---|
| 0 | Primary/ElitePrimary or Weapon1/EliteWeapon1 |
| 1 | Secondary/EliteSecondary or Weapon2/EliteWeapon2 |
| 2 | Weapon3/EliteWeapon3 |
| 3 | Weapon4/EliteWeapon4 |
| 4 | Weapon5/EliteWeapon5 |
| 5 | Weapon6/EliteWeapon6 |
| 6 | Weapon7/EliteWeapon7 |
| 7 | Weapon8/EliteWeapon8 |
| 8 | Weapon9/EliteWeapon9 |
| 9 | Weapon10/EliteWeapon10 |
| 10 | Weapon11/EliteWeapon11 |
| ... | Etc... |
By default, a full gattling cycle works, and can use all 3 ground and 3 air weapons from inside an OpenTopped vehicle, without pre-selecting which weapon is to be used in all cases.





