OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Teifiterror on 13 Jun 2003, 20:11:39

Title: Explosions??
Post by: Teifiterror on 13 Jun 2003, 20:11:39
How do i create an explosion in mid air next to a helicopter flying in the air. I want to simulate an explosion from a missile tha narrowly missed the aircraft.

Teifiterror
Title: Re:Explosions??
Post by: Igor Drukov on 13 Jun 2003, 20:18:40
Hey Teifit, hope this  (http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=10065) will suit you (check reply #6)...
Title: Re:Explosions??
Post by: Teifiterror on 14 Jun 2003, 23:34:58
I dont think thats what im looking for. The helicopter will be in mid-air and flying. I want a small explosion in the air close to the chopper that will simulate flak.

Teifiterro
Title: Re:Explosions??
Post by: Messiah on 14 Jun 2003, 23:36:21
ermmm - thats exactly what you are looking for - trust me... ermmm... cos im using the script and it does what u just said u want it to do  :D
Title: Re:Explosions??
Post by: HiReZ on 21 Jun 2003, 20:07:32
I had almost  the same problem today.
I wanted to make shells explode before hitting ground for AAartillery.

see my topic
http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=10650
read the script there for details or try:

Bum="shell" camCreate [_x,_y,_z]

where shell is Shell125, grenade or sth

then in the same time in the same place create a rock (the same u see flying around when sth blows nearby)

it would be

Bum = "fxexploground1" CamCreate [_x,_y,_z]

When a missile hits it u got explosion  ;D
et voila

make some test to set proper distance from the craft to only damage it, but not to destroy