View Issue Details

IDProjectCategoryView StatusLast Update
0002877Spring engineGeneralpublic2012-03-24 01:02
ReporterDeadnight Warrior Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version85.0 
Summary0002877: Changing of unit's max velocity is no longer possible
DescriptionNone 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;
TagsNo tags attached.
Checked infolog.txt for Errors

Relationships

related to 0003016 resolvedKloot changing unit speed does not work in script.Create() anymore 

Activities

Google_Frog

2011-12-27 00:58

reporter   ~0008022

"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

2011-12-27 04:51

reporter   ~0008024

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.

Issue History

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