Home   Help Search Login Register  

Author Topic: Realistic destroyed vehicles  (Read 1520 times)

0 Members and 1 Guest are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Realistic destroyed vehicles
« on: 18 Jun 2005, 21:30:21 »
I know there are some scripts and stuff which simulate secondary explosions and stuff on desroyed vehicles but i need a script that will take this to the next level!  :)

what i need is a script that finds what kind of ammo a vehicle has for its weapon(like for the jeep w/ MG it would be an MG bullet)  and setposes a bunch of them at random times arround the jeep so that it flys out and can hit people hundreds of feet away.

ex:
say you had an ammo truck and it had, tank shells in it, grenades, and Machine gun bullets. then in real life those things would cook off in the ensueing fire and start firing off at random directions which is extramly dangerous say you had a truck with 50 heat shells in it. then they would have all fired off at a user defined time period. so if the user set the time period to 0, then 50 heat shells would shoot off imiadiatly in all different directons, exploding whereever they hit. if you set it to 100, then over the course of 100 seconds, all the rounds would have cooked off.

but if you had 100 bullets in it and you set the time period to 100, it wouldnt nesecarily mead that one would go every second, maby 2 would go off after 3 seconds, then 1 more a tenth of a second after that, and then there could be a 5 second lul(maby as the fire started burning through a new ammo box) followed by 1 round cooking off, and then maby 5 go off all within a hundreth of a second of eachother. but the thing is, its all random.  it dosent need and fire effects because i have these and can add them in myself.

just maby make the script so like,

it first detects what ammo the vehicle is carring, then waits till the vehicle is destroyed, and then waits 10 or 20 seconds after the vehicle is destroyed (because the fire needs to build) the ammo will start cooking.

thanks for the help in advance. :)

« Last Edit: 18 Jun 2005, 21:30:56 by penguinman »

Bluelikeu

  • Guest
Re:Realistic destroyed vehicles
« Reply #1 on: 18 Jun 2005, 22:19:11 »
Accually, this is quite easy to do. However, I believe that the only things that would accually shoot out of the vehicle would be bullets, all others would just explode into shrapnel. Now there's an idea.

I'll make the script for you. Shrapnel might come later though.

Thanks,
Bluelikeu

Bluelikeu

  • Guest
Re:Realistic destroyed vehicles
« Reply #2 on: 18 Jun 2005, 22:56:35 »
Ok, i've got a beta of your idea here,
Just tell me want you want done better, the sound isn't so nice, but a good custom sound would sound great
it only does bullets for now, but rockets are coming, heh.
if you want the bullets to come directly out of the vehicle, then i can modify the script, but you would need to enter the radius of space that the truck occupies.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:Realistic destroyed vehicles
« Reply #3 on: 19 Jun 2005, 06:59:13 »
ok, its a good start,

first off, the bullets travel a little to slow, thats why it makes the wierd noises,right. cant you speed up the bullets, it'd fix 3 problems,(the bullets going to slow, the wierd noises, the wierd light show) and second, you said id have to tell you which vehicle so you can setpos the bullets right to make it look like thier coming out.

y dont you just have all the bullets start like 2 m away from the side, if they were going faster like i mentioned earlier nobody would be able to tell. right?

once again, a nice start! :)

thanks

Bluelikeu

  • Guest
Re:Realistic destroyed vehicles
« Reply #4 on: 19 Jun 2005, 18:28:57 »
dammit, this always happens to me, I sign a while ago, then find a post to be updated and then i start typing and then when i click post, it says i must log in, and i loose everything i typed.

ok, this is a summary of what i said,
I'll get started on in right away.

I wanted you to specify the vehicle because the vehicle could be quite large and 2m might not be far enough away.

Also, this script does not create the bullets from exact position around the vehicle but within a random radius around the vehicle. I can change this to make it spray from directly around the vehicle, if you want.

Thanks,
Bluelikeu

Andrew B

  • Guest
Re:Realistic destroyed vehicles
« Reply #5 on: 01 Aug 2005, 19:40:30 »
I don't know if you guys are still working on this, but I just thought I'd pop in and add that bullets and cannon shells don't "shoot" when they cook off. The bullet never even leaves the case. Instead, the primer, and occasionally fragments of the casing, are sent flying.

At least with bullets, these fragments are not capable of wounding past about 15m. The fragments slow down very quickly because they are usually very light.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re: Realistic destroyed vehicles
« Reply #6 on: 10 Jul 2006, 19:43:30 »
ok, its a regular US ammo truck,

@andrew
ammo trucks carry hand grenades and mines thats explosions would send the bullets flying fast right.