Home   Help Search Login Register  

Author Topic: Exploding ammo truck  (Read 512 times)

0 Members and 1 Guest are viewing this topic.

Offline Conflict109

  • Members
  • *
  • no worries
Exploding ammo truck
« on: 27 Jul 2003, 20:59:14 »
just wondering if it's at all possible to have an ammo truck destroyed and start firing off rounds of ammunition and other explosives thus happering an attempt of rescue or making a certain road or passage impassable. so could you put a set time limit to have random bullets whizzing around and an explosion here and there?  just thought it might be fun to see random men in your platoon getting too close to the the fire and getting taken out by some secondary explosions and other burning ammo-
C109
Hey!! Bring back my pants you friggin elves!

m21man

  • Guest
Re:Exploding ammo truck
« Reply #1 on: 27 Jul 2003, 22:26:18 »
The explosions are easy to do in a script, but why the bullets? On a normal bullet, you have to hit the primer with fair degree of force for a clean firing. I would think that heating a bullet would weaken its casing to the point where, when the gunpowder went off, there'd just be a bit of a pop and the casing would be blown to bits. Well, OK, the bullet would be propelled a bit, but it wouldn't be going too fast.

For the explosions, here's a piece of a script:

;Script starts here
#Start
_boom = getpos ammotruck
_bx = _boom select 0
_by = _boom select 1
_bz = _boom select 2

#Update
_power = "heat120"
_tempobj = _power camcreate [_bx,_by,_bz]
~.01
_tempobj = objnull

#RandomWait
_waitperiod = random 25
~_waitperiod
goto "Update"

#Exit

This creates 120mm HEAT shells repeatedly on the target at random intervals. Modify this if you want to. It requires a target called "ammotruck". The rounds have a fairly large radius, so it could be an unpleasant surprise.
« Last Edit: 27 Jul 2003, 22:29:15 by m21man »

max_killer_payne

  • Guest
Re:Exploding ammo truck
« Reply #2 on: 28 Jul 2003, 20:07:44 »
Rubble Maker (I fink thats it!!) made a superb script that did exactly that using flares and creating HEAT rounds. Ask him when hes next online.

Kilo11

  • Guest
Re:Exploding ammo truck
« Reply #3 on: 29 Jul 2003, 01:06:02 »
Witht he script given earlier, how could I end it after a minute, b/c it's like the fricken Energizer bunny.


Keeps goin
and going
and going
and going
and going
and going

-=Kilo=-

Rubble_Maker

  • Guest
Re:Exploding ammo truck
« Reply #4 on: 29 Jul 2003, 01:53:33 »
I still have this ammo explosion stuff here, nicely zipped up in a folder.
Email me and I send it to ya

Rubble_Maker@gmx.net

m21man

  • Guest
Re:Exploding ammo truck
« Reply #5 on: 29 Jul 2003, 04:13:48 »
To stop the relentless advance of the Energizer Bunny, you must give me all your valuables and money and live under a poncho for the rest off your life Haa-haa-haaaa!.

No. Just use this modified script and the following mini-script:
;Script starts here
#Start
firetrigger = 1
_boom = getpos ammotruck
_bx = _boom select 0
_by = _boom select 1
_bz = _boom select 2
id1 = player addaction ["Stop Explosion","boomstop.sqs"]

#Update
_power = "heat120"
_tempobj = _power camcreate [_bx,_by,_bz]
~.01
_tempobj = objnull

#RandomWait
_waitperiod = random 25
~_waitperiod
?(firetrigger == 0) : goto "Exit"
goto "Update"

#Exit
exit

Mini-Script (It's called "boomstop.sqs"):
#Basic
firetrigger = 0
player removeaction "id1"
hint "Fire Stopped"

exit
« Last Edit: 29 Jul 2003, 04:14:33 by m21man »

m21man

  • Guest
Re:Exploding ammo truck
« Reply #6 on: 29 Jul 2003, 04:15:37 »
Oh, and the guy who can stop the fire has to be called "player".