OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: nmanjar on 20 Dec 2004, 14:00:39
-
I like all the car bomb scripts out there and I have my favorites. One commonality though is that they all usually flip the object up in the air and throw it about 20-30 ft. Is there any way to prevent the car from being tossed up in the air like that.
Sure itd move [sometimes] if it was a car bomb, but not quite that dramatic most of time.
-
there is no explosion but... you can have a tigger:
Condition: Player In Vehicle
Activation: Vehicle setdammage 1
i've seen somewere that you can put an explosion on a certain point (I recomend a HEAT round). But i'm not sure how you do it.
-
i was thinking, just raise the explosion nearer the top of object.
-
true... then it will make it go down, but it would have nowere to go so it would just stay there.
you can also do what i told you and make a sound come from the vehicle.
-
You could try Shell73 or Heat73, they are not as powerful as the other shells:
_bomb = "Shell73" camcreate getpos car
or you could try placing several grenades under the car:
_bomb1 = "grenade" camcreate getpos car
_bomb2 = "grenade" camcreate getpos car
_bomb3 = "grenade" camcreate getpos car
-
I've never like using the grenades for stuff like this, but thanks for the other part.
cheers
-
how about something like:
_car = _this select 0
_vel = velocity _car
"shell120" camcreate getpos _car
~.5
_car setvelocity [0,0,0]
_car setvelocity _vel
exit
so it won't fly away and then it will continue moving forward for a little(as long as it takes for it to slow down normally)
-
well if you tried useing a grenade you'd find out it doesnt destroy the car it only stops the car working, i writ a script for this-
http://www.ofpec.com/editors/resource_view.php?id=735