2022-12-05 01:38 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004528Spring engineGeneralpublic2016-02-05 00:53
Assigned ToKloot 
StatusclosedResolutionno change required 
Product Version97.0.1+git 
Target VersionFixed in Version 
Summary0004528: add Spring.GroundPassable(unitDefID, x, z)
Descriptionreturns a bool to say if ground is passable by a unitDefID (or maybe better, a double in [0,1] to indicate the local restriction to max speed)

perhaps that arg would be better taken as a moveDef ID/name
Additional InformationIt's confusing when the tooltip (and GetGroundInfo) return speedmodifiers that only partially reflect the real ones; I don't think the real info is accessible to lua.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files




Google_Frog (reporter)

Are you aware that Spring.TestMoveOrder exists and might do what you want?


silentwings (reporter)

Yes - afaics it can't do this.


Kloot (developer)

it can, wrt the "a bool to say if ground is passable by a moveDefID" part: testTerrain=true, testObjects=false, centerOnly=true

-Issue History
Date Modified Username Field Change
2014-09-03 10:56 silentwings New Issue
2014-09-03 13:15 Google_Frog Note Added: 0013587
2014-09-03 15:26 silentwings Note Added: 0013590
2016-02-05 00:53 Kloot Note Added: 0015622
2016-02-05 00:53 Kloot Status new => closed
2016-02-05 00:53 Kloot Assigned To => Kloot
2016-02-05 00:53 Kloot Resolution open => no change required
+Issue History