Laser Colors

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
NovaBlast

Laser Colors

Post 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?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Laser Colors

Post 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.
NovaBlast

Re: Laser Colors

Post 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
User avatar
Laserblast
Second Lance Corporal
Second Lance Corporal
Posts: 105
Joined: Sat Sep 17, 2005 12:25 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Laser Colors

Post 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 :).
NovaBlast

Re: Laser Colors

Post by NovaBlast »

It worked! yay... man I'm getting alot done here! THANKS GAMETOAST YOU ROCK!
Post Reply