Custom Muzzle Flash

Description

What would you reply if I ask “how do you add custom muzzle flash to your guns”? Well, I’ve got the “AddPart on primary action start and RemovePart on primary action stop” answer from modders, which requires additional condition check to assure that flash flashes and disappears at right time. But that’s not fair: I mean, blocks have a ParticleName property and putting a path to your particle works, why must we complicate a simple muzzle flash?

This mod register the resource path you put in muzzle particle properties for you, so that you can make your flash shine by setting those properties. Those properties are as follows:

  • Particles_muzzle_fire
  • Particles_muzzle_fire_fpv
  • Particles_muzzle_smoke
  • Particles_muzzle_smoke_fpv

The muzzle flash lifetime is managed by TemporaryObject script.

EAC must be off.

Source code available on GitHub.

Download

DOWNLOAD (283 KB)

Credits: closerex

Share this with your friends:
Get Comment Notifications
Notify of
guest

If you have any questions or have any problems/bugs, please use the support link (Discord, Forum Topic, GitHub Issues, etc.) in the post. If there is no support link in the post, please use the comments section.

0 Comments
Inline Feedbacks
View all comments