Data Realms Fan Forums
http://45.55.195.193/

Glow Help
http://45.55.195.193/viewtopic.php?f=1&t=13458
Page 1 of 1

Author:  deathbal101 [ Tue Jan 13, 2009 6:42 pm ]
Post subject:  Glow Help

How do i make a grenade use a glow? im making a flashbang.

Author:  Solace [ Tue Jan 13, 2009 7:20 pm ]
Post subject:  Re: Glow Help

Spawn invisible particles with the glow? That's what I do, if I understand the question.

On a broader note, there are some things I don't know how to attach glows to; weapons, magazines... would they have to be emitters to make that work?

Author:  deathbal101 [ Tue Jan 13, 2009 7:30 pm ]
Post subject:  Re: Glow Help

I dont get it still.

Author:  deathbal101 [ Tue Jan 13, 2009 7:30 pm ]
Post subject:  Re: Glow Help

Im very new to modding.

Author:  Solace [ Tue Jan 13, 2009 7:46 pm ]
Post subject:  Re: Glow Help

Um... do you know how to define particles and gibs?

Code:
AddEffect = MOPixel
   PresetName = (name here)
   ScreenEffect = ContentFile
      FilePath = (where the glow you want to use is, starting from somewhere.rte)
   Mass = #
   GlobalAccScalar = (probably 1 or 0)
   RestThreshold = -500 (or a number above 0 if you want it to turn into terrain, which you don't)
   LifeTime = 560 (how long it lasts, I think in thousandths of a second)
   Sharpness = #
   HitsMOs = (1 if you want it to hit stuff, 0 if not)
   GetsHitByMOs = (same but getting hit by stuff)
   Color = Color
      R = 255
      G = 0
      B = 255
      (this makes it invisible)
   Atom = Atom
      Material = Material
         CopyOf = (what you want it made of)
      TrailColor = Color
         R = 255
         G = 0
         B = 255
      TrailLength = #

Author:  deathbal101 [ Tue Jan 13, 2009 7:55 pm ]
Post subject:  Re: Glow Help

sorry, i wasnt clear, i meant i want it to use the glow when it explodes...

Author:  grenade [ Tue Jan 13, 2009 8:00 pm ]
Post subject:  Re: Glow Help

GlobalAccScalar = 0 (if -0.1 or any *-* the particle goes up if 0 or more it goes down )
Mass = 0.001 (best for a flash bang)
Sharpness = 0.001 (same)
Atom = Atom
Material = Material
CopyOf = Bullet Metal (best)
TrailLength = 1 (best)

(those are some moments that Solace lost)

Author:  Solace [ Tue Jan 13, 2009 8:01 pm ]
Post subject:  Re: Glow Help

Code:
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = (name of your thing)
      Count = #
      Spread = #
      MaxVelocity = #
      MinVelocity = #
      InheritsVel = 0 or 1

Author:  grenade [ Tue Jan 13, 2009 8:02 pm ]
Post subject:  Re: Glow Help

deathbal101 wrote:
sorry, i wasnt clear, i meant i want it to use the glow when it explodes...



Then add this to grenade code before first *AddGib* lines
Code:
   EffectOnGib = 1
   EffectAlwaysShows = 1
   ScreenEffect = ContentFile
      Path = the path to glow for eg (Base.rte/Effects/Glows/ExplosionHuge)

Author:  deathbal101 [ Tue Jan 13, 2009 10:24 pm ]
Post subject:  Re: Glow Help

got it working!

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