ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
AirRangeBonus: Difference between revisions
Jump to navigation
Jump to search
EvilRenegade (talk | contribs) m Replacing Template:TTL with Template:F. |
fixed incorrect info about working only vs AircraftTypes |
||
Line 7: | Line 7: | ||
|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 [[AircraftTypes]]. In order to do this, the weapon's projectile must have {{f|AA|yes|link}} set. | }}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 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. | 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 == | |||
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}}). |
Revision as of 19:40, 20 May 2014
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).