View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004203 | Spring engine | General | public | 2013-12-09 13:34 | 2013-12-10 00:10 | ||||
Reporter | msafwan | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 95.0.1+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004203: Air transport do not want to load unit at water surface | ||||||||
Description | ZK'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 Reproduce | Testing procedure: I have provided a replay. | ||||||||
Tags | air transport | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
msafwan (reporter) 2013-12-09 13:35 Last edited: 2013-12-09 13:37 |
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. |
Rafal99 (reporter) 2013-12-09 18:07 Last edited: 2013-12-09 18:20 |
>> 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. |
msafwan (reporter) 2013-12-09 19:21 Last edited: 2013-12-09 20:39 |
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 |
Rafal99 (reporter) 2013-12-09 20:50 Last edited: 2013-12-09 20:52 |
Try lowercase? |
msafwan (reporter) 2013-12-09 21:15 Last edited: 2013-12-09 21:17 |
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 |
![]() |
|||
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 |