From Custom Map Makers Wiki
Jump to: navigation, search
Info.png You have to compile your map with the -light option to see any effects.

How to add a light

Press the right mouse button inside the 2D window and choose "light". You'll be asked for an intensity. You can change it later by selecting the light entity and pressing "n".

How to make a colored light

Select the light entity and press "k". This will open a color selection dialog.

How to create point lights

Create a new light entity as described above. Create an info_null entity as a target for the light. Deselect the entity, select the light and select the info_null again. Then press Control-K to connect the light to the entity.

Error.png Don't use target_position entities as targets. These entities stay ingame which is not needed for lights.