aliens

Author Topic: Path preview TUs left inaccurate when sprinting+opening doors. (OXC and OXCE)  (Read 954 times)

Offline Zesty

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Sprinting (holding ctrl for movement) and pathing through doors gives an inaccurate (over) estimate of the TUs that will be left when the movement is more than 1 step. Can be seen very easily in OG TFTD on the starting triton. Seems to apply only to the automatic doors that close at the end of the turn rather than doors that stay open. Remaining Energy is also off.


« Last Edit: December 02, 2023, 09:23:18 pm by Meridian »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9092
    • View Profile
This should be reported to the OXC team, as it happen also in OXC.


However, the code in both OXC and OXCE around the pathfinding and path preview is so complicated and full of exceptions and workarounds... that any attempt in fixing this will probably result in introducing 3 new bugs.
(I don't feel like touching that part of the code ever again in my life.)

Still, if someone feels like investigating, and finds out there is an easy fix for this... do let me know.