Home   Help Search Login Register  

Author Topic: IED...  (Read 954 times)

0 Members and 1 Guest are viewing this topic.

Offline Conflict109

  • Members
  • *
  • no worries
IED...
« on: 11 Jul 2004, 03:05:34 »
ok im making a mission which has a column of vehicles driving down a path, but instead of using mines or guessing with a satchel charge, is there anyway to set off an explosion, somewhat like an IED-not powerful enough to destroy a tank, so much as cripple it...i've messed with camcreating shells, but i dont want a shell to hit the vehicle so much as to land next to it or in the general vicinity-

is there any way to do this without
A.  Blowing up the unit completely.
B.  Having the explosive land directly on the vehicle.
C.  the explosive being tuned into one vehicle(...this meaning it goes off randomly  once the trigger is tripped...something like a timebomb being set for 10 secs)

is this possible at all?

Thanks
C109
Hey!! Bring back my pants you friggin elves!

shadow99

  • Guest
Re:IED...
« Reply #1 on: 11 Jul 2004, 08:09:03 »
I think so. I'm a noob myself, but recently I stumbled upon the art of creating explosions. What you could do, is... oh screw it, I'll just make a mission.

www.angelfire.com/clone/shadow6/mission.sqm

Use this. Sorry about the bombs being too powerful. And sorry about the ammo crates representing the bombs, but maybe you can find better, more discrete objects to place. Oh, and I would have used less powerful bombs, but I couldn't get their functions to work given only a couple of minutes. Use "bomb" or something else instead "laserguidedbomb". Quite funny watching it, though.

Oh, and put this in a folder called 'Test.eden', under Operation FlashPoint>Users><Your user name>>Missions.
« Last Edit: 11 Jul 2004, 08:14:48 by shadow99 »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:IED...
« Reply #2 on: 11 Jul 2004, 12:08:10 »
You can camcreate a shell anywhere, it doesn't have to be at the vehicle position.   If you wanted it off to one side you'd make the position something like this

shell1 = "shell125" camCreate [(getpos tank1 select 0) + 5, (getpos tank2 select 1) + 5, 0]

If you wanted the explosion to be in a particular place relative to the tank you'd need to use getDir and some trigonometry.     Look in the weapons and ammo listings in the Ed Depot for alll the explosion types you can have, experiment till you get what you want.

If you want a delay you can easily put one in a script
~3
or trigger using the countdown field.    If you want random positioning of the explosion you could do something like this in a script

_rand1 = random 10
_rand2 = random 10

shell1 = "shell125" camCreate [(getpos tank1 select 0) + _rand1, (getpos tank2 select 1) + _rand2, 0]
Plenty of reviewed ArmA missions for you to play