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

AirRangeBonus: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Mevitar (talk | contribs)
fixed incorrect info about working only vs AircraftTypes
Testid123 (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|files={{Categ|ini=rules}}
|files={{Categ|ini=rules}}
|types={{Categ|Technoes}}
|types={{Categ|Technoes}}
|values={{values|unsigned integers}}
|values={{Values|float|range in cells}}
|default=0.0
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
|rp=yes
}}This flag defines the additional range added to a [[TechnoType]]'s {{f|Primary|link}} weapon when it is targeting airborne units (doesn't matter if [[AircraftTypes]], [[VehicleTypes]] or [[InfantryTypes]]). In order to do this, the weapon's projectile must have {{f|AA|yes|link}} set.
}}
 
This flag defines the additional range added to all of [[TechnoType]]'s weapons when it is targeting objects in air. In order to do this, the weapon's projectile must have {{f|AA|yes|link}} set.
This flag only applies to the {{f|Primary|link}} weapon. It should be set less than or equal to the normal range of the weapon, otherwise targeting issues arise, and the unit will be unable to target anything.


== Notes ==
== Notes ==
When unit gets ordered to attack an airborne target, it will strive to move into the [[Range]] value, and stay there while attacking. Since adding {{PAGENAME}} increases the actual weapon's firing range, but doesn't affect this behavior, in some situations it helps slow moving AA units when attacking targets that will try to escape (especially if they have {{f|OpportunityFire|no|link}}).
When a unit gets ordered to attack an airborne target, it will strive to move into the [[Range]] value of its anti-air weapon, and stay there while attacking. Adding ''AirRangeBonus'' doesn't affect this behavior, but as it increases the weapon's effective firing range, it actually makes slow moving anti-air units more effective against targets that are able to escape from them (especially if they have {{f|OpportunityFire|yes|link}}), since they will automatically move in to cover a larger area.
<b>AirRangeBonus=<font style="color:red">-2</font></b> There will be no results. But this tag will be disabled.

Latest revision as of 00:27, 22 July 2024

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: AirRangeBonus
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values). (Limited to: range in cells)
Default: 0.0
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



This flag defines the additional range added to all of TechnoType's weapons when it is targeting objects in air. In order to do this, the weapon's projectile must have AA=yes set.

Notes

When a unit gets ordered to attack an airborne target, it will strive to move into the Range value of its anti-air weapon, and stay there while attacking. Adding AirRangeBonus doesn't affect this behavior, but as it increases the weapon's effective firing range, it actually makes slow moving anti-air units more effective against targets that are able to escape from them (especially if they have OpportunityFire=yes), since they will automatically move in to cover a larger area. AirRangeBonus=-2 There will be no results. But this tag will be disabled.