Page 1 of 1

Grenade Glow

Posted: Tue Feb 24, 2009 6:47 pm
by JediJalepinio
probably a noobish question, but does anyone know how to change the colour of a grenade's glow from red to say, blue?

Thnks

Re: Grenade Glow

Posted: Tue Feb 24, 2009 6:49 pm
by Fiodis
Cite the necesary effect in the grenade's ordance's ODF.

Re: Grenade Glow

Posted: Tue Feb 24, 2009 7:32 pm
by obiboba3po

Code: Select all

TrailEffect             = "com_sfx_weap_grenade_red"
LightColor              = "247 56 65 150"
LightRadius             = "3.0"
the first part is obvious, the second part is the color in RGBA format. (red, blue, green alpha) 255 is max. color intensity, 0 being the least. alpha is the visibility. these lines are usually found in the ordnance. in the future, look there and experiment :thumbs:

Re: Grenade Glow

Posted: Tue Feb 24, 2009 7:42 pm
by Fiodis
Personaly, I never messed with those RGB values and just edited the effect directly via Particle Editor. Lot more options that way.

Re: Grenade Glow

Posted: Tue Feb 24, 2009 8:00 pm
by Maveritchell
Fiodis wrote:Personaly, I never messed with those RGB values and just edited the effect directly via Particle Editor. Lot more options that way.
"Those RGB" values are unrelated to your particle effect, they're the color values for the light. You should edit them as well as the effect to get the best effect.

Re: Grenade Glow

Posted: Tue Feb 24, 2009 8:04 pm
by obiboba3po
Maveritchell wrote:
Fiodis wrote:Personaly, I never messed with those RGB values and just edited the effect directly via Particle Editor. Lot more options that way.
"Those RGB" values are unrelated to your particle effect, they're the color values for the light. You should edit them as well as the effect to get the best effect.
:yes: they make a pretty glow on lasers, i dont think you really see them much on mine glows though

Re: Grenade Glow

Posted: Tue Feb 24, 2009 8:08 pm
by vampire_lord
For grenade glow you need to edit the effects on particle editor as well...

Re: Grenade Glow

Posted: Tue Feb 24, 2009 8:09 pm
by obiboba3po
vampire_lord wrote:For grenade glow you need to edit the effects on particle editor as well...
no you dont. thats only for a new effect. what i showed is how to change it to an already existing glow color. you can see all of those in the common/effects folder.

Re: Grenade Glow

Posted: Tue Feb 24, 2009 10:05 pm
by JediJalepinio
do I need to do anything special to munge it too?

Re: Grenade Glow

Posted: Tue Feb 24, 2009 10:27 pm
by trainmaster611
No you don't need to do anything special for the munge.

The glow color is the color that is reflected on the enviroment around the grenade. The particle effect is what you actually see being emitted from the grenade. If you want to change the color of both of these, I recommend changing both the effect and the light color.

In data_ABC\Common\Effects, there's a blue grenade fx file you can use. It's called com_sfx_weap_grenade_blue.

Re: Grenade Glow

Posted: Wed Feb 25, 2009 12:06 pm
by JediJalepinio
How do I switch the fx file?

Re: Grenade Glow

Posted: Wed Feb 25, 2009 12:11 pm
by YaNkFaN
you need to edit it in particle editor found Here

Re: Grenade Glow

Posted: Wed Feb 25, 2009 4:19 pm
by obiboba3po
or if he wants toe replace it with an existing one, go to common/effects and look for anything ending in .fx those are the stock ones