Jump to content
Sign in to follow this  
thedudesam

How do i make an explosion? is there any remote explosives?

Recommended Posts

Hi im making a small movie, the problem is the target is a civilian car, so i cant make the bad guys blow it up, is there anyway i can make it spontaneously explode or place a C4 down or something, thanks.

Share this post


Link to post
Share on other sites
Hi im making a small movie, the problem is the target is a civilian car, so i cant make the bad guys blow it up, is there anyway i can make it spontaneously explode or place a C4 down or something, thanks.

You can plant a satchel charge under it. Certain classes have this or you can figure out how to add one via script to your current person.

If you want to do it via script altogether you can spawn an artillery shell or bomb at the car and it will explode.

Share this post


Link to post
Share on other sites
You can plant a satchel charge under it. Certain classes have this or you can figure out how to add one via script to your current person.

If you want to do it via script altogether you can spawn an artillery shell or bomb at the car and it will explode.

Im not good at scripting =[ hmm how would i go about spawning an artilery shell onto the car.

Whats the scipt for a satchel? thanks.

Edited by thedudesam

Share this post


Link to post
Share on other sites

Hi thedudesam

There is a whole special section of the forum for asking questions like this.

http://forums.bistudio.com/forumdisplay.php?f=93

If you can get a moddie to move your post there it will get answered quicker and with more thoroughness.

That said if all you want to do is order an AI in you squad to do this:

Select them [F#]

Tell them to move to the target mouse click the target or where ever on the map or in 3D you want them

Select them [F#] again

Tell them to perform the action default key six [6]

Then whatever number it is that comes up in the menue to place the explosive

Select them [F#] again

THEN EITHER

Tell them to perform the action default key six [6]

Then whatever number it is that comes up in the menu to set the timer for the explosive (you may want to do this several times to set say 6 x 30 second intervals for a 5 minute timer

OR

Tell them to move to a safe distance mouse click where ever on the map or in 3D you want them.

Tell them to perform the action default key six [6]

Then whatever number it is that comes up in the menu to command line detonate it

By the way I think you can press [Ctrl] at the same time as you first select the unit [F#] and as long as you keep the [Ctrl] key pressed they remain selected.

You can also try this:

http://www.ofpec.com/ed_depot/index.php?action=details&id=424&game=ArmA

Kind Regards walker

Edited by walker

Share this post


Link to post
Share on other sites

Place your car called "bombcar'.

Set up a Radio trigger or other whatever trigger with this as it's activation:

bomb = "R_57mm_HE" createvehicle GetPos bombcar; bombcar setdamage 1;

Share this post


Link to post
Share on other sites

You can also try these:

Huge car bomb or IED

bomb = "Bo_GBU12_LGB" createvehicle GetPos bombcar; bombcar setdamage 1;

Large Car Bomb or IED

bomb = "Sh_105_HE" createvehicle GetPos bombcar;

Medium Car Bomb or IED

bomb = "M_Sidewinder_AA" createvehicle GetPos bombcar; bombcar setdamage 1;

Small Car Bomb or IED

bomb = "R_57mm_HE" createvehicle GetPos bombcar;

Here is a carbomb script that will blow up the vehicle and flip it in the air, call using [nameofvehicle] exec "flipied.sqf"

_hmv=_this select 0;
_bounce =0
_dam= getdammage _hmv;
_pos= getpos _hmv;
_bang= "Sh_105_HE" createvehicle _pos;
@getdammage _hmv > _Dam;
_deg=10;
? _hmv iskindof "tank": goto "big"
? _hmv iskindof "truck": _bounce =3.4;
? _hmv iskindof "truck": _dfact =3.4;
? _hmv iskindof "motorcycle": goto "bike";
_hmv setvelocity [velocity _hmv select 0, velocity _hmv select 1, (6.4-_bounce)];

_dfact=1
_vehicle=typeof(_hmv);

_side=Floor(random 10)
?_side < 4.5: goto "Left"
#loop
_hmv setvectorup [sin(_deg),0,cos(_deg)];
~.01
_deg = (_deg + 2.7);
? _deg < (180.5/_dfact) : goto "loop"
@not alive(_hmv)
_pos= getpos _hmv;
_bang2= "Sh_120_HE" createvehicle _pos;
exit

#left
_hmv setvectorup [-sin(_deg),0,cos(_deg)];
~.01
_deg = (_deg + 2.7);
? _deg < (180.5/_dfact) : goto "loop"
@not alive(_hmv)
_pos= getpos _hmv;
_bang2= "Sh_120_HE" createvehicle _pos;
exit
#bike
_dir = getdir _hmv
_dir2 = (getdir _hmv) - 30
_sped = speed _hmv
_ms = (_sped * 3.6);
#throw
_crew = crew _hmv
{_x action ["eject", _hmv]} foreach (_crew)
{_x setvelocity [(_ms/10) * cos(_dir2 + (random 60)),(_ms/10) * sin(_dir2 + (random 60)), 12]} foreach (_crew);
{_x setunitpos "down"} foreach (_crew);
~.2
_hmv setvectorup [-1,0,0];
~.05
_hmv setvelocity [(_ms/8) * cos(_dir + 90), (_ms/8) * sin(_dir + 90), 8];
#tumble

exit
#big
_hmv setvelocity [velocity _hmv select 0, velocity _hmv select 1, 2.4];
exit





Edited by cobra4v320

Share this post


Link to post
Share on other sites

try this little beauty :)

_boom = "ARTY_R_227mm_HE" createVehicle (getpos _veh);

Share this post


Link to post
Share on other sites

@Cobra

Oh this is really nice, i like making IED or Carbomb missions.. Thanks man..

@Junker

Yeah babyyy thats what i wanna see, nice smoke flying around..

Maybe we can combine them with the Bo_GBU12_LGB so we have a big explotion and lots of damage.. i gonna try now :P

EDIT: uhmmm that worked pretty good :eek::eek: A bigger explotion with smoke from ARTY R 227mm HE coming out on top..:) Thanks all..

Edited by redrumNL

Share this post


Link to post
Share on other sites

When using a civ car for a suicide car bomb I like to place a blufor group leader with a 0% chance of presence in the car. That way the civ driver and passengers behave in a relaxed fashion. I then set the explosion to happen at the location of a passenger in the car. It tends to utterly destroy the vehicle and send it flying.

Share this post


Link to post
Share on other sites

hi, i'm trying to script a civilian to explode as in a suicide bomb. is that possible?

where do i put those script lines , btw?

Share this post


Link to post
Share on other sites

place your man and name him bomber

create a trigger and set it to radio Alpha

place this in the on Act box bomb = "R_57mm_HE" createvehicle GetPos bomber;

To activate the radio when in the game it's 0,0,1

If you don't want to use a radio you can use distance to object or attach a trigger to the bomber.

To attach a trigger do the following

Create the unit and name him (bomber)

Create and name your trigger (trig1)

In the units init box place the following code trig1 attachto [bomber,[0,0,0]];

condition: bomber distance target <5

in the on Act box bomb = "R_57mm_HE" createvehicle GetPos bomber;

The bomb should go of when the bomber gets within 5meters of the target.

Edited by F2k Sel

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×