More control over aircraft deaths

More control over aircraft deaths

Requests for features in the spring code.

Moderator: Moderators

User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

More control over aircraft deaths

Post by Guessmyname »

Is there any way to script-fire the 'fall out the sky trailing smoke' behaviour in planes? Is it also possible to change the standard smoke trail to something else, and finally, is it possible to have it run a killed() script at the same time? I'm trying to make a plane crash on fire, with bits of it falling off as it crashes
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Perhaps a little lua trickery will solve the problem.
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

Perhaps a little lua documentation will solve the problem.

¬_¬
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: More control over aircraft deaths

Post by Peet »

Guessmyname wrote:Is there any way to script-fire the 'fall out the sky trailing smoke' behaviour in planes? Is it also possible to change the standard smoke trail to something else, and finally, is it possible to have it run a killed() script at the same time? I'm trying to make a plane crash on fire, with bits of it falling off as it crashes
Currently, no. However....DO WANT
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Wait, so if I have a plane it will do the flaming and falling thing regardless? I don't have to do work on it..?
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

Nope, it's hardcoded and happens occasionally.
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Both good and bad, then...

I want more control, though...
User avatar
MR.D
Posts: 1527
Joined: 06 Aug 2005, 13:15

Post by MR.D »

What would be really nice is to have planes and other units with Death animations, to set those units to a NON-TARGET if its killed.

I can't remember how many times that a lead plane in a formation has been killed, the death animation starts, My AA still shoots at it while it stays alive, and seems to get stuck in a loop of the animation which requires massive overkill damage to actually vaporise it and finally making it a NON-target.

All the AA guns would just stay locked onto the falling/dead aircraft and ignore all the other valid targets, and my base and the AA would usually get raped in the process, when it should not have.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

Enemy units ignore falling aircraft in .75
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

Peet wrote:Enemy units ignore falling aircraft in .75
Image
ORLY!

It's about time!
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

lawl... Thats a nice pic...
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Shame the cigar looks like it was photoshopped in
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Yeah, give it a more oily and black outlined form :P
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

Actually, adding script control over plane crashing would be quite easy. We'll need a new COB get/set constant that will expose crashing property (bool crashing) from the Unit class. That should do nicely. I can make a patch for this, but I'm not sure it will really be needed by someone.
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

Actually, adding script control over plane crashing would be quite easy. We'll need a new COB get/set constant that will expose crashing property (bool crashing) from the Unit class. That should do nicely. I can make a patch for this, but I'm not sure it will really be needed by anyone.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

I'd use it (And I can imagine smoth not wanting the 'fall out of sky' behaviour for his flying commanders). Can we also change the effects emitted by the plane as it crashes? (Replacing the default smoke with a custom fire effect for example)

EDIT: And if we could controll how fast it falls and spins, that would be quite awesome

EDIT: On a slightly random note, I've just discovered a 'break' command in scriptor (or at least, I've discovered that if you type 'break' into it it colours it blue like it does all the other commands). Anyone what that command does?
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Not an idea.

This is quite useful, I want some control, too...
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Hmm. Sounds useful
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Son of a bitch, I have been looking for something like that...
Post Reply

Return to “Feature Requests”