BTS Light Sources: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
{{Warning|This page is incomplete, not a lot has been added.}}
{{Warning|This page is incomplete, not a lot has been added.}}


==Big Lamp==
==SpotLight Lamps==
SpotLight Lamps can be attached to the floor or ceiling.
 
===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.


Line 30: Line 33:
|}
|}


==Small Lamp==
===Small Lamp===
Create a <code>[[prop_static]]</code> entity set it's world model to <code>models/props_wasteland/light_spotlight02_lamp.mdl</code> this model is the lamp itself. The base model is <code>models/props_wasteland/light_spotlight02_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_spotlight02_lamp.mdl</code> this model is the lamp itself. The base model is <code>models/props_wasteland/light_spotlight02_base.mdl</code> disable shadows for both props.



Revision as of 16:56, 28 August 2019

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.

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
Note.pngNote:These values should be quite small due to the size of the lamp.