This article's documentation is for the "GoldSrc" engine. Click here for more information.

Dod camera (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot under supervision.)
Line 1: Line 1:
{{entity|dod_camera|<!--sprite=1-->|type=point|engine=gldsrc|game=Day of Defeat}} This entity is a special version of the [[trigger_camera_(GoldSrc)|trigger_camera]] entity for Day of Defeat. It is used to create cineastic cutscenes where the camera takes over the view of players.
{{this is a|point|<!--sprite=1-->|name=dod_camera|engine=gldsrc|game=Day of Defeat}} This entity is a special version of the [[trigger_camera_(GoldSrc)|trigger_camera]] entity for Day of Defeat. It is used to create cineastic cutscenes where the camera takes over the view of players.


==Key Values==
==Key Values==

Revision as of 08:16, 4 January 2024

dod_camera is a point available in Day of Defeat Day of Defeat.

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{gldsrc}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to GoldSrc.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

This entity is a special version of the trigger_camera entity for Day of Defeat. It is used to create cineastic cutscenes where the camera takes over the view of players.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Target (target) <targetname>
Target Path.
Acceleration units/sec^2 (acceleration) <string>
Stop Deceleration units/sec^2 (deceleration) <string>
Path Corner (moveto) <string>
Name of the first path_corner entity to make the camera move.
Zoom FOV (zoomlevel) <integer>
Set camera zoom.
dod_camera View (cam_overlay) <choices>
Value Description
0 normal
1 Scope (20)
2 Binoculars (50)
3 Widescreen (110)
dod_camera Fade (cam_fade) <choices>
Value Description
0 normal
1 black (instant fade out)
2 fast fade out (2 sec)
3 fast fade in (2 sec)
4 slow fade out (4 sec)
5 slow fade in (4 sec)
Subtitle (subtitle) <integer>
Killtarget (killtarget) <targetname>
Delay before trigger (delay) <string>
Delay before trigger in seconds
Team that is bound to (teambound) <choices>
Determines which team the camera scene is for.
Value Description
0 Allies
1 Axis
2 Both
Hold time (wait) <integer>
Trigger on End (triggerend) <integer>
Trigger to start the camera scene.
Trigger on Start (triggerstart) <integer>
Trigger to end the camera scene.
Initial Speed (speed) <integer>
Speed of the camera movement.

Flags

Start At Player : [1]
Camera starts at players eye position.
Follow Player : [2]
Camera uses the player as target.
Freeze Player : [4]
Prevent player actions during camera scene.