Data Realms Fan Forums
http://45.55.195.193/

TDExplosive animated explosion sprite?
http://45.55.195.193/viewtopic.php?f=1&t=9290
Page 1 of 1

Author:  SFOR [ Sat Dec 22, 2007 5:00 am ]
Post subject:  TDExplosive animated explosion sprite?

sup yall. ive made an animated explosion sprite for a grenade with a glow too. question is how do i make them not fly away like shrapnel when the grenade explodes?

peace

Author:  Grif [ Sat Dec 22, 2007 5:26 am ]
Post subject:  Re: TDExplosive animated explosion sprite?

PinStrength = 999999

Author:  SFOR [ Sat Dec 22, 2007 3:59 pm ]
Post subject:  Re: TDExplosive animated explosion sprite?

Grif wrote:
PinStrength = 999999


do i put that in the particles?

Author:  Grif [ Sat Dec 22, 2007 7:00 pm ]
Post subject:  Re: TDExplosive animated explosion sprite?

Yes.

Author:  SFOR [ Sat Dec 22, 2007 7:35 pm ]
Post subject:  Re: TDExplosive animated explosion sprite?

okay that doesnt seem to work. the sprite is barely visible.

this is the effect code:

Code:
AddEffect = MOSParticle
   InstanceName = Explosion 1
   Mass = 9
   RestThreshold = -1
   LifeTime = 300
   Sharpness = 0.1
   HitsMOs = 1
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Base.rte/Effects/Pyro/Explosion01.bmp
   FrameCount = 7
   SpriteOffset = Vector
      X = -10
      Y = -10
   AngularVel = 60
   Atom = Atom
      Material = Material
         CopyOf = Air Blast
      TrailLength = 0
   Framerate = 0
   PinStrength = 999999

AddEffect = MOSParticle
   CopyOf = Explosion 1
   InstanceName = Explosion 1 Glow
   ScreenEffect = ContentFile
      FilePath = Base.rte/Effects/Glows/Explosion.bmp
   EffectStartTime = 25
   EffectStopTime = 100
   EffectStartStrength = 1.0
   EffectStopStrength = 0.5
   PinStrength = 999999


and this is the sprite i made:

Image

i just want it to appear where the grenade explodes (with the glow sprite too) and stay there until the animation has played. is that even possible?

Author:  capnbubs [ Sat Dec 22, 2007 8:34 pm ]
Post subject:  Re: TDExplosive animated explosion sprite?

I'm working on explosions at the moment too. Whenever I pin MOSParticles the anim doesn't play, it just sits on the first frame.

Author:  blipflip [ Sat Dec 22, 2007 8:57 pm ]
Post subject:  Re: TDExplosive animated explosion sprite?

Try using a MOSrotating.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/