Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Point camera
From HalfLife 2 Knowledge Base
Contents |
[edit]
point_camera
Half-Life 2 Point Entity
[edit]
description
Camera
[edit]
properties
- Parent parentname(target_destination)
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent. - 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. - Name targetname(target_source)
The name that other entities refer to this entity by. - FOV FOV(float) - default: 90
Field of view in degrees - Screen Aspect Ratio UseScreenAspectRatio(choices)
- 0 - No
- 1 - Yes
- Fog Enable fogEnable(choices)
- 0 - No
- 1 - Yes
- Fog Color fogColor(color255) - default: 0 0 0
- Fog Start fogStart(float) - default: 2048
The near fog plane. - Fog End fogEnd(float) - default: 4096
The far fog/clipping plane.
[edit]
spawn flags
- 1: Start Off - default: OFF
[edit]
inputs
- SetParent(string)
Changes the entity's parent in the movement hierarchy. - SetParentAttachment(string)
Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. - ClearParent(void)
Removes this entity from the the movement hierarchy, leaving it free to move independently.
[edit]
outputs
none.
[edit]
see also
[edit]
related tutorials
Cameras tutorial.
Multiple Cameras tutorial.

