View unanswered posts | View active topics It is currently Sat May 18, 2024 3:01 am



Reply to topic  [ 9 posts ] 
 Emitter Stacking Particles 
Author Message
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post Emitter Stacking Particles
Hello :grin:

I have a problem with my Shotgun... i have placed an emitter on the flash of the shotgun that emits particles when fired, but when i fire the desired particles that the emitter emits seems to stack for the amount of time it didnt fire

eg. i fire after 1 sec and a few particles show.. i fire after 10 secs and the all the particles that would emit every 1 sec would stack upon until fired

Any one got anything? heres my code for the emitter

Code:
AddEffect = AEmitter
   PresetName = M1014 Flash Effects
   Mass = 0.5
   LifeTime = 5
   RestThreshold = -500
   Sharpness = 0
   GlobalAccScalar = 0
   HitsMOs = 0
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Base.rte/Null.bmp
   FrameCount = 1
   OrientToVel = 0.7
   SpriteOffset = Vector
      X = 0
      Y = 0
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 2
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 4
      Depth = 1
   DeepCheck = 1
   AddEmission = Emission
      EmittedParticle = MOPixel
         CopyOf = Shot Particle Effect
      ParticlesPerMinute = 150
      BurstSize = 1
      Spread = 3.14
      MaxVelocity = 2
      MinVelocity = 0.25
      PushesEmitter = 1
   AddEmission = Emission
      EmittedParticle = MOSParticle
         CopyOf = Shot Smoke
      ParticlesPerMinute = 120
      BurstSize = 1
      Spread = 3.14
      MaxVelocity = 5
      MinVelocity = 0.25
      PushesEmitter = 1
   BurstTriggered = 0
   EmissionEnabled = 1
   EmissionsIgnoreThis = 0
   BurstSize = 0
   BurstScale = 0
   BurstSpacing = 500   
   EmissionDamage = 0
   Flash = None
   FlashOnlyOnBurst = 0


Thx


Sat Feb 20, 2010 11:12 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Emitter Stacking Particles
This is a problem inherent in the game, it is not solvable (when using emitters attached to a MuzzleFlash).
What exactly are you trying to do? Add some effects to the firing?


Sat Feb 20, 2010 6:27 pm
Profile
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post Re: Emitter Stacking Particles
Duh102 wrote:
This is a problem inherent in the game, it is not solvable (when using emitters attached to a MuzzleFlash).
What exactly are you trying to do? Add some effects to the firing?



Yeah, i want my flash to have a few small white particles and some smoke to it


Sun Feb 21, 2010 3:00 am
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Emitter Stacking Particles
Then have the bullet be an emitter (or somehting, loo it up in the heavy coa sniper.)


Sun Feb 21, 2010 1:16 pm
Profile
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post Re: Emitter Stacking Particles
Lizard wrote:
Then have the bullet be an emitter (or somehting, loo it up in the heavy coa sniper.)


then the effect would follow the bullet :-( i dont want that.

what if... i make the flash emit a MOPixel that makes the flash gib the particles i want, would that work or would it be too slow for it to gib it... or just unsatisfying results?


Sun Feb 21, 2010 11:13 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Emitter Stacking Particles
Make it emit only once.
Also, this could be used to make weapons.


Mon Feb 22, 2010 6:55 am
Profile WWW
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post Re: Emitter Stacking Particles
411570N3 wrote:
Make it emit only once.
Also, this could be used to make weapons.


How can i make it emit once?


Mon Feb 22, 2010 8:03 am
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Emitter Stacking Particles
Did you even look at the coalition heavy sniper? It has an emitter that fires the bullet and the muzzle flash.


Mon Feb 22, 2010 8:21 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Emitter Stacking Particles
Coops9753 wrote:
How can i make it emit once?
Put BurstSize = 1 and ParticlesPerMinute = 0 into the BULLET EMISSION definition, and BurstSize = 3 or something and again, ParticlesPerMinute = 0 into the SMOKE EMISSION definition, and then remove it from later on in the aemitter's code, assuming you're copying vanilla stuff. Look at the Coalition Heavy Sniper (AND NOT THE VALUES HOLY CRAP THE SPEED IS STUPID) for more info.


Mon Feb 22, 2010 9:32 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.028s | 14 Queries | GZIP : Off ]