OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Ranger Bob on 27 Dec 2002, 21:18:03

Title: Muzzle flash and light bug on vehicles
Post by: Ranger Bob on 27 Dec 2002, 21:18:03
I am in a bit of a pickle, I've made a snow camo M113a1 with a new model and have a constant muzzle flash and the light is also constant, i know how to get rid of the constant muzzle flash for weapons but is it the same for APcs???
Title: Re:Muzzle flash and light bug on vehicles
Post by: Wires on 28 Dec 2002, 11:21:18
I'll email you the demo model so you can get all the info off that  ;) I'm pretty sure it works the same though.
Title: Re:Muzzle flash and light bug on vehicles
Post by: Ranger Bob on 28 Dec 2002, 12:05:24
Thanks for that Wires but i got some help from Deadmeat and its sorted.  ;)
Title: Re:Muzzle flash and light bug on vehicles
Post by: BoNeCoLLeCToR on 28 Dec 2002, 17:42:42
Hey why not share how to get rid off the light's and weapon muzzle I think when you share it you will help some other's with problems ;)
Title: Re:Muzzle flash and light bug on vehicles
Post by: Ranger Bob on 28 Dec 2002, 20:46:07
Of course,

class cfgmodels
{
   class default {};
   class Vehicle: default {};
   class tank: Vehicle {};
   class m113: tank {};
   class BOB_snowM113: M113 {};
};

The entries are slightly different for different vehicles (jeep, tanks etc)

and the last line :
 class P3dname: M113 {};

 must be the name of your model otherwise it wont get rid of the flashes

dont forget, this is Cfgmodels NOT cfg vehicles  as i made that mistake.
Title: Re:Muzzle flash and light bug on vehicles
Post by: BUNTRO on 08 Jan 2003, 07:07:37
I fixed the constant flash problem  ;) but now I have another problem.  The muzzle flash and the smoke appear halfway down the length of the barrels every time it fires.  (see attached picture).  I also can't figure out how to make it so my model doesn't have headlights.  Any ideas?

BUNTRO
Title: Re:Muzzle flash and light bug on vehicles
Post by: Ranger Bob on 10 Jan 2003, 22:19:59
Hmmm, thats odd, well the muzzle flash may appear half way down the barrel because thats its postion in the model, but it probably isn't, and as for the other problems i dont have a clue!!
Sorry ???
Title: Re:Muzzle flash and light bug on vehicles
Post by: BUNTRO on 10 Jan 2003, 22:41:19
Would this have anything to do with the animation?  Since it is following the one for the ZSU/Vulcan?

BUNTRO :beat: