info_view_parameters

From Valve Developer Community
Jump to: navigation, search
Info.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, and it may only exist/function in older engine branches.
Class hierarchy
CInfoViewParameters
CBaseEntity
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>
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