Jump to content
Sign in to follow this  
Indy

Random muzzle flash

Recommended Posts

Hi all, i'm working on the M.A.B. (submachine gun used by italian ww2 soldiers) and i wanted to know if it's possible to have a random muzzleflash when firing. I know that the original "zasleh" texture randomly changes everytime I fire, but i changed the texture with a better one but i don't know how to create the random file effect.

I've tryied with a script using the setobject texture funciton but it didn't worked, anyone knows how to do this?

Share this post


Link to post
Share on other sites

[EDIT] I found a solution to my problem: for people that want to know how to do random muzzleflash on theyr riffles without scripts:

create the flash texture and name it flash.01.paa and map the muzzle flash with your texture in O2.

now create 2 or more different textures for the flash and name them flash.02.paa; flash.03.paa and so on

Place them in the pbo and it will work biggrin_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×