BTS Light Sources: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
==SpotLight Lamps==
==SpotLight Lamps==
SpotLight Lamps can be attached to the floor or ceiling.
SpotLight Lamps can be attached to the floor or ceiling.
 
[[Image:bts_light_models.jpg|thumb|right|300px|The models used for light sources. Big Lamp is on the right, Small Lamp on the left]]
[[Image:bts_light_sources_big_lamp_hammer.jpg|thumb|right|300px|The point_spotlight and light_spot are placed in front of the model]]
===Big Lamp===
===Big Lamp===
Create a <code>[[prop_static]]</code> entity set it's world model to <code>models/props_wasteland/light_spotlight01_lamp.mdl</code> this model is the lamp itself. The base model is <code>models/props_wasteland/light_spotlight01_base.mdl</code> disable shadows for both props.
Create a <code>[[prop_static]]</code> entity set it's world model to <code>models/props_wasteland/light_spotlight01_lamp.mdl</code> this model is the lamp itself. The base model is <code>models/props_wasteland/light_spotlight01_base.mdl</code> disable shadows for both props.

Revision as of 13:49, 1 May 2020


Portal Behind The Scenes Level Creation

Introduction

This page will show and teach you how to create the light sources found in the Behind The Scenes Areas.

Warning.pngWarning:This page is incomplete, not a lot has been added.

SpotLight Lamps

SpotLight Lamps can be attached to the floor or ceiling.

The models used for light sources. Big Lamp is on the right, Small Lamp on the left
The point_spotlight and light_spot are placed in front of the model

Big Lamp

Create a prop_static entity set it's world model to models/props_wasteland/light_spotlight01_lamp.mdl this model is the lamp itself. The base model is models/props_wasteland/light_spotlight01_base.mdl disable shadows for both props.

Create a point_spotlight and enter the following Properties:

Property Name Value
Color 250 240 205
HDR color scale .7
Spotlight Width 80
Spotlight Length Is how long the spotlight will go.

Create a light_spot and enter the following Properties:

Property Name Value
Brightness 250 240 205 900
Constant 500000

Small Lamp

Create a prop_static entity set it's world model to models/props_wasteland/light_spotlight02_lamp.mdl this model is the lamp itself. The base model is models/props_wasteland/light_spotlight02_base.mdl disable shadows for both props.

Create a point_spotlight and enter the following Properties:

Property Name Value
Color 250 240 205
HDR color scale .7
Spotlight Width 32
Spotlight Length Is how long the spotlight will go.

Create a light_spot and enter the following Properties:

Property Name Value
Brightness 250 240 205 900
Constant 500000
Inner (bright) Angle 1
Outside (fading) Angle 25
Focus 0.5



Todo: Add more lightsouces

See Also