Jump to content

Occupier: Difference between revisions

From ModEnc²
en>Vinifera7
De-DZed. Another one bites the dust.
ATHSE (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|yr=yes
|yr=yes
}}
}}
This flag determines whether or not an [[InfantryTypes|infantry]] can garrison a [[BuildingTypes|building]] with {{f|CanBeOccupied|yes|link}} and {{f|MaxNumberOccupants|link}} is greater than 0.


This flag determines whether or not an [[InfantryTypes|infantry]] can garrison a [[BuildingTypes|building]] with {{f|CanBeOccupied|yes|link}} and {{f|MaxNumberOccupants|link}} set to a positive [[Help:Values#Integers|integer]] greater than 0.
Infantry can only garrison buildings controlled by a neutral (Civilian) player in RA2, but with the addition of the Battle Bunker in YR, the game also allows the player to garrison their own buildings.


Infantry can only garrison buildings controlled by the same player or a neutral player.
==In {{ra2}}==
Occupied (garrisoned) buildings in {{ra2}} will use pre-determine Allied/Soviet occupation weapons when firing, determined by their {{f|Primary|link}} weapon for Allied, and {{f|Secondary|link}} for Soviet occupants.


==See also==
==In {{yr}}==
* {{f|OccupyPip|link}}
The occupied building also requires {{f|CanOccupyFire|yes|link}} to actually fire in YR, and the weapon used must be defined on the infantry iself, by their {{f|OccupyWeapon|link}} and {{f|EliteOccupyWeapon|link}}.
 
== See Also ==
[[OccupyPip]]

Latest revision as of 01:20, 24 April 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Occupier
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: InfantryTypes


This flag determines whether or not an infantry can garrison a building with CanBeOccupied=yes and MaxNumberOccupants is greater than 0.

Infantry can only garrison buildings controlled by a neutral (Civilian) player in RA2, but with the addition of the Battle Bunker in YR, the game also allows the player to garrison their own buildings.

In Red Alert 2

Occupied (garrisoned) buildings in Red Alert 2 will use pre-determine Allied/Soviet occupation weapons when firing, determined by their Primary weapon for Allied, and Secondary for Soviet occupants.

In Yuri's Revenge

The occupied building also requires CanOccupyFire=yes to actually fire in YR, and the weapon used must be defined on the infantry iself, by their OccupyWeapon and EliteOccupyWeapon.

See Also

OccupyPip