Author Topic: [FIXED] Wrong height for motion scanner batttlescape markers (ALT press)  (Read 1589 times)

Offline CrazedHarpooner

  • Colonel
  • ****
  • Posts: 113
    • View Profile
Currently the height of the arrows is dependant on the detected unit's height. For most units the variance is negligible, but for particularly small units present in mods (cybermites, holodrones) it results in an visually incorrect representation of said unit's location as it can bee seen in the attached screenshots of a custom mix race for an alien base. In the process of testing I noticed that the indicator only considers the units height and doesn't take into accout the floating height resulting in the holodrone indicator pointing to its 'center'. I think a fixed constant height equivalent to a unit's standHeight of 20 would result in a more reliable visual representation.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9136
    • View Profile
Re: [Bug] Wrong height for motion scanner batttlescape markers (ALT press)
« Reply #1 on: February 10, 2024, 11:29:59 am »
Agreed, dependency on unit height can spoil the unit type (of a hidden unit).


Offline CrazedHarpooner

  • Colonel
  • ****
  • Posts: 113
    • View Profile
Re: [Bug] Wrong height for motion scanner batttlescape markers (ALT press)
« Reply #3 on: February 10, 2024, 11:36:30 am »
Agreed, dependency on unit height can spoil the unit type (of a hidden unit).
Yes, this also crossed my mind, but I never mentioned it.
Fixed.

https://github.com/MeridianOXC/OpenXcom/commit/4d58a9278612b3f7572a5487c470565543cf7de2
And thank you. I realized that I posted this under the wrong subforum and appreciate that was still considered.