Jump to content

ClearAllWeapons: Difference between revisions

From ModEnc²
en>Nighthawk200
Updated with DCoder's info. Seems the original was wrong.
en>TAK02
This is used on some civie buildings in RA2Sov01.
Line 4: Line 4:
|values={{values|booleans}}
|values={{values|booleans}}
|default=no
|default=no
|types=[[VehicleTypes]]
|types=[[VehicleTypes]],[BuildingTypes]
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
Line 10: Line 10:
}}<br />
}}<br />
This sets the object's [[Primary]], [[Secondary]], [[ElitePrimary]], [[EliteSecondary]], [[WeaponX|Weapon1]] and [[EliteWeaponX|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 sets the object's [[Primary]], [[Secondary]], [[ElitePrimary]], [[EliteSecondary]], [[WeaponX|Weapon1]] and [[EliteWeaponX|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.

Revision as of 12:30, 20 March 2021

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: VehicleTypes,[BuildingTypes]



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.