Jump to content

ClearAllWeapons

From ModEnc²
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: ClearAllWeapons
File(s): rulesmd.ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes




This sets the object's Primary, Secondary, ElitePrimary, EliteSecondary, Weapon1 and EliteWeapon1 to blank, meaning the unit will only get weapons if it is an IFV and an infantry boards it. The weapons do remain loaded by the game as if loaded by a weedguy hack.

This flag is also found on buildings that were made ungarrisonable in the first RA2 Soviet mission, sov01t.map. The effect appears to be the same on them.

Warning

In Phobos Build #37 and above, when FV acquires a weapon via passenger and displays the Attack Cursor, it will immediately crash.