Info view parameters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Ent not in fgd}}
{{Ent not in fgd|nolink=1|because=it is nonfunctional}}
{{obsolete}}
{{obsolete}}
{{CD|CInfoViewParameters|file1=info_view_parameters.cpp}}
{{CD|CInfoViewParameters|file1=info_view_parameters.cpp}}

Revision as of 07:47, 27 March 2025

Icon-NotInFGD.png
This entity is not in the Left 4 DeadLeft 4 Dead 2 FGD by default.
It should not be put directly in a map because it is nonfunctional.
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, as the code for it is empty; 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