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

AirRangeBonus

From ModEnc
Revision as of 21:40, 20 May 2014 by Mevitar (talk | contribs) (fixed incorrect info about working only vs AircraftTypes)
Jump to: navigation, search
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: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



This flag defines the additional range added to a TechnoType's Primary 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 AA=yes set.

This flag only applies to the Primary 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

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 AirRangeBonus 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 OpportunityFire=no).