View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002877 | Spring engine | General | public | 2011-12-26 22:31 | 2012-03-24 01:02 | ||||
Reporter | Deadnight Warrior | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 85.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002877: Changing of unit's max velocity is no longer possible | ||||||||
Description | None of the following seems to have any effect when trying to change a tank's maxSpeed LUA: Spring.SetUnitCOBValue(unitID, 75, speed) Spring.MoveCtrl.SetGroundMoveTypeData(unitID,"maxSpeed", speed) BOS/COB: set MAX_SPEED to speed; | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
||||||
|
![]() |
|
Google_Frog (reporter) 2011-12-27 00:58 |
"Spring.MoveCtrl.SetGroundMoveTypeData(unitID,"maxSpeed", speed)" I know this works for speeds less than the speed set in the unitdef. I haven't tested greater speeds. |
Google_Frog (reporter) 2011-12-27 04:51 |
I have confirmed that lua settable speed is capped at unitdef maxVelocity. To workaround give the unit high maxVelocity and set it's normal speed in it's script. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-12-26 22:31 | Deadnight Warrior | New Issue | |
2011-12-27 00:58 | Google_Frog | Note Added: 0008022 | |
2011-12-27 04:51 | Google_Frog | Note Added: 0008024 | |
2012-01-31 16:05 | Kloot | Status | new => closed |
2012-01-31 16:05 | Kloot | Resolution | open => no change required |
2012-03-14 03:10 | abma | Relationship added | related to 0003016 |
2012-03-24 01:01 | Kloot | Status | closed => feedback |
2012-03-24 01:01 | Kloot | Resolution | no change required => reopened |
2012-03-24 01:02 | Kloot | Status | feedback => resolved |
2012-03-24 01:02 | Kloot | Resolution | reopened => fixed |
2012-03-24 01:02 | Kloot | Assigned To | => Kloot |