Jump to content

OccupyWeaponRange: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 4 revisions imported
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Since weapons are tied to the Occupant of a building in Yuri's Revenge (rather than the building itself a sin standard Red Alert 2),  this defines the weapon Range= when it is fired from inside a structure. This is the same for all weapons fired from inside a structure - you can't take the range from each weapon since if two different guys are inside, once the short range guy gets his turn then he'll make the building stop shooting.<br />
|values={{Values|unsigned integers}}
(Yuri's Revenge Only)
|default=5
|types={{Categ|CombatDamage|[CombatDamage]}}
|yr=yes
}}
 
This flag overrides the {{f|Range|link}} of any [[Weapons|weapon]] fired by an [[InfantryTypes|infantry]] with {{f|Occupier|yes|link}} while occupying a [[BuildingTypes|building]] with {{f|CanBeOccupied|yes|link}} and {{f|MaxNumberOccupants|link}} set to a positive [[Help:Values#Integers|integer]] greater than 0.
 
The weapon fired by an infantry while occupying a building is determined by {{f|OccupyWeapon|link}}, or {{f|EliteOccupyWeapon|link}} if the infantry's veterancy status is "elite".
 
==See also==
* {{f|OccupyDamageMultiplier|link}}
* {{f|OccupyROFMultiplier|link}}

Latest revision as of 22:00, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: OccupyWeaponRange
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 5
Applicable to: [CombatDamage]


This flag overrides the Range of any weapon fired by an infantry with Occupier=yes while occupying a building with CanBeOccupied=yes and MaxNumberOccupants set to a positive integer greater than 0.

The weapon fired by an infantry while occupying a building is determined by OccupyWeapon, or EliteOccupyWeapon if the infantry's veterancy status is "elite".

See also