Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Env sun
From HalfLife 2 Knowledge Base
Contents |
[edit]
env_sun
Source(core) Point Entity
[edit]
description
An entity to control & draw a sun effect in the sky.
[edit]
properties
- Pitch Yaw Roll (Y Z X) angles(angle) - default: 0 0 0
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis. - Viewer entity target(target_destination)
Name of an entity used to determine where the sun is in the skybox. The sun should be lined up on a line from this entity to the env_sun entity. - UseAngles use_angles(choices) - default: The old way to orient env_sun is to point it at a target. The new way is to specify the angles. If you use the new way, set this property to YES.
- 0 - No
- 1 - Yes
- Pitch pitch(integer) - default: 0
- Sun Color (R G B) rendercolor(color255) - default: 100 80 80
- Size size(integer) - default: 16
[edit]
spawn flags
none.
[edit]
inputs
- TurnOn(void)
Enable sun rendering. - TurnOff(void)
Disable sun rendering. - SetColor(color255)
Change the sun's color.
[edit]
outputs
none.
[edit]
related tutorials
Submit your tutorial for env_sun

