2025-07-18 17:04 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004203Spring engineGeneralpublic2013-12-10 00:10
Reportermsafwan 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version95.0.1+git 
Target VersionFixed in Version 
Summary0004203: Air transport do not want to load unit at water surface
DescriptionZK's amphibious unit can float on water surface using impulses and can be loaded to air transport.

As in Spring 95.0.1-135-g3cbb04a air transport halt midway and no longer want to load floating unit. However it can load ship now.
Steps To ReproduceTesting procedure:
I have provided a replay.
Tagsair transport
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0012358

msafwan (reporter)

Last edited: 2013-12-09 13:37

View 2 revisions

Air transport do not want to unload unit at sea surface either :/
However it is not as important as being able to load unit in first place.

~0012362

Rafal99 (reporter)

Last edited: 2013-12-09 18:20

View 2 revisions

>> ZK's amphibious unit can float on water surface using impulses ...

But they don't float!
They are just hacked to move up to the surface but technicaly they still belong to the sea bottom.
Once the ZK finally switches from Spring 91.0, we will be able to use Spring.MoveCtrl.SetMoveDef() and make them really float on the water surface, but at the moment they don't float at all.

~0012364

msafwan (reporter)

Last edited: 2013-12-09 20:39

View 2 revisions

So we change it to ship move-def at surface, and then back to amphib when sinking, and this allowed it to be transported like ship?

okay, I'll try this soon.

UPDATE: attempt:
local success = Spring.MoveCtrl.SetMoveDef(unitID,"BOAT3")
Spring.Echo(success)

do not work. It return false

~0012365

Rafal99 (reporter)

Last edited: 2013-12-09 20:52

View 2 revisions

Try lowercase?

~0012366

msafwan (reporter)

Last edited: 2013-12-09 21:17

View 3 revisions

Lowercase "boat3" echo true, but it doesn't make the once crawling unit into a floating ship (it still need that impulse to stay afloat).

I also tried Hover to try floatOnWater, but still doesn't work:

local success = Spring.MoveCtrl.SetMoveDef(unitID,"hover3")
Spring.Echo(success)
Spring.MoveCtrl.SetGroundMoveTypeData(unitID,{floatOnWater=true})

Echo: "true, Warning cannot assign floatOnWater"
Unit still can't air transport at water surface

+Notes

-Issue History
Date Modified Username Field Change
2013-12-09 13:34 msafwan New Issue
2013-12-09 13:34 msafwan File Added: 20131209_203149_Small Supreme Islands V2_95.0.1-135-g3cbb04a develop.sdf
2013-12-09 13:34 msafwan Tag Attached: air transport
2013-12-09 13:35 msafwan Note Added: 0012358
2013-12-09 13:37 msafwan Note Edited: 0012358 View Revisions
2013-12-09 18:07 Rafal99 Note Added: 0012362
2013-12-09 18:20 Rafal99 Note Edited: 0012362 View Revisions
2013-12-09 19:21 msafwan Note Added: 0012364
2013-12-09 20:39 msafwan Note Edited: 0012364 View Revisions
2013-12-09 20:50 Rafal99 Note Added: 0012365
2013-12-09 20:52 Rafal99 Note Edited: 0012365 View Revisions
2013-12-09 21:15 msafwan Note Added: 0012366
2013-12-09 21:16 msafwan Note Edited: 0012366 View Revisions
2013-12-09 21:17 msafwan Note Edited: 0012366 View Revisions
2013-12-10 00:10 Kloot Changeset attached => spring develop ef8ea447
2013-12-10 00:10 Kloot Assigned To => Kloot
2013-12-10 00:10 Kloot Status new => resolved
2013-12-10 00:10 Kloot Resolution open => fixed
+Issue History