Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Trigger Light
From HalfLife 2 Knowledge Base
by Social-Zero
This is a beginners friendly tutorial that will explain how you can use a trigger_once entity
to turn on lights in your maps.
Step 1:
Create a basic room without anything fancy. All you need is a info_player_start inside the room.
Step 2:
Next you place a light in the middle of the room like on this picture:
Step 3:
Select the light and edit the properties. Give it your desired brightness and make sure to check "Initially Dark" at the Flags options. That way the light will be turned OFF at the start of your map. You also need to give the light a name. For this tutorial I have named it "light_1".
Next we need to create our trigger which will allow the light to be turned ON. So create a block and tie it to the entity trigger_once like in this picture: (note : give the trigger the texture " trigger ")
Step 4:
Now for the important part
Select your trigger block and edit the properties. Leave everything as it is but click the "Outputs" tab. Click on "Add" And make it look like this picture.
Basicly we're telling the engine to turn On the light when the player touches your trigger.
Once you have done that , click apply.
Now compile your map and test it out. Your light should turn on when you walk into your trigger.
Easy, right?





