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

Difference between revisions of "OccupyROFMultiplier"

From ModEnc
Jump to: navigation, search
m (Template Updated)
(Revised for more linkage and better templating.)
 
Line 1: Line 1:
 
{{Flag
 
{{Flag
|name=OccupyROFMultiplier
+
|values={{Values|float}}
|files={{Categ|Rules(md).ini|Rulesmd.ini}}
 
|values=floats (possibly unsigned)
 
 
|default=1.0
 
|default=1.0
|types={{Categ|CombatDamage}}
+
|types={{Categ|CombatDamage|[CombatDamage]}}
 
|yr=yes
 
|yr=yes
|rp=yes
 
 
}}
 
}}
  
Defines a global multiplier to the weapons' <tt>[[ROF]]=</tt> when those weapons are fired from inside garrisoned structures.
+
This flag acts as a multiplier to the {{f|ROF|link}} of any [[Weapons|weapon]] fired by an [[InfantryTypes|infantry]] with {{f|Occupier|yes|link}} while occupying a [[BuildingTypes|building]] with {{f|CanOccupyFire|yes|link}}, {{f|CanBeOccupied|yes|link}} and {{f|MaxNumberOccupants|link}} set to a positive [[Help:Values#Integers|integer]] greater than 0.
  
For more information, see [[Garrison changes in YR]].
+
Base rate of fire is the weapon's {{f|ROF}} multiplied by {{f|OccupyROFMultiplier|link}} and any other rate of fire multipliers.
 +
 
 +
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|OccupyWeaponRange|link}}
 +
* {{f|OccupyDamageMultiplier|link}}

Latest revision as of 03:01, 14 December 2009

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: OccupyROFMultiplier
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Default: 1.0
Applicable to: [CombatDamage]


This flag acts as a multiplier to the ROF of any weapon fired by an infantry with Occupier=yes while occupying a building with CanOccupyFire=yes, CanBeOccupied=yes and MaxNumberOccupants set to a positive integer greater than 0.

Base rate of fire is the weapon's ROF multiplied by OccupyROFMultiplier and any other rate of fire multipliers.

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