Enemy Territory

Entities

misc_portal_camera
Keys
angles
this sets the pitch and yaw aiming angles of the portal camera (default 0 0). Use "roll" key to set roll angle.
roll
roll angle of camera. A value of 0 is upside down and 180 is the same as the player's view.
target
point this to a target_position entity to set the camera's pointing direction.
targetname
a misc_portal_surface portal surface indicator must point to this.
Spawnflags
FASTROTATE
makes the portal camera rotate faster along the roll axis.
SLOWROTATE
makes the portal camera rotate slowly along the roll axis.
This camera is used to project its view onto a portal surface in the level through the intermediary of a misc_portal_surface entity. Use the "angles" key or target a target_position or info_notnull entity to set the camera's pointing direction.
Both the setting "angles" key or "targeting a target_position" methods can be used to aim the camera. However, the target_position method is simpler. In both cases, the "roll" key must be used to set the roll angle. If either the SLOWROTATE or FASTROTATE spawnflag is set, then the "roll" value is irrelevant.

©2017 Chruker