Loadfromground request for air transports
Moderator: Moderators
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Loadfromground request for air transports
Basically I would like some way for air transports to act like land transports while loading and unloading, but move like aircraft. I know I am not the only game dev who has had issues with how the current air transports only allow for in air loading.
Last edited by bobthedinosaur on 05 Mar 2011, 21:28, edited 1 time in total.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Loadfromground request for air transports
+1
The unit can be standing right next to the air transport but the air transport insists on flying all the way up to its cruisealt height and then down again to pick it up.
The unit can be standing right next to the air transport but the air transport insists on flying all the way up to its cruisealt height and then down again to pick it up.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Loadfromground request for air transports
I knew you wanted to see something like this for your dirigibles.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Loadfromground request for air transports
Also related: Why does the engine handle air transport unload, you can not use a script to control it at all?
Awesome.. The Atlas will live forever.....

Re: Loadfromground request for air transports
bobthedinosaur wrote:Also related: Why does the engine handle air transport unload, you can not use a script to control it at all?Awesome.. The Atlas will live forever.....

Re: Loadfromground request for air transports
Obviously the correct approach is to Lua it. Movecontrol and unit script everything.
Alternately, you could drop the load order, read the transport's height to try and guess if it's picking up a unit, give the air transport a stop/land order instead of the pickup, then morph it into a land transport and reassign the pickup operation, being sure to properly handle the loaded units during the morph. Then do the pickup with those notoriously finicky land-transports, and convert back, and proceed to the next pickup!
See? Easy as pie. Lua solves everything.
Alternately, you could drop the load order, read the transport's height to try and guess if it's picking up a unit, give the air transport a stop/land order instead of the pickup, then morph it into a land transport and reassign the pickup operation, being sure to properly handle the loaded units during the morph. Then do the pickup with those notoriously finicky land-transports, and convert back, and proceed to the next pickup!
See? Easy as pie. Lua solves everything.
Re: Loadfromground request for air transports
The first step is to realise Spring (like TA) uses different script callins for airtrans than ground trans...
http://springrts.com/wiki/Animation-Lua ... Transports (applies to COB too)
http://springrts.com/wiki/Animation-Lua ... Transports (applies to COB too)
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Loadfromground request for air transports
Look ever been using movectrl and the engine overrides the movectrl for air transports. You can't just magically use lua when the engine doesnt allow it.
Re: Loadfromground request for air transports
Sorry, I think I forgot to add a "sarcasm" marker to my post.
I wasn't serious.
I wasn't serious.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Loadfromground request for air transports
Okay. I kind of got it to work. With this I can force the unit to do an initial pick up form the ground, and a drop off from the ground (since the air unit is set to unload 2 in unitdef), but about half of the 2nd pickups, (not the initial one where the unit is already locked up and landed) ignore the movectrl and fly up to do a pick up... It is rather annoying.
cross post!
http://springrts.com/phpbb/viewtopic.ph ... 00#p466768
cross post!
http://springrts.com/phpbb/viewtopic.ph ... 00#p466768
Last edited by bobthedinosaur on 05 Jan 2011, 20:11, edited 1 time in total.
Re: Loadfromground request for air transports
this isn't helpful to the discussion but I think a flying transport that lands to load or unload would be awesome... there was a TA unit that loaded while landed and dropped units from air with little parachutes... which was also awesome.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Loadfromground request for air transports
from Operation Polaris was it?
Re: Loadfromground request for air transports
didnt merc squad have a dropship that worked like this?
Re: Loadfromground request for air transports
Yeah, for TA I made some transports that loaded and unloaded when landed. However:bobthedinosaur wrote:from Operation Polaris was it?
<sarcasm>Don't you understand yet? Cob scripts are ugly hacks, and Lua is elegant beauty!</sarcasm>
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Loadfromground request for air transports
Does not work!
Please make the aircraft more controllable so that game devs can make ground load transports among other air behavior currently not possible.
Please make the aircraft more controllable so that game devs can make ground load transports among other air behavior currently not possible.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Loadfromground request for air transports
Just wondering if any one is willing to look into this. I don't think I saw any dev's reply to this request, which either means it's not a priority or it might be too difficult to request?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Loadfromground request for air transports
The second step is admitting it (yes we do have a 12 step program).bobthedinosaur wrote:Look ever been using movectrl and the engine overrides the movectrl for air transports. You can't just magically use lua when the engine doesnt allow it.