OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: DDT on 12 Jul 2003, 03:19:16
-
Maybe this has been discussed before and also i dont know if it is possible is there a script that can simulate a turret of a tank being blow off into the air, even if it is for camera purposes only. And also i was checking out the shock wave script and wondered it there was a way to make machine gun fire when it hits the ground kick up more dust. Thanks for your time.
-
This whole thing has my brain fried and i am still kinda wondering if i can get some help with this. Also where can i get a tank burning script that does not require addons.
-
Hey,
Try the tank burning script from this page http://www.ofpec.com/editors/browse.php?browsewhat=2&category=2_3
To your turret problem, I think it's impossible unless you find an addon suitable for it, which I don't know if it exists even :-\
-
Tip: don't use sentences like "AN IDEA!" as a thread title, choose something that tells exactly what you want. 8)
-
I guess you could detect if/when a tank is destroyed, and have two models which you replace it with.
I.E if you have a M1A1 that gets blown to bits, you detect that and then create the two other addons, an M1A1 body and an M1A1 turret. You can use setvelocity to get the turret to fly away, and then use a burning-tank script on the body.
-
:o :) You'd definately have to create an individual "turret vehicle"....
A friend of mine once made a working crane which had this "turret control tower" on top of it, so that my kid back home could actually get in as "gunner" and use the turning function of the crane. And that crane house (or 'crane tower') was made out of a static M2MG, as far as I remember, which was simply setpossed upon the (static) crane base. ;D
I'm afraid it would take som'n like this to do it, matey! :-\ :) and then ya could make a custom tank (a real tank) that got replaced, as ktotte said, with the fake tank objects when it's been destroyed.
The new Mi2 russian choppers addon have this "wreck_replaces_vehicle" function (script).
:cheers:
-
Thanks for all the help guys and now that i think about it i should have used a different topic name. I am pretty new at the whole scripting thing so if i could get some help with the turret thing it would be great.