View unanswered posts | View active topics It is currently Wed Jan 08, 2025 6:00 am



Reply to topic  [ 10 posts ] 
 Glow Help 
Author Message
User avatar

Joined: Sat Dec 13, 2008 11:56 pm
Posts: 206
Reply with quote
Post Glow Help
How do i make a grenade use a glow? im making a flashbang.


Tue Jan 13, 2009 6:42 pm
Profile
User avatar

Joined: Sun Jun 10, 2007 2:05 am
Posts: 426
Reply with quote
Post 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?


Tue Jan 13, 2009 7:20 pm
Profile
User avatar

Joined: Sat Dec 13, 2008 11:56 pm
Posts: 206
Reply with quote
Post Re: Glow Help
I dont get it still.


Tue Jan 13, 2009 7:30 pm
Profile
User avatar

Joined: Sat Dec 13, 2008 11:56 pm
Posts: 206
Reply with quote
Post Re: Glow Help
Im very new to modding.


Tue Jan 13, 2009 7:30 pm
Profile
User avatar

Joined: Sun Jun 10, 2007 2:05 am
Posts: 426
Reply with quote
Post 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 = #


Tue Jan 13, 2009 7:46 pm
Profile
User avatar

Joined: Sat Dec 13, 2008 11:56 pm
Posts: 206
Reply with quote
Post Re: Glow Help
sorry, i wasnt clear, i meant i want it to use the glow when it explodes...


Tue Jan 13, 2009 7:55 pm
Profile
User avatar

Joined: Mon Aug 18, 2008 5:29 pm
Posts: 607
Location: Ukraine,Odessa in the ASC bunker-base
Reply with quote
Post 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)


Tue Jan 13, 2009 8:00 pm
Profile
User avatar

Joined: Sun Jun 10, 2007 2:05 am
Posts: 426
Reply with quote
Post Re: Glow Help
Code:
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = (name of your thing)
      Count = #
      Spread = #
      MaxVelocity = #
      MinVelocity = #
      InheritsVel = 0 or 1


Tue Jan 13, 2009 8:01 pm
Profile
User avatar

Joined: Mon Aug 18, 2008 5:29 pm
Posts: 607
Location: Ukraine,Odessa in the ASC bunker-base
Reply with quote
Post 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)


Tue Jan 13, 2009 8:02 pm
Profile
User avatar

Joined: Sat Dec 13, 2008 11:56 pm
Posts: 206
Reply with quote
Post Re: Glow Help
got it working!


Tue Jan 13, 2009 10:24 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 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.042s | 13 Queries | GZIP : Off ]