Call of Duty 4: Lighting
From COD Modding & Mapping Wiki
Adding the Light Entity
- In radiant, righ-click on the 2D view in Z axis and select light, as shown below, you will see a white diamond shaped entity showing up:
- Now place the light just underneath the Lamp Shade model (in this example)
- Note the red circle around the Light Entity, this is the Radius of the light. The radius is one of the properties that you can control on each Light Entity. We wont review all these properties here but note the following used in my example:
_color : this is to colorize the light, using Red Green Blue values classname : light of course! def : not covered here but covered in advanced lighting intensity : this is the strenght of the light, quite important. origin : X,Y,Z location of centre of the Light Entity radius : Default is 200, im using 100 in the example.
- Radiant offers a Light Preview which is good because you can get an idea as to what it will look like after compile; F8 is the key to press and Ctrl-F8 for Sun oreview as well.
- Finally the result in game:
--Zeroy. 00:56, 18 October 2008 (UTC)