albator wrote:Silentwings wrote:Brief set of myth-debunks:
vehicles were actually turning right on the spot you ask them to
Choice made by game.
Thanks for the explanations.
Any reason why this has been done with BA ? Do you know who and why it was changed wrt years ago ? the consequence of that is player picking kbot on comet 1v1 like johan mentionned already.
Units used to have "TurnInPlace = true", but it was changed to false at some point.
Now, how does turn in place work:
TurnInPlace has a set max angle limit beyond which the unit will brake.
With 110 degrees angle limit, any turn below 110 will be performed at maxspeed, and any turn over 110 will trigger brakes.
The brake not necessarily is to 0 speed, but is at max brakerate until the remaining angle is <= maxangle and the unit can start accelerating again.
How does TurnInPlace = false work then:
No angle limit, this one is always triggered on turns, whatever the turn.
For as long as a unit is turning and its speed is beyond TurnInPlaceSpeedLimit, it will brake and try to reach this speed.
If its speed was lower, it will accelerate and attempt to reach it.
My guess is that somehow, at some point, devs introduced TurnInPlace = false to avoid units braking completly unnecessarily on new queues. That was something that happened alot in BA: spamming some move commands on a tank would make it brake to turn and move slower (or not move at all) than only 1 command sent.
The fix i'm proposing for that is rather use bigger anglelimits so that only turns over 110 degrees will trigger the brakes, and smaller turns (0 - 110°) will be performed at max speed and wont cause unit to brake.
Some videos showing 3 cases (older ba, latest stable, latest tests)
BA 7.20 -- 4 Stumpies moving on DSD's flat ground and not being able to perform the moves commands when they are spammed (TurnInPlace = true)
https://youtu.be/6z58NYj8HVY
BA 9.46 -- 3 Stumpies moving on tangerine's ground, not able to move at max speed because it's always performing needless turns ((TurnInPlace = false)
https://youtu.be/p7-niGYitcg
BA:test -- 4 stumpies on dsd flat ground, able to reach max speed, not losing speed on command queues spam, braking on >110° turns.(TurnInPlace = ture AND TurnInPlaceAngleLimit = 110, AND cmd_Raw_Move.lua)
https://youtu.be/80IEdO7zMBk