OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: KyleSarnik on 22 Sep 2003, 00:20:38

Title: Ejection Seats... (For all planes)
Post by: KyleSarnik on 22 Sep 2003, 00:20:38
I've got the basics down but dont have all the scirpting skills to pull it off... but what I would like to see is a nice universal ejection seat script/addon.

Here it goes, something like this:

Addons:
Have a seat and a canopy. There should be different models depending on the plane. So maybe one for the A10 and one for the Su25. and in the script use the syntax [planename, seattype,canopytype] exec "ejection.sqs" or whatever....

Scripts:
Corresponding with the addons, you can use the following to detect if a unit has ejected: engine status (on or off), height, speed, and whether or not the pilot is in the plane. (i know that there are commands to detect all of these). This way it will work using the normal Eject action on all vehicles. Now assuming the seat is classed as a plane and the canopy as a static object (like barrels and the way they bounce around) useing createvehicle put a seat and canopy in the right positions, place the pilot in the seat, "lock" the seat (so there is no Eject action on the seat), use setvelocity on seat and canopy and after a certain amount of seconds Eject the pilot from the seat, witch will automaticly give him a parachute...

Im sure there is someone out there capable of doing this, cause it would add a lot to the game... Thx for listening  ;D
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 22 Sep 2003, 22:11:12
Another great thing about this is that it would work on AI pilots....
Title: Re:Ejection Seats... (For all planes)
Post by: m21man on 23 Sep 2003, 05:43:34
Ah well, while you're waiting for this script to be made, check out Hudson's F/A-18C for a kickass ejection seat ;D ;D ;D.

http://ofp.gamezone.cz/index.php?showthis=4908
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 23 Sep 2003, 20:44:01
Yea I will take a look at that one, but im talking about a universal script/addon that can be used on any plane and for AI as well. I think it would be useful... just a thaought/suggestion, so any mods or addon makers/scripters out there want to give it a try?
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 23 Sep 2003, 21:44:45
Ok I started thinking what else there should be... So heres a list:

Yes it could be the best ejection script ever.....
Title: Re:Ejection Seats... (For all planes)
Post by: m21man on 23 Sep 2003, 22:29:36
Maybe if you could execute a script like this for a plane:
["type of canopy"] exec "maineject.sqs"

Since planes have all different types of canopies, this would allow you to choose what the canopy looked like when it blew off.

Also, the script should randomly cause the ejected unit to die/be critically wounded if he ejects at extremely fast speeds. Obviously, it's a lot safer to eject from an A-10 than from an F/A-18 :o.

As for Hudson's F/A-18, you've got to love the ejection seat on that puppy. The main problem is that the canopy has to open (At the normal speed >:( ) before you can eject. But the seat itself is amazing. It pops you up a bit, then a few seconds later a rocket kicks in, and you can cause the seat to tip forwards/backwards/left/right, allowing you to, say, pull up if you're going to hit a cliff ::).
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 24 Sep 2003, 20:32:33
Thats exactly waht I was trying to say in my first post m21man


Quote
[planename, seattype,canopytype] exec "ejection.sqs"

As for the F/A-18, yes I agree the d**n canopy is too slow, and the reason you can.. erm.. steer the seat (lol) its probably classes as a plane...


Quote
Now assuming the seat is classed as a plane and the canopy as a static object (like barrels and the way they bounce around)

Hmmm... yep, sounds good to me. If only I had better scripting skills.....
Title: Re:Ejection Seats... (For all planes)
Post by: bigdog632 on 25 Sep 2003, 03:08:02
hmmm are you injured everytime you eject?
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 25 Sep 2003, 04:58:28
Well its gotta hurt I mean goin that fast then the wind hits you and.. well its gotta hurt. Anyways it could be randomized so sometimes you might get hurt, sometimes you might die, and sometimes you just might get out with full health...
Title: Re:Ejection Seats... (For all planes)
Post by: m21man on 25 Sep 2003, 15:38:57
If your limbs aren't secured, they can flap around and will quite likely be smashed against the edge of the ejection seat :o :o :o.
Title: Re:Ejection Seats... (For all planes)
Post by: KJAM on 25 Sep 2003, 20:43:25
yeah and im sure the force of the wind impacting on your chest when ejecting out of a military plane (especially a high velocity fighter) can be enough to break several ribs AND if you dont land properly you can break your legs :-( lol

and as for good ejection scriptsd etc have you tried Falklands mod's Harrier, they have a seat there which is an actual object and hits the ground too ;D and its a really cool one
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 25 Sep 2003, 22:55:52
Yes I have the harrier but its still not that great...

I want to see one with a nice seat and a canopy, a random injury script (perhaps with blackout effects), and some cool effects like smoke or some sort of explosion type thingy. Also if you try to eject while on the ground or at really low speeds you might hit the canopy and get injured or even killed...
Title: Re:Ejection Seats... (For all planes)
Post by: KJAM on 25 Sep 2003, 23:09:36
and maybe even random failures with the canopy so it doesnt open and therefore kills you
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 26 Sep 2003, 00:53:20
hmm

splat!

lol.... anyways after studying the F/A-18C ejection script for a few hours I have begun to make one of my own (using the F/A-18C seat cause i dont got my own yet) and im at the moment still working on it, but im not even sure if it will work.
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 26 Sep 2003, 20:32:35
Ok the script works, well the ejection part but I still dont have a way to use it. I was just testing it using a trigger. I also need the seat an canopy addons, but thats not as important right now. I need to find a way to make it work for AI.

Ok I also have a random injury part witch will either barley hurt you, injure you so you cant walk, or kill you.
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 27 Sep 2003, 16:27:38
Hmm looks like things happened the other way around, lol ok it works for AI now but still not a way for players to use it. And im still waiting on the addons  ;D
Title: Re:Ejection Seats... (For all planes)
Post by: SH@dow 113 on 27 Sep 2003, 21:37:25
Good idea for the ejection seat but ejecting from an crashing plane and whit the ejection seat dusn't make sens, i mean, u eject to prevent dieng

Airforce pilots are trained on ejecting whit such a seat, so its unlikly they will die ::) the random damage script is a good idea, but in real life the pilots won't get that much damage, i think ???, but its a gr8 idea  ;D

Try finding some info on www.google.com over ejection seats.
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 27 Sep 2003, 22:36:55
It could happen..... If something goes wrong or if some debrie (is that spelled right cause i cant spell) hits him in the face... you know...
Title: Re:Ejection Seats... (For all planes)
Post by: KJAM on 27 Sep 2003, 23:08:35
^ debris lol

my uncle once knew a guy who was forced to eject and.........of all the things to do.....a bird hit him as he ejected lol, got him right in the chest and shattered a few ribs lol
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 28 Sep 2003, 00:31:34
I feel sorry for the bird... lol SPLAT..... Ok I am having trouble now with the addons. The person I hoped would make them can't. The same thing happens to both of us, we try to load up the BIS A10 model to take the canopy, but it wont load. Does anyone know how to load the BIS models? Or would anyone wanna help me with the addons? I also have a problem with addaction (check scripting/editing genral section).
Title: Re:Ejection Seats... (For all planes)
Post by: SH@dow 113 on 28 Sep 2003, 00:34:41
auch  :beat:

Quote
It could happen..... If something goes wrong or if some debrie (is that spelled right cause i cant spell) hits him in the face... you know...

Yeah offcourse it could happen but not after 3 times ejecting or so (cause off the random damage script)

but i think it's still a good idea, but i don't fly in OFP all my planes are always on the ground  :-\
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 28 Sep 2003, 02:33:24
Yea it could happen, bird hits him and takes his head off, seat explodes, guy passes out and doesnt wake up, it could happen. Does anyone know how to load BIS models in o2? Everytime I try it says it can't load it.
Title: Re:Ejection Seats... (For all planes)
Post by: SH@dow 113 on 28 Sep 2003, 10:38:32
no srry can't help u whit that :(
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 30 Sep 2003, 04:46:07
The player activation part kind of works but still has some bugs, for example it can only be used on one plane or else when one guy uses it all of the other planes will eject. So thats a bit of a delay. Plus im still waiting on the addons.
Title: Re:Ejection Seats... (For all planes)
Post by: DeLiltMon on 01 Oct 2003, 16:33:12
You can't open the models that come with the game, you need to get hold of the ones that came with the demo and I don't think the A10 was one of them sorry.  :(
Title: Re:Ejection Seats... (For all planes)
Post by: SEAL84 on 01 Oct 2003, 18:36:51
I read an article in "Combat Aircraft" about a Strike Eagle pilot who punched out at about 760 mph....he survived but he was all f*cked up and his WSO didn't make it.

Though a few years later he was flying again  :wow:

I figured that's relevant because of the speed example...so let's say if you punched out at that speed, you get like .9 dammage - if you could work in the math that makes the chances of ejection go up as the speed goes up, that would be very good.  I don't think making it totally random would be as accurate.

So low speeds = low chance of injury, high speeds = high chance.
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 02 Oct 2003, 20:44:41
DeLiltMon:

I was talking about the ones from the demo, but I still cant open those, I get a cannot load error.

SEAL84:

Thats way to complicated for me, but I guess I could experiment with velocity commands :) But still....

Ok so if anyone would like to help me or anything then just ask, and ill keep the thread open about suggestions and/or ideas about it as well as my progress.
Title: Re:Ejection Seats... (For all planes)
Post by: Ball Zack on 05 Oct 2003, 03:41:56
It would also be cool to have an ejection seat for the Russian V-80.  As far as I know this is the only real helicopter to have a working ejection seat.
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 05 Oct 2003, 06:25:49
Yea didn't the russains have a helicopter ejection system that ejected the whole rotor first? Anyway you would need a whole new V-80 to do that..... Well I'm still having problems with my addaction and if anyone knows anything about scripting check out my thread about addactions and parameters in the advanced section....
Title: Re:Ejection Seats... (For all planes)
Post by: KJAM on 05 Oct 2003, 14:12:45
hmm i saw a helicpoter ejection on a james bond  film (i know its a film,. but it looked like it could work) what happened was (im guessing at this) small explosive bolts went off on the rotorblades sending them flying away from the helo and then the whole cockpit flying up on rockets as sort of a pod type thing
Title: Re:Ejection Seats... (For all planes)
Post by: KyleSarnik on 05 Oct 2003, 19:16:24
Quote
on a james bond  film

I say no more  ;D
Title: Re:Ejection Seats... (For all planes)
Post by: SH@dow 113 on 12 Oct 2003, 09:42:50
yeah saw that movie to: Golden Eye ---> killer movie ;D
Title: Re:Ejection Seats... (For all planes)
Post by: Vyper on 13 Oct 2003, 23:11:21
PAH-1 Tiger helicopter does indeed have an enjecting system i believe.....that was the one in bond

Vyper