PDA

View Full Version : [How to create Awesome Lamps/Lights]



TrEmPlEr
26-01-2011, 05:54 AM
Ok this is my first Tutorial and it explain how you create better looking Lamps with a cool Glow effect.
Ok i explain now Step by Step.:

1.
Create a normal Lamp:
http://img19.imageshack.us/img19/1041/part1i.gif
Created out of 5 brushes. Looking Ok so far.

2.
Adding some extra stuff:
http://img135.imageshack.us/img135/4954/part2.gif
Here i use extra brush with a { texture.
Select now all 6 Brushes and create a func_illusionary.
Set Render Mode to Solid and,
FX Ammount to 255.
Easy or ? You could use a Glas texture too.

3.
Do you hear it ?:
http://img507.imageshack.us/img507/873/part3.gif
Hell yeah, now lets add a ambient_generic, for a cool neon lamp sound.
(You need to find a fitting sound or maybe i add here the file i used later)
Settings for the ambient_generic are:
Volume : 5
Play Mode : Loop
And Flag,
Small Radius.

Great!

4.
Spot on!:
http://img405.imageshack.us/img405/3977/part4.gif
Ok now we add a light_spot,
settings are:
Pitch Yaw Roll : 90 0 0
Inner (bright) angle : 10
Outer (fading) angle : 35
Pitch : -90
Brightness : 243 153 92 450
Appearance : Flicker B

5.
Shinyyyy:
http://img441.imageshack.us/img441/1441/part5.gif
No we add env_sprites to the lamp to simulate a glow/shine effect,
I use 7 env_sprites for my lamp.
settings are:
Render Mode : Glow
FX Amount : 255
FX Color : 243 153 92
Scale : 1.25
Flags:
Start on.

Nearly done!

6.
Now add a Clipbrush to the lamp to save clipnodes and it is easier to copy paste. :)
http://img513.imageshack.us/img513/3233/part6.gif

7.
Open your Lights.rad and create Texture light too for your lamp.
like this:
~lampa 250 206 201 50

8.
Compile your map and test it out. I use these settings to compile:

hlcsgv2.exe testmap -texdata 8192 -cliptype precise -estimate -chart -nowadtextures
hlbspv2.exe testmap -texdata 8192 -estimate -chart
hlvisv2.exe testmap -texdata 8192 -estimate -chart -full
hlradv2.exe testmap -texdata 8192 -estimate -chart -bounce 1 -extra -sparse -dscale 1 -gamma 0.88

9. Test the Bsp :)

This is how it looks ingame:
http://img529.imageshack.us/img529/494/lichtlein1.jpghttp://img146.imageshack.us/img146/8707/lichtlein2.jpg


I hope you liked it :)

The settings i use are for a dark/horror like map you can change them as you like.

:doc:

Puchi
26-01-2011, 10:02 AM
as sound you can use ambient/flourescent.wav

Streamfox
26-01-2011, 10:14 AM
Nice tut Mr. Tremp. Also you can use info_texlights point entity to add extra light infos to your map. Sometimes better.

Qwerty
26-01-2011, 11:26 AM
You should provide an example RMF/MAP/BSP.

Also, you should create a thread on [How to be Awesome].

Otherwise, I like it.

Kirito
11-02-2017, 06:00 PM
I have this strange feeling that here is something missing ~