I made the muzzle emit several particles with collisionEffectName e_dynecho_1. This effect triggers a sound. This works almost like vexp with wreck particles, but they are emitted with more power and they generate a different collision sound. Quite simple and works great! Doesn't generate any lag when playing alone (4x3 GHZ Phenom, 4GB RAM, Nvidia GTS250, Win7), now only M4 muzzle creates this effect, so I have to make some other fx not to make all the weapons sound the same, put them in all muzzles and test with bots. It's possible to do this also with explosions.
I was supposed to upload a youtube video, but server refused. It was an old version though, I'll upload newer and post it here once finished.
Does anyone know how to change particle material by chance? I tried mapMaterial and material method for p_wreck_01 but no luck.
This post has been edited by dodek96_pl: 18 September 2011 - 12:51 PM