Cleanup is going to take awhile, so the site is back up but editing has been disabled.

Spotlight beam

From HalfLife 2 Knowledge Base

Jump to: navigation, search

Ever wanted to create your own version of the combine spot light?

With much trial and error, this tutorial was formed (to help you not have to go through the same crap!)


Spotlights

The following tutorial should produce results much like this:

spotlighttut015bx.jpg

or indeed:

spotlighttut029wh.jpg

First, create your spotlight or light source. This can be anything from a neon strip light to a inset light fitting in the ceiling to - a spotlight. I've used a prop_static for the benefit of this tutorial - model name: props_wasteland/light_spotlight01_lamp.mdl

Place the model but don't orientate it to shine the direction you want just yet. That comes later. Next, place a light_spot at the bulb end, and set it up to shine in the direction the spotlight is facing. For my searchlight model, this is already set up. I just had to move the light_spot into a decent position on the model. Give the light a suitably high brightness (800 for mine).

Finally, add a point_spotlight, and position it at the same place as the spotlight. Alter the beam width, length and colour to get the desired beam effect.

3D view:

spotlighttut035vb.jpg

From above:

spotlighttut040qs.jpg

To position and orientate the search light properly, simply group the 3 entities and use the rotate handles (click the entities twice to get the round corner handles, and move them till the light is orientated for how you like. This saves hours in calculating angles and all that!

spotlighttut052tm.jpg

Compile and enjoy the light in all its volumetric glory!

--Rovient 11:42, 10 Dec 2004 (EST)

Personal tools