ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Range: Difference between revisions
Jump to navigation
Jump to search
m cleaned and template-fied |
m Forgot the category, oops |
||
Line 11: | Line 11: | ||
The maximum for "normal" weapons is 255 whilst -2 is used for special spawn, scanning logic. | The maximum for "normal" weapons is 255 whilst -2 is used for special spawn, scanning logic. | ||
[[Category:INI Flags]] |
Revision as of 12:08, 2 January 2006
Flag: | Range |
File(s): | rules(md).ini |
Values: | float |
Special Values: | |
Default: | ? |
Applicable to: | Weapons |
Range= defines the distance (in cells) that a weapon can travel (aka the distance from the firing point to the impact point [in 3D, so it makes a difference for targets in different altitudes]). It takes a positive floating point value as literal distance, and special value "-2" as "infinite".
Mind that this only applies to non-homing projectiles. Homing projectiles (those which have a positive ROT= value) can follow their targets all over the map, unless they are tagged as Ranged=.
This is the primary usage of Range; for other meanings, see Range (sound(md).ini).
Allied General
Range is the maximum distance that a weapon can travel across the RA2 battlefield.
The maximum for "normal" weapons is 255 whilst -2 is used for special spawn, scanning logic.