Particle problem

Users who are viewing this thread

I'm trying to make a smoke effect, and it's turned out rather well, except for one problem:

I have it set up to only emit a single particle... However, when I fire the gun, it emits the particle, and then a split second later, about 20 more follow it.
My particle code:
Code:
    ("pistol_smoke", psf_billboard_3d, "prtcl_dust_a",
     1, 200, 2.9, 0.005, 60.0, 1.6,     #num_particles, life, damping, gravity_strength, turbulance_size, turbulance_strength
     (0.0, 0.7), (1, 0),       #alpha keys
     (0.0, 0.7), (1, 0.4),      #red keys
     (0.0, 0.7),(1, 0.4),       #green keys
     (0.0, 0.7), (1, 0.4),      #blue keys
     (0, 10),   (0.5, 11.0),   #scale keys
     (0.25, 0.25, 0.25),           #emit box size
     (0, 4, 0),                 #emit velocity
     1.7                        #emit dir randomness
    ),
 
Check the particle duration spawn code. you can set it to a lower value making it spawn only one.

(particle_system_burst, "psys_musket_smoke", pos1, 100), >  (particle_system_burst, "psys_musket_smoke", pos1, 10),
 
Back
Top Bottom