Home   Help Search Login Register  

Author Topic: realistic plane crashes  (Read 642 times)

0 Members and 2 Guests are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
realistic plane crashes
« on: 11 Nov 2004, 01:53:28 »
Hello,
Im pretty sure its possible to have an aircraft crash into the ground and insted of stoping and just exploding. have it slide on the ground sparking and making a long slide path in the groung behind it. and after it comes to a stop theres a random chance which people will die.

Im pretty sure i know how it can be done but im not any good with scripts. first
 
Aircraft sliding: detect what angle the plane hits the ground at and if it is horizantal enough that the plane will not just explode, then make a loop that continuosly sets the planes damage to 0 as its sliding. if it dosent slide by itself then use set velocity  in the direction the planes facing on another loop.

Making a path in the ground where the plane slid:
Make a loop that creates a "crater" addon every 10 or so feet behind the plane as it slides, they should overlap creating a nice looking path where the plane slid, u could also take a debre addon and create it every so often to simulate pieces of the plane falling off.

Sparks and flame comming off: Im sure this would be easy to do just make some sparks and flames or somthing behind the plane.

Random people dying: another easy one, just look at the tail rotor faliure scripts. they have random dying script in them.

I think that should do it. You could also add some side chat, wings braking off or somthing like that. but thats just optional

thankyou

Offline Blanco

  • Former Staff
  • ****
Re:realistic plane crashes
« Reply #1 on: 11 Nov 2004, 03:59:15 »
Quote
detect what angle the plane hits the ground at and if it is horizantal enough...


I don't think you can detect that...

Search or search or search before you ask.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:realistic plane crashes
« Reply #2 on: 11 Nov 2004, 03:59:47 »
the way you are describing making the path, will not be very good, the craters overlap, and so you get the lighter colored edges on top of the previously made crater, not sure how to do the path.
But I'm am working on a script that will work basically for what you want

Blanco, actually there is a function that will do that, but it is pretty much unneeded for this, and i wouldn't use it
« Last Edit: 11 Nov 2004, 04:00:57 by Triggerhappy »

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:realistic plane crashes
« Reply #3 on: 11 Nov 2004, 04:16:35 »
Tell me a little more about the script,
also how are you doing on the Ultimate halo script
http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=20294
I got the right c-130 read the bottom post

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:realistic plane crashes
« Reply #4 on: 11 Nov 2004, 04:42:59 »
working on that too, hasn't worked yet, though.
heh, I'm working on quite a few things at the moment, so it might take a while

Offline Nemesis6

  • Members
  • *
Re:realistic plane crashes
« Reply #5 on: 11 Nov 2004, 07:37:01 »
Well, the next version of FlashFX will have that, just for all vehicles. If you really want a script for that kind of thing, decompile the GMR mod's main PBO. There's a "slowdown.sqs" among all the scripts.
I am actually flying into a star... this is incredible!

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:realistic plane crashes
« Reply #6 on: 23 Nov 2004, 04:11:05 »
it doesn't work yet but i'll be gone for a week, its attached. try it out/edit it if you want.

EDIT: sorry forgot to attach it
« Last Edit: 23 Nov 2004, 13:20:41 by Triggerhappy »

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:realistic plane crashes
« Reply #7 on: 23 Nov 2004, 06:33:57 »
Where is it?
its not atached