Transports unloading

Transports unloading

Requests for features in the spring code.

Moderator: Moderators

User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Transports unloading

Post by 1v0ry_k1ng »

Would it be possible to make transports able to drop all the units they are carrying at once? if an air transport is carrying multiple units it will land, drop, take off, land drop, take off...
User avatar
Strategia
Posts: 575
Joined: 06 Apr 2006, 18:32

Re: Transports unloading

Post by Strategia »

1v0ry_k1ng wrote:Would it be possible to make transports able to drop all the units they are carrying at once? if an air transport is carrying multiple units it will land, drop, take off, land drop, take off...
+1 Dropships/Paratroopers ftw!
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

Yeah, we've all been itching for this for a while. It really makes combat drops basically impossible, and relegates transports to doing safe behind-combat-lines drops; which is a shame, because they work so well in SupCom.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Didn't zwzsg find a way to do that?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

Found a way about that in TA, and under the Spring engine it would be even simpler, easier and safer! Just maybe sometimes units would be dropped over impassable terrain, and so remains stuck there.

Image
^ no reason similar script couldn't be made for Spring ^
manored
Posts: 3179
Joined: 15 Nov 2006, 00:37

Post by manored »

Meanwhile we can make ships that unload very fast and doesnt need landing to do so, but some people could want the ship to land and so this doesnt work for everone :( . (see if we had the transporting weapons thing I suggested we could do that :-) )
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

What is the script you refer to, zwzyg? If you can get it up here, maybe we can play with it.
User avatar
EXit_W0und
Posts: 164
Joined: 22 Dec 2005, 01:33

Post by EXit_W0und »

Some work in progress:
Image

It's code rather than script and it has some bugs to iron out, like that peewee thats about to go flying in the top left...

The transported units could also activate some cob script whilst falling which is the next step after the bugs are ironed out.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

Well, yesterday evening, I was porting my lastest MUAT to Spring so I could give it to you, they were more bugs and stuff to adapt than I thought, but eventually I made it work all good and well, landing would autoinstaload all around, and the attack button would unload all at once, and as I was busy measuring the height of all XTA models so my dropship could sort units, my computer suddenly shut down. Since then I've been unable to power it on. I'm afraid something got fried...
manored
Posts: 3179
Joined: 15 Nov 2006, 00:37

Post by manored »

EXit_W0und wrote:Some work in progress:
Image

It's code rather than script and it has some bugs to iron out, like that peewee thats about to go flying in the top left...

The transported units could also activate some cob script whilst falling which is the next step after the bugs are ironed out.
With cob script you mean something to keep the units from taking damage in the impact?
User avatar
EXit_W0und
Posts: 164
Joined: 22 Dec 2005, 01:33

Post by EXit_W0und »

No, just something to activate a falling animation so you can activate a parachute or an anti-gravity device.

The fall damage is switched off via the code.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

EXit_W0und wrote:No, just something to activate a falling animation so you can activate a parachute or an anti-gravity device.

The fall damage is switched off via the code.
This looks / sounds great :-)

One option for detecting 'falling' would possibly to use setSFXOccupy, might be a nice way to handle it for the scriptor, obviously i have no idea if its at all pleasant to code it that way. :wink:
manored
Posts: 3179
Joined: 15 Nov 2006, 00:37

Post by manored »

EXit_W0und wrote:No, just something to activate a falling animation so you can activate a parachute or an anti-gravity device.

The fall damage is switched off via the code.
It think that a antigravith device wouldnt be a good idea, since if the units can float from sky to ground using it, people would ask why they cant go vice-versa... :-)
j5mello
Posts: 1189
Joined: 26 Aug 2005, 05:40

Post by j5mello »

and the answer is that the system is powerful enough to slow a falling unit but not strong enough to propel it into the air. There problem solved.
User avatar
Nemo
Spring 1944 Developer
Posts: 1376
Joined: 30 Jan 2005, 19:44

Post by Nemo »

FLOZi wrote:
EXit_W0und wrote:No, just something to activate a falling animation so you can activate a parachute or an anti-gravity device.

The fall damage is switched off via the code.
This looks / sounds great :-)
Woooohooo paratroopers! PARATROOPERS!!

Can't wait to see how it turns out, EXit_W0und, looks awesome so far.
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

which mainstream mod can we bolt that into? hopefully all of them...
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Epic Legions will almost certainly be using it...

can we control how fast a unit falls?
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

EXit_W0und wrote:No, just something to activate a falling animation so you can activate a parachute or an anti-gravity device.

The fall damage is switched off via the code.
You can do that by script if. Just check if the distance from ground to base (assuming piece base's origin is at 0 0 0, also assuming base exists) is >0. Also make sure the falling animation can be only activated once due to repelling attacks which may make the unit fly again.

I'd use a loop function which is called once in Create() and then disposes of itself once it triggers (by assigning a signal mask to it and then sending that singal to break out).

You can't get rid of the falling damage though, that has to be coded.
manored
Posts: 3179
Joined: 15 Nov 2006, 00:37

Post by manored »

j5mello wrote:and the answer is that the system is powerful enough to slow a falling unit but not strong enough to propel it into the air. There problem solved.
Actual If we think about we notice that it couldnt be in a way other than you said, because lack of gravith doesnt make you blast off to sky, but if you are falling and then the lack of gravith aparears suddently, or fall speed isnt increased... I said something stupid... :-)

With "you cant get rid of the fall damage" you meant that spring doesnt support a unit falling winhout getting at least 1 damage?
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

he meant that you can't remove fall damage without directly coding into the engine
Post Reply

Return to “Feature Requests”