OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: seanver on 22 Feb 2003, 21:03:35
-
1. How can I make an AA solider attack a helicopter? I mean, since it seems they don't care if the helicopter is "captive" or not, I have to make the resistance allied of west in order to prevent them from shooting my helicopter too early. But when I use sol dofire chop, the soldier won't shoot. So how can I make him shoot on my helicopter?
2. This is much more complicated. I want to make a scene where the helicopter (a UH-60) is hit by a missile, losses control and crashes. Nevertheless, I've noticed that:
a) When it is hit by a missile, its crew will bail out.
b) When it crashes, it will explode like if a 200 mm shell had hit it.
I want to prevent the crew from ejecting and also I don't want the helicopter to explode. Just crash, but not explode. (I want to make it like if the pilot could control it, making the fall softer, and thus surviving)
Mainly I want the answer for the frist one regarding to the ejection, because I think the second must be the same as vehicles: If you remove the fuel and the ammo from the helicopter, it won't explode.
Thanks in advance
-
4th time ;D ;D ;D ;D
try "sol dotarget chop" then "sol dofire chop" to get the aa to fire.. and remove his other weapons so he only has the aa so he uses it ;)
as for the others i wouldnt know.. never done this but maybe i should
-
I suppose you could deleteVehicle the crew as the missile hits, then createVehicle new crew (alive or dead, as you wish) when it crashes.
-
Why don't you use the rotorfailure script you can get at the Editors Depot.
I'm not really experienced in the mission editor, but I think if you let the soldier fire at the helicopter the moment the script is activated it will look like it's shot down like you want it. Would that work? ???
(Sorry for bad answer but I'm a absolute n00b in editing :-[ )
-
Go here....
http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=7859 (http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=7859)
There is a topic on the same discussion you are asking about for this board
IW