Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 20 Guests
Online:

LATEST FORUM THREADS

»
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Tutorials

»
CoD Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Illuminating Your World : A Guide to Basic Lighting Methods
Versions: You must be logged in to view history.
Basic lighting tutorial
 This tutorial assumes that you have no knowledge of mapping, or no knowledge of using any version of Radiant.

For this tutorial I have created a room (hollow box) with the dimensions of (approx: 512 x 512 x 512) similar to the one created in the previous tutorial.

Note : The kind of light we are going to cover is the light that is emitted by a standard lamp or light fitting. It is not sunlight and these types of lights should not be used to light large outdoor areas. If you wish to learn how to create sunlight, please feel free to read the Sunlight tutorial.

To add a light to your level right click on the map. Select light from the long list that appears and voila, your first light.



At the moment the light is white and has an inner radius of 300 units. Lets change the colour of the light. There are 2 ways to do this:

(1) With the light still selected (red border) press k. This brings up the colour chooser. Simply select the colour you want. If gone for red.


(2) With the light selected press n. This brings up the entities properties. Find the key and value entry boxes. In the key box type _color. In the value box type the RGB number for the colour you want ie : 0.0 0.0 1.0 is blue, 1.0 0.0 0.0 is red and so on. Hit return and the light should turn to that colour.


Changing the radius of the light is done in the same way. With the entity properties box still open, type light in the key box, and a number under the value. The number is the "range" of the light. Place an infoplayerstart into your map, save, compile and then enjoy.


Note 1 : Always have a "source" for a light. i.e a lamp or light model. It makes the map look far more professional.

Note 2 : The inner radius of your light should never be allowed to "touch" / enter the void or you will get a light leak.

Written by Surgeon

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»