Open Blackhardd opened 10 years ago
The model fire animation dispatches an event from which the muzzle flash effect is triggered.
https://developer.valvesoftware.com/wiki/Muzzle_Flash_(CSS_Style) think u should play with this, it will get u most liekly the muzzle flashes ur looking for, I still need to do more research, currently I have muzzle flashes firing from one player into other clients.. but thats something else I think.
Alloha. Can't find code which respect for default muzzle flash spawning. I created a new weapon class and copied code from weapon_pistol.cpp. After that i added my own muzzle flash effect but now there spawning two muzzle flashes.