BTS Light Sources: Difference between revisions
No edit summary |
No edit summary |
||
| Line 29: | Line 29: | ||
| Constant || 500000 | | Constant || 500000 | ||
|} | |} | ||
==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>[[point_spotlight]]</code> and enter the following Properties: | |||
{| class=standard-table | |||
! Property Name || Value | |||
|- | |||
| Color || 250 240 205 | |||
|- | |||
| HDR color scale || .7 | |||
|- | |||
| Spotlight Width || 32 | |||
|- | |||
| Spotlight Length || <code>Is how long the spotlight will go.</code> | |||
|} | |||
Create a <code>[[light_spot]]</code> and enter the following Properties: | |||
{| class=standard-table | |||
! Property Name || Value | |||
|- | |||
| Brightness || 250 240 205 900 | |||
|- | |||
| Constant || 500000 | |||
|} | |||
{{note|These values should be quite small due to the size of the lamp.}} | |||
Revision as of 15:31, 28 August 2019
Introduction
This page will show and teach you how to create the light sources found in the Behind The Scenes Areas.
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 |