Page 1 of 1

Laser Colors

Posted: Wed Nov 28, 2007 2:12 pm
by NovaBlast
I wanted to change the color of the lasers for the mod, and I was wondering, do you simply change the name in the ODF, and it automatically changes it, or do you actually have to find the MSH or something and put it in the sides folder for it to work?

Re: Laser Colors

Posted: Wed Nov 28, 2007 4:43 pm
by Caleb1117
Color is controlled by TGA's and glow color lines in the ODF, you can get the laser TGA's and recolor them, and then just change the glow color in the ODF to match.

But it won't change automatically.

Re: Laser Colors

Posted: Wed Nov 28, 2007 7:41 pm
by NovaBlast
where do I find the TGAs? and can I just type in the color by like in the ODF typing

[OrdnanceClass]
ClassLabel = "bolt"

[Properties]
LaserTexture = "bluelaser_d"
LaserLength = "1.25"
LaserWidth = "0.1"
LaserGlowColor = "254 6 18 100"
LightColor = "254 6 18 100"
LightRadius = "4.0"
GlowLength = "3"
BlurLength = "5"

That is for the IMP shotgun ord file
so will that change it.. ill test it out

Re: Laser Colors

Posted: Thu Nov 29, 2007 10:45 am
by Laserblast
The light color and the light radius control the projection of color on surrounding objects/terrain as the bolt flies by. The order for the glow colors and such if R G B A where A represents the alpha of whatever color you are looking at. The blur length is the trail left by the shot. It can be made to fade out (sniper rifle shot).

The glow length, laser width, and laser length are all pretty self explanatory. The blaster color textures can be found in the assets/common effects folder. However, you should probably change the glow color to match (though I guess it would look...interesting with mismatching glow).

P.S. Sorry for the random placement of statements. Not quite awake yet, so just typing things as I think of them :).

Re: Laser Colors

Posted: Thu Nov 29, 2007 5:03 pm
by NovaBlast
It worked! yay... man I'm getting alot done here! THANKS GAMETOAST YOU ROCK!