2019-08-21 13:38 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004496Spring engineUnit Scriptingpublic2016-02-01 01:27
ReporterGodde 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version97.0 
Target VersionFixed in Version100.0+git 
Summary0004496: slopeMod not applied correctly to reversing units
DescriptionA unit with slopeMod = 80 drives faster in reverse up a hill than a unit driving forwards.
When the unit reverses down a hill it drives very slower than when going up the hill.
Steps To ReproduceTested with "Spring: 1944 dev-test-3294-4e2daf5"(available on rapid) on the map 1944_Titan on top north hill.
Unit: GerPuma

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

/give 2 Gerpuma
Place 2 units beside each other where one faces the hill and one that looks away.
Make 1 unit reverse by giving it several move commands in a line up the hill while the other one just gets a move command to the top of the hill.
Additional InformationUnits also seem to use brakeRate to accelerate in reverse. A unit with very low acceleration and high brake rate will accelerate faster in reverse. (Acceleration 0.0001 and brakeRate 0.01 for example.)
TagsNo tags attached.
Checked infolog.txt for lua Errors
Attached Files

-Relationships
related to 0004497resolvedKloot Unit in reverse seem to use BrakeRate to accelerate in reverse 
+Relationships

-Notes

~0013495

Godde (reporter)

Last edited: 2014-08-10 16:39

View 3 revisions

Probably related: http://springrts.com/mantis/view.php?id=4497
0004497: Unit in reverse seem to use BrakeRate to accelerate in reverse
http://springrts.com/mantis/view.php?id=4498
0004498: Turning and reversing vehicles ignores maxReverseVelocity when turnInPlaceSpeedLimit is higher.

+Notes

-Issue History
Date Modified Username Field Change
2014-08-09 17:58 Godde New Issue
2014-08-09 18:12 Godde Note Added: 0013495
2014-08-09 18:13 Godde Note Edited: 0013495 View Revisions
2014-08-10 16:39 Godde Note Edited: 0013495 View Revisions
2016-02-01 01:27 Kloot Relationship added related to 0004497
2016-02-01 01:27 Kloot Status new => resolved
2016-02-01 01:27 Kloot Fixed in Version => 100.0+git
2016-02-01 01:27 Kloot Resolution open => fixed
2016-02-01 01:27 Kloot Assigned To => Kloot
+Issue History