OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: DDT on 12 Jul 2003, 03:19:16

Title: a thought i had!!!
Post 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.
Title: Re:a thought i had!!!
Post by: DDT on 13 Jul 2003, 02:17:56
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.
Title: Re:a thought i had!!!
Post by: Artak on 13 Jul 2003, 10:52:13
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  :-\
Title: Re:a thought i had!!!
Post by: DrStrangelove on 13 Jul 2003, 11:00:43
Tip: don't use sentences like "AN IDEA!" as a thread title, choose something that tells exactly what you want.  8)
Title: Re:a thought i had!!!
Post by: KTottE on 13 Jul 2003, 12:04:01
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.
Title: Re:a thought i had!!!
Post by: Tomb on 13 Jul 2003, 18:39:33
 :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:


Title: Re:a thought i had!!!
Post by: DDT on 14 Jul 2003, 03:10:45
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.