2024-04-20 12:56 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004498Spring engineUnit Scriptingpublic2016-02-01 03:29
ReporterGodde 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version97.0 
Target VersionFixed in Version 
Summary0004498: Turning and reversing vehicles ignores maxReverseVelocity when turnInPlaceSpeedLimit is higher.
DescriptionWhen a unit drives in reverse and is turning it will accelerate to turnInPlaceSpeedLimit even if maxReverseVelocity is lower than turnInPlaceSpeedLimit.
Steps To ReproduceTested with "Spring: 1944 dev-test-3294-4e2daf5"(available on rapid) on the map 1944_Titan.
Unit: GerPuma

Unit with turnInPlace = 0
turnInPlaceSpeedLimit = maxVelocity (5.4)
maxReverseVelocity = maxVelocity / 2 (2.7)
acceleration = 0.043
brakeRate = 0.11

/cheat
/give 2 gerpuma
Put the 2 Pumas besides eachother and facing the same direction.
Pause the game.
Give one Puma a line of move commmands behind it so that it will drive in reverse.
Give the other Puma a few move commands behind it. Have it selected as you unpause the game.
As the Puma is driving in reverse, give it move commands behind it at an angle to the direction it is going but not too far away. As it almost turns against the new move location give it a new move command at an angle in the opposite direction. Keep doing this while alternating the angle so that the unit is snaking back forth while still moving in the same general direction as the other Puma.
The snaking Puma turning back and forth will surpass the other Puma even though it is turning back and forth and snaking across the ground.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0013502

Godde (reporter)

Last edited: 2014-08-10 16:39

View 2 revisions

Probably related: http://springrts.com/mantis/view.php?id=4496
0004496: slopeMod not applied correctly to reversing units
http://springrts.com/mantis/view.php?id=4497
0004497: Unit in reverse seem to use BrakeRate to accelerate in reverse

~0015594

Anonymous (viewer)

Fix 83a4f29f68fa9cce45aad51f3b4b14c587c736d7 committed to develop branch: fix 0004498, repo: spring changeset id: 6500
+Notes

-Issue History
Date Modified Username Field Change
2014-08-10 16:37 Godde New Issue
2014-08-10 16:38 Godde Note Added: 0013502
2014-08-10 16:39 Godde Note Edited: 0013502 View Revisions
2016-02-01 03:29 Changeset attached => spring develop 83a4f29f
2016-02-01 03:29 Anonymous Note Added: 0015594
2016-02-01 03:29 Anonymous Status new => resolved
2016-02-01 03:29 Anonymous Resolution open => fixed
+Issue History