changing lights.rad values

  • Thread starter Thread starter Tridigy
  • Start date Start date
T

Tridigy

Guest
Does anybody know how I can change the brightness or colour of any of the original light-textures in hammer ?
If I try to adjust the lights.rad file it keeps telling me its read only.
Maybe I have the wrong light.rad? There are 3 of them.
I also tried creating a new lights.rad-file and placed it where my map is saved>>but the compiler doesnt seem to load it,instead it loads the original one.

Aint many tutorials dealing with my problem and I like to get this solved,so if anybody has suggestions I would be gratefull.
 
When making a .rad file for your map, you make it with the same filename as your level. For example, if your map file is "my_map.vmf" you'd name your texlight file "my_map.rad". When Hammer compiles your map, it will look for a .rad file with the same name as the map you're compiling. If this file isn't found, it either (and note, I have no idea which of the following is taken out by Hammer) skips texture lighting completely, or loads the default lights.rad file.

I'll assume you know how to set the texture lighting, but in case you don't:
To create your texture lighting, you find the name of the texture that's going to emit the light, decide on a RGB-brightness value, and then put that in my_map.rad. For the map I'm currently working on, the first line of my <mapname>.rad file is:

lights/fluorescentwhite001 245 245 252 350

That means that whatever surface has the texture lights/fluorescentwhite001 applied to it will emit light with a brightness of 350 and a color of [245,245,252], which is white with a tiny hint of blue.

Hope that's what you wanted to know. Some tutorials make it out to be harder than it really is.
 
Back
Top