View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004496 | Spring engine | Unit Scripting | public | 2014-08-09 17:58 | 2016-02-01 01:27 | ||||
Reporter | Godde | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 97.0 | ||||||||
Target Version | Fixed in Version | 100.0+git | |||||||
Summary | 0004496: slopeMod not applied correctly to reversing units | ||||||||
Description | A 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 Reproduce | Tested 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 Information | Units 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.) | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
||||||
|
![]() |
|
Godde (reporter) 2014-08-09 18:12 Last edited: 2014-08-10 16:39 |
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. |
![]() |
|||
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 |