Hello everyone.
I was wondering if its possible to add an .fx instead of a tga and msh to the guns muzzle flash?
Muzzle Flash
Moderator: Moderators
- agentsmith38
- Command Sergeant Major

- Posts: 283
- Joined: Thu May 27, 2010 9:47 am
- Projects :: The Final Push Future - Omaha Beach
- xbox live or psn: No gamertag set
- Location: In the Trenches, getting ready to go over the top..
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Muzzle Flash
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.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Muzzle Flash
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.
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.
- agentsmith38
- Command Sergeant Major

- Posts: 283
- Joined: Thu May 27, 2010 9:47 am
- Projects :: The Final Push Future - Omaha Beach
- xbox live or psn: No gamertag set
- Location: In the Trenches, getting ready to go over the top..
Re: Muzzle Flash
Thank you very muchDarthD.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.
