Data Realms Fan Forums
http://45.55.195.193/

Halp with glows.
http://45.55.195.193/viewtopic.php?f=1&t=9726
Page 1 of 1

Author:  Winterous [ Tue Jan 15, 2008 11:26 am ]
Post subject:  Halp with glows.

I wanna make a TDExplosive glow, how duz I do this?

Author:  ProjektTHOR [ Tue Jan 15, 2008 3:18 pm ]
Post subject:  Re: Halp with glows.

viewtopic.php?p=152500#p152500

We have a nice fancy search function for a reason.

Author:  Winterous [ Tue Jan 15, 2008 3:29 pm ]
Post subject:  Re: Halp with glows.

Ok, point taken, but that actually didn't help at all.

Author:  ProjektTHOR [ Tue Jan 15, 2008 3:31 pm ]
Post subject:  Re: Halp with glows.

How did that not help?

Put
Code:
      ScreenEffect = ContentFile
      FilePath = Base.rte/Effects/Glows/YellowBig.bmp
next to whatever you want to glow

Author:  Winterous [ Tue Jan 15, 2008 3:44 pm ]
Post subject:  Re: Halp with glows.

Didn't help, how, pre tell, am I supposed to use that code?

Author:  TrouserDemon [ Tue Jan 15, 2008 5:58 pm ]
Post subject:  Re: Halp with glows.

Put it next to whatever you want to glow.

Author:  whitty [ Tue Jan 15, 2008 10:29 pm ]
Post subject:  Re: Halp with glows.

I AM THE GLOW GOD. SEND ME THE FILE/CODE AND I WILL WORK MY MAGIC.

Sorry for all caps, but i just had to.

Author:  The Fat Sand Rat [ Tue Jan 15, 2008 10:33 pm ]
Post subject:  Re: Halp with glows.

whitty wrote:
I AM THE GLOW GOD. SEND ME THE FILE/CODE AND I WILL WORK MY MAGIC.

*shudders*
Please, have a soul. Stop the rape.
And @OP- poke around in base.rte, figure it out for yourself.

Author:  whitty [ Tue Jan 15, 2008 10:37 pm ]
Post subject:  Re: Halp with glows.

Ok, here is an example of how to add glows.

Take the MOPixel code used for the blast:

Code:
AddEffect = MOPixel
   InstanceName = MinerJP1
   Mass = 1.25
   LifeTime = 100
   Sharpness = 0.3
   HitsMOs = 1
   GetsHitByMOs = 0
   Color = Color
      R = 5
      G = 75
      B = 255
   Atom = Atom
      Material = Material
         CopyOf = Air
      TrailColor = Color
         R = 5
         G = 75
         B = 255
      TrailLength = 5


Ok, so you found this code. Now, you want to add this code at the very bottom of the code for the MOPixel:

Code:
   ScreenEffect = ContentFile
      FilePath = Base.rte/Effects/Glows/YellowBig.bmp
   EffectStartTime = 25
   EffectStopTime = 100
   EffectStartStrength = 1.0
   EffectStopStrength = 0.5


So in the end, it should look like this:

Code:
AddEffect = MOPixel
   InstanceName = MinerJP1
   Mass = 1.25
   LifeTime = 100
   Sharpness = 0.3
   HitsMOs = 1
   GetsHitByMOs = 0
   Color = Color
      R = 5
      G = 75
      B = 255
   Atom = Atom
      Material = Material
         CopyOf = Air
      TrailColor = Color
         R = 5
         G = 75
         B = 255
      TrailLength = 5
   ScreenEffect = ContentFile
      FilePath = Base.rte/Effects/Glows/YellowBig.bmp
   EffectStartTime = 25
   EffectStopTime = 100
   EffectStartStrength = 1.0
   EffectStopStrength = 0.5


And, of course you can play around with the timing, strength, lifetime, and filepath for the glow.

Author:  Winterous [ Wed Jan 16, 2008 5:33 am ]
Post subject:  Re: Halp with glows.

Ok whitty, here it is.
I want to make the TDExplosive glow.

Attachments:
Plasma gun.rte.rar [844.17 KiB]
Downloaded 164 times

Author:  whitty [ Wed Jan 16, 2008 5:48 am ]
Post subject:  Re: Halp with glows.

ok, what color, how long, how bright?

Author:  Winterous [ Wed Jan 16, 2008 6:12 am ]
Post subject:  Re: Halp with glows.

Well, I effectively want a shining ball of white that floats through the air, so, for as long as the projectile lasts, white, and really bight.

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