Lights.rad Tut

A Tutorial for Source Engine

Members see zero ads. Signup for free
Introduction To lights.rad.
First off let me explain what a lights.rad file does. A lights.rad file is a file that contains information about what textures you want to emit light, in using this concept you can create a texture(s) with the same or better effect as a entity, like in Screen Shots A and B. When you're editing a Lights.rad file it should look something like this. Through the steps I will explain what every thing means.
lights/white001\_nochop	250 240 205 100
lights/white002\_nochop	189 233 247 425
lights/white003\_nochop	232 246 190 350
lights/white004\_nochop	170 228 247 425
mustafar/ctile\_05 170 228 247 1000 mustafar/hall\_striplight011 43 85 85 40
Now that you have your lights.rad I will explain to you on how to add the textures you want emitting light. Step One: Adding the texture(s) you want to emit light to the Lights.rad.
Get the names of the texture(s) you would like to use. I'm using ctile\_0.vtf. Now add the texture(s) to the Lights.rad they must look like this. mustafar/ctile\_05 Below will explain why you need to add mustafar/ctile\_05 to the lights.rad - Red = The location of the folder with the .vtf texture(s). Example: C:\Program Files\Steam\SteamApps\common\(game name)\(game abbreviation)\materials\mustafar - Blue = The .vtf texture(s) that you want to have emit light from. Example: C:\Program Files\Steam\SteamApps\common\(game name)\(game abbreviation)\materials\mustafar\ctile\_05 - Mustafar / ctile\_05 Now that you have added the texture you have to find out what color you would like it to emit. Find out in step two. Step Two: Adding an RGB color value for your texture(s) to emit.
Selecting a color that you would like you texture to emit is quite easy all you need is to add a RGB color value like in the example below. Example: 128 255 255 Sometimes when I Select a color values I like to use the color chooser In photoshop. If you don't have photo shop using the color chooser In Hammer will work just as good. Then add the RGB color value to the end of your Lights.rad like this. Yellow = The color of light that the texture(s) will emit. Mustafar / ctile\_05 128 255 255 Now that you know how to add a color of light to you texture(s). Move on to Step Three to find out how to adjust the level of brightness the texture(s) will emit. Step Three: Adjusting the brightness of the light on your texture(s).
Selecting a level of brightness for you texture(s) to emit is quite easy its just like adding brightness to any light admitting entity in hammer. All you have to do is add a number to the end of your RGB color value. Like in the example. Example: 128 255 255 450 Orange = The amount of brightness the texture(s) will emit. Mustafar / ctile\_05 128 255 255 450 The higher the number the brighter it will be the lower the number the lighter it will be. Now that you have added all your information Save your lights.rad in the main folder of what ever game you're using it for. Example: C:\Program Files\Steam\SteamApps\common\half-life 2 deathmatch\hl2mp Final Step
Open the map you are working on apply the texture(s) that you added to the lights.rad to a brush Compile your map and check it out. And there you have it, light emitting textures. This was my first tut so sorry if it was hard to understand. But If you have any question feel free to ask. If any of the information is incorrect let me know so I can fix it.
1-10 of 15
1
Pages
  • 1
  • 2
Go to page:
  • -Mess avatar
    -Mess Joined 12y ago
    Offline
    539 points Ranked 44327th
    8 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    4y
    I seriously wish this tutorial had more light shed on it.
    OG Bananite
    URL to post:
  • -Mess avatar
    -Mess Joined 12y ago
    Offline
    539 points Ranked 44327th
    8 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    8y
    > **Posted by -FuzzyFish-** > Older tut, but certainly useful for pinpointing what I was doing wrong with my lights.rad file. Thanks. :) Just Glad to hear its still helping people.
    OG Bananite
    URL to post:
  • -FuzzyFish- avatar
    -FuzzyFish- Joined 10y ago
    Offline
    360 points Ranked 47962nd
    8 medals 1 rare
    • 6 years a member Medal icon
    • Time Traveler Mapping Contest Submitter Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    8y
    Older tut, but certainly useful for pinpointing what I was doing wrong with my lights.rad file. Thanks. :)
    I map make good. :^| avatar
    Mantra
    I map make good. :^|
    URL to post:
  • Anonymous
    9y
    Where to I place the lights.rad file? in my materials folder?
    URL to post:
  • TDDKami avatar
    TDDKami Joined 12y ago
    Offline
    21,098 points Ranked 230th
    10 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    • One month a member Medal icon
    10y
    Posted by Sgt-Mess
    Posted by TDDKami How can i set the distance the light goes?
    To my knowledge you can't.
    Cause i wanna have this effect http://www.fpsbanana.com/tuts/screens/6762?img=http://image.fpsbanana.com/ss/tuts/5419.jpg i thought it was made the same way
    (6)© avatar
    Mantra
    (6)©
    URL to post:
  • -Mess avatar
    -Mess Joined 12y ago
    Offline
    539 points Ranked 44327th
    8 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    10y
    Posted by TDDKami How can i set the distance the light goes?
    To my knowledge you can't.
    OG Bananite
    URL to post:
  • TDDKami avatar
    TDDKami Joined 12y ago
    Offline
    21,098 points Ranked 230th
    10 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    • One month a member Medal icon
    10y
    How can i set the distance the light goes?
    (6)© avatar
    Mantra
    (6)©
    URL to post:
  • -Mess avatar
    -Mess Joined 12y ago
    Offline
    539 points Ranked 44327th
    8 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    11y
    Posted by NoZTriX
    Posted by Sgt-Mess
    Posted by NoZTriX Do I have to add the custom light.rad in the bsp with pakrat when im releasing the map?
    no.
    But they have a diffrent lights.rad where my custom texture is not included in it. So how does it work for them then?
    Its coded into the bsp when the map is compiled.
    OG Bananite
    URL to post:
  • NoZTriX avatar
    NoZTriX Joined 12y ago
    Offline
    11y
    Posted by Sgt-Mess
    Posted by NoZTriX Do I have to add the custom light.rad in the bsp with pakrat when im releasing the map?
    no.
    But they have a diffrent lights.rad where my custom texture is not included in it. So how does it work for them then?
    All I hear is noise
    URL to post:
  • -Mess avatar
    -Mess Joined 12y ago
    Offline
    539 points Ranked 44327th
    8 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    11y
    Posted by NoZTriX Do I have to add the custom light.rad in the bsp with pakrat when im releasing the map?
    no.
    OG Bananite
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
-Mess
Unknown

Submitter

-Mess avatar
-Mess Joined 12y ago
Offline
539 points Ranked 44327th
8 medals 1 legendary 1 rare
  • 10 years a member Medal icon
  • 6 years a member Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
-Mess
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Advanced

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 1
  • 13.1k
  • 15
  • 11y
  • 5y

More Mapping Tutorials