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

Talk:ElevationModel

From ModEnc
Jump to navigation Jump to search

In [ElevationModel] (oldid=17077):


:
 
 
It is not confirmed whether this bonus can be negative.
 


Shooters at lower positions have shorter ranges.

In YR, it can be negative, but I don't know the math. My HTNKxMTNK experimental screenshot is on the right. --Mozi86 (talk) 18:25, 30 January 2026 (UTC)

I think this is related to the fact that the Range of ground units is calculated as a three-dimensional distance, because based on reverse engineering of the game, at the step of FirerPositionHeight - TargetPositionHeight, it does not handle the situation where the firer is lower than the target. If the height difference between the firer and the target does not satisfy >=0, then it directly sets the height difference to 0 for calculation. See 0x6F6F60 (YR 1.001). And in the original text, "whether it supports negative values" more likely refers to whether the gain obtained from high to low can finally be negative.
DeathFish (Riot Control) 19:37, 30 January 2026 (UTC)