ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Vehicles - Add Resume/Set functionality to speed control

Open Dystopian opened this issue 3 years ago • 0 comments

When merged this pull request will:

  • add Set/Resume functionality on Speed-/Speed+ keys (like SET-/RES+ buttons)
  • make Autothrottle work for UAV planes
  • fix Autothrottle not working for copilots
  • fix speed control for UGV gunner
  • disable speed control activating if engine is off
  • disable speed control activating in UAV when map is opened
  • disable CC activating if speed < 1 (stopped or moving backward)
  • disable speed control when Feature Camera starts (Zeus, Splendid Camera, etc.)

Speed Control means Cruise Control and Speed Limiter here.

I don't know if it's worth touching setting strings. I would just add / Resume to <English>Increase Speed Limit</English> line but not for other languages. Deleting them would be rude to translators. Commenting them out would be good but tabler sees commented lines as missing.

Looks like UGV are correctly driven by player as gunner. These are Stomper (Car child), ED-1D and ED-1E (Tank children). And speed control works correctly with gunner too now.

I also had idea to store speedLimit and isCruiseControl vars per vehicle but decided it's not worth it.

Dystopian avatar Jul 15 '22 22:07 Dystopian