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

OpenTransportWeapon

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: OpenTransportWeapon
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default:  -1, default weapon selection rules
Applicable to: InfantryTypes, VehicleTypes


When this unit is inside a transport with OpenTopped=yes, which weapon will it use?

Notes

This is part of the forcing specific weapon. If you use this logic, then you will no longer be able to use the default rules, that is, you will no longer be able to switch between multiple weapons in different situations, including those introduced by the Gattling Weapon System.

For cases other than -1 (default), the available values and effects are as follows:

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...

References

Phobos introduced forcing specific weapon effects for various new scenarios, including surfaced naval vessels, targets under EMP conditions, and targets at varying distances. Refer to Phobos documentation.

See Also

WeaponX#Notes