Page 1 of 1
Muzzle Flash
Posted: Sat Feb 05, 2011 11:44 am
by agentsmith38
Hello everyone.
I was wondering if its possible to add an .fx instead of a tga and msh to the guns muzzle flash?
Re: Muzzle Flash
Posted: Sat Feb 05, 2011 1:59 pm
by DarthD.U.C.K.
im not experienced with weaponodfs, i can only think of a sloppy way: give the weapon no muzzleflah and your effect as chargeupeffect, then set the maxpressed time to a really small period.
Re: Muzzle Flash
Posted: Sat Feb 05, 2011 2:20 pm
by Fiodis
If it's a slow projectile such as a rocket, you can also rig a trail effect for the ordance with an emitter that fires just once, in place of a discharge effect. Also, the odf line MuzzleFlashEffect does indeed work, but the effect plays from the same place that the ordance originates from, that is the head. I tried to offset the effect enough so that it plays from the barrel, but because the hands in the animation turn just slightly differently than the head, the effect usually ends up off-center anyway. It kind of works, but it's not perfect.
Haven't tried what Duck suggested yet, but it sounds like a good idea. At least the effect would play from the barrel each time.
Re: Muzzle Flash
Posted: Sat Feb 05, 2011 2:25 pm
by agentsmith38
DarthD.U.C.K. wrote:im not experienced with weaponodfs, i can only think of a sloppy way: give the weapon no muzzleflah and your effect as chargeupeffect, then set the maxpressed time to a really small period.
Thank you very much

it almost works, except when you hold it down without letting go, the effect loops.