PDA

View Full Version : Saber color changes


Avitor
09-19-2002, 08:19 AM
I tried to change yellow to another color by swapping out the textures but the new saber color still casts a yellow glow. How can that be changed?

Haseco
09-20-2002, 05:53 PM
alright, u must change first, the sabercolor_line.jpg which the actual blade of the saber and the sabercolor_glow.jpg which is the glow surrounding the saber.

Avitor
09-24-2002, 05:55 PM
I've tried to change yellow to another color by swapping out the textures - yellow_glow.tga, yellow_glow2.jpg, and yellow_line.jpg in the gfx\effects\sabers\ folder of asset0.pk3 - but the new saber color still casts a yellow glow inpsite of the new colored textures. The yellow glow is still seen on walls and the floor and when the the saber is in use, swinging and throwing, etc. Is there a way to change that? I think the solution might lay in the file shaders/sabers.shader in assets0 but I'm clueless as to what it might be.

Tchouky
10-01-2002, 05:45 PM
the glow and the trails are defined in the code, you can't alter it replacing jpgs...

you'll have to create a real mod, and alter the client side qvm.
check out jedimod 1.2 source code...

Commodus
10-02-2002, 08:47 AM
Yes... look inside the function CG_DoSaberBlade, the colour data of the glow is in a switch for the Saber colour...