Pick up the crowbar of research scientist Gordon Freeman, who finds himself on an alien-infested Earth being picked to the bone, its resources depleted, its populace dwindling. Freeman is thrust into the unenviable role of rescuing the world from the wrong he unleashed back at Black Mesa. And a lot of people, people he cares about, are counting on him.

Post tutorial Report RSS Creating the Perfect Light/Light Effect

Create the perfect street light, or high quality light, for HL2.

Posted by on - Intermediate Mapping/Technical

[page=Introduction]
So, you wanna make that perfect street light, or a basic light in a room with good quality? Go to next page for step by step guide.

[page=Creating It]

  • After you have a map opened, see the "Objects" tab to the right of your screen?
  • Click the box and Type in 'prop_dynamic'.

    Tutorial Image

  • Click the 'Entity Tool'(4th one down from the left menu) Entity tool
  • Click anywhere on the top view. After centering the top view with the green box, press enter.
  • Green Box

  • Click the prop_dynamic (purple block) and press alt+enter.
  • Now you are editing the entities properties. Select "World Model" and type in the box 'models/props_c17/lamppost03a_off.mdl'. Click Apply.
  • Now your model will show up. Make sure it's in the ground somewhere.
  • Go to the "Objects" tab again, and type 'point_spotlight' in the box.
  • Click on the top view grid, and center it on the model (right in the center of the purple box on the grid).
  • Now, look on the front grid, and put it right at the top of the model, and it has to be centered in on the purple box. Press enter.

  • Now you'll see this weird looking pointy thing.
  • Select the point_spotlight entity, and rotate it from the side view (guide it with the yellow line), to point downwards. We want to give it that little beam of light to be facing down on a street.

    Point Spot light gizmo

  • Click the objects box again, and type in 'light_spot'.
  • Center and allign it up exactly where your point_spotlight was. It will automatically be facing down, so dont worry about it.

    Light Spot gizmo

  • Now for the final step of the light procedure, go in the objects box again and type in 'light'.
  • You want to make your light a little distance (not too much) from the ground and not too close to the spotlight/point_spotlight. Keep it at a fair distance.

    Editor View

[page=Final Result]

Final Image

Example Map Download: Download Here

Well, hope this helps, because its really a basic thing to know for mapping in HL2. Everyone likes that little beam of light because it makes it look a little 'eye-candy'ish. Hope you like!

Post comment Comments
Minigun_Fiend
Minigun_Fiend - - 83 comments

That should be a prop static, it doesnt need to do anything.

Reply Good karma Bad karma+1 vote
Ripper_hugme
Ripper_hugme - - 82 comments

Add a env_lightglow to the lightspot and it will have an enhanced glow

> Leave at default horizontal and vertical size (30).
Set minimum distance to 5 and max to 15, min= how far before effect is seen max= how
far before at full intesity.
Set outer distance to about 1000, this depends how far you want to be before the effect
fades away.
Don't bother with glow proxy that is advanced, in the flags there is 'only visible from
front' leave this unchecked, this is only useful for a point were you are only going to
see the effect from one angle eg. like a huge sunglow and not a streetlight, adjust
front in pitch yaw roll (XZY)

> Adjust color to suit light and there you have it, a good ol' ho'down of a glow effect.

try not to overuse the effect though cause of map-budget and FPS (frames per second).

Reply Good karma Bad karma+2 votes
SgtJman
SgtJman - - 117 comments

Hmmm, using a light_spot and a light, ingenious I would hae never thought of that!

Reply Good karma Bad karma+2 votes
Stallion001 Author
Stallion001 - - 86 comments

That should be a prop static, it doesnt need to do anything.


Yes i made a slight misprint...

I had it backwards back then and never changed it :P

Dynamic = Models with Animations
Static = Stationary

Reply Good karma+1 vote
Kester
Kester - - 175 comments

You'll also want to check the flag in point_spotlight called "No Dynamic Light"

Reply Good karma Bad karma+1 vote
sebban
sebban - - 3 comments

Hello

Where can i find "World Model" ? (please help):P

Reply Good karma Bad karma+1 vote
Ripper_hugme
Ripper_hugme - - 82 comments

when selecting a prop entity press ALT Enter to see variables.

the streetlight is in prop_c17

Reply Good karma Bad karma+1 vote
sebban
sebban - - 3 comments

ok. thank you:)

Reply Good karma Bad karma+1 vote
Raider451
Raider451 - - 165 comments

stallion001 wrote: Dynamic = Models with Animations

Also, dynamic props can be parented to moving entites.

Reply Good karma Bad karma+1 vote
drhead
drhead - - 59 comments

Also this tut is crap <.< sry but really ..

Reply Good karma Bad karma-3 votes
MrMattWebb
MrMattWebb - - 1,803 comments

Helped me and others I'm sure.

Reply Good karma Bad karma+4 votes
zackiller25
zackiller25 - - 260 comments

I agree, it should be a static.

Reply Good karma Bad karma+1 vote
EDOC32
EDOC32 - - 242 comments

hey hi, the tutorial is very good, but a question, I have the source sdk recently and trying to make a map for HL2 and put the HAMMER not I see the textures, you can help me please? greetings.

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: