Info view parameters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(Mark as obsolete)
Line 1: Line 1:
{{Ent not in fgd}}
{{Ent not in fgd}}
{{obsolete}}
{{CD|CInfoViewParameters|file1=info_view_parameters.cpp}}
{{CD|CInfoViewParameters|file1=info_view_parameters.cpp}}
{{this is a|point entity|game1=Counter-Strike: Global Offensive|name=info_view_parameters|game=Counter-Strike: Source|game2=Left 4 Dead|game3=Left 4 Dead 2}}
{{this is a|point entity|game1=Counter-Strike: Global Offensive|name=info_view_parameters|game=Counter-Strike: Source|game2=Left 4 Dead|game3=Left 4 Dead 2}}


This entity chooses the visual parameters. You can choose between old and new eye levels and [[Field_of_View|Field of View]] settings.
This entity chooses the visual parameters. You can choose between old and new eye levels and [[Field_of_View|Field of View]] settings.
{{confirm|Does not work in current versions of CS:S and CS:GO; is there any version where it does?}}


==Keyvalues==
==Keyvalues==

Revision as of 17:49, 12 November 2024

Icon-NotInFGD.png
This entity is not in the Left 4 DeadLeft 4 Dead 2 FGD by default.
See below for instructions on making it available.
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
C++ Class hierarchy
CInfoViewParameters
CBaseEntity
C++ info_view_parameters.cpp

info_view_parameters is a point entity available in Counter-Strike: Source Counter-Strike: Source, Counter-Strike: Global Offensive Counter-Strike: Global Offensive, Left 4 Dead Left 4 Dead, and Left 4 Dead 2 Left 4 Dead 2.

This entity chooses the visual parameters. You can choose between old and new eye levels and Field of View settings.

Confirm:Does not work in current versions of CS:S and CS:GO; is there any version where it does?

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

View mode (ViewMode) <choices>
Defines the view mode.
Value Description
Old Eye level: 64, FOV: 75
New Eye level: 53.5, FOV: 90