Page 1 of 1
Loadfromground request for air transports
Posted: 03 Jan 2011, 21:56
by bobthedinosaur
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.
Re: Loadfromground request for air transports
Posted: 04 Jan 2011, 00:06
by CarRepairer
+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.
Re: Loadfromground request for air transports
Posted: 04 Jan 2011, 00:17
by bobthedinosaur
I knew you wanted to see something like this for your dirigibles.
Re: Loadfromground request for air transports
Posted: 05 Jan 2011, 06:25
by bobthedinosaur
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
Posted: 05 Jan 2011, 16:33
by FLOZi
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
Posted: 05 Jan 2011, 16:38
by Pxtl
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.
Re: Loadfromground request for air transports
Posted: 05 Jan 2011, 16:47
by FLOZi
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)
Re: Loadfromground request for air transports
Posted: 05 Jan 2011, 19:40
by bobthedinosaur
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
Posted: 05 Jan 2011, 19:50
by Pxtl
Sorry, I think I forgot to add a "sarcasm" marker to my post.
I wasn't serious.
Re: Loadfromground request for air transports
Posted: 05 Jan 2011, 20:06
by bobthedinosaur
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
Re: Loadfromground request for air transports
Posted: 05 Jan 2011, 20:10
by SinbadEV
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.
Re: Loadfromground request for air transports
Posted: 05 Jan 2011, 20:11
by bobthedinosaur
from Operation Polaris was it?
Re: Loadfromground request for air transports
Posted: 05 Jan 2011, 20:23
by knorke
didnt merc squad have a dropship that worked like this?
Re: Loadfromground request for air transports
Posted: 05 Jan 2011, 23:08
by zwzsg
bobthedinosaur wrote:from Operation Polaris was it?
Yeah, for TA I made some transports that loaded and unloaded when landed. However:
<sarcasm>Don't you understand yet? Cob scripts are ugly hacks, and Lua is elegant beauty!
</sarcasm>
Re: Loadfromground request for air transports
Posted: 06 Jan 2011, 20:14
by bobthedinosaur
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.
Re: Loadfromground request for air transports
Posted: 21 Feb 2011, 01:27
by bobthedinosaur
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?
Re: Loadfromground request for air transports
Posted: 25 Feb 2011, 23:03
by Forboding Angel
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.
The second step is admitting it (yes we do have a 12 step program).