ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
CellRangefinding
Jump to navigation
Jump to search
| Flag: | CellRangefinding |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Default: | no |
| Applicable to: | weapons |
Decide to use cell as the distance calculation unit for this weapon instead of lepton.
Notes
Actually, it's not just a unit change; when set to yes, the calculation of whether the range is satisfied will use the distance between the centers of the cells where both parties are located, rather than the precise distance between the two entities. In vanilla, it is often used for close-range weapons to ensure they have a tolerance distance that allows firing.
An additional effect is that firer[1] units that are above ground but not above[2] the airspace judgment threshold will also ignore their own height, because under this algorithm, the firer's coordinates will be calculated based on the cell center coordinates.

