ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "AirRangeBonus"
From ModEnc
Nighthawk200 (talk | contribs) (Dedeezirified.) |
m |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|files={{Categ|ini=rules}} | |files={{Categ|ini=rules}} | ||
|types={{Categ|Technoes}} | |types={{Categ|Technoes}} | ||
− | |values={{ | + | |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 | + | }} |
+ | 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. | ||
− | + | == 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 {{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 02:27, 22 July 2024
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.