ACE3
ACE3 copied to clipboard
Vehicles - Add Resume/Set functionality to speed control
When merged this pull request will:
- add
Set/Resumefunctionality onSpeed-/Speed+keys (likeSET-/RES+buttons) - make
Autothrottlework for UAV planes - fix
Autothrottlenot 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 Camerastarts (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.