info_view_parameters

From Valve Developer Community
Jump to navigation Jump to search
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.
Class hierarchy
CInfoViewParameters
CBaseEntity
info_view_parameters.cpp

info_view_parameters is a logical entity available in Counter-Strike seriesCounter-Strike series Counter-Strike series and Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series.

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) <integer choices>
Defines the view mode.
Value SmartEdit Description
0 Old Eye level: 64, FOV: 75
1 New Eye level: 53.5, FOV: 90