Info view parameters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:info_view_paramters}}
{{Ent not in fgd|nolink=1|because=it is nonfunctional}}
{{base point multi|info_view_parameters|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}}
{{obsolete}}
{{CD|CInfoViewParameters|file1=info_view_parameters.cpp}}
{{this is a|logical entity|name=info_view_parameters|game=Counter-Strike series|game1=Left 4 Dead series}}


==Entity description==
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 choose 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, as the code for it is empty; is there any version where it does?}}


==Keyvalues==
==Keyvalues==
* {{KV Targetname}}
{{KV Targetname}}
{{KV|View mode|choices|Defines the view mode.}}
{{KV|View mode|intn=ViewMode|integer choices<!-- not bool -->|Defines the view mode.}}
:{| class=standard-table
:{| class=standard-table
!| Value || Description
!| Value || SmartEdit || Description
|-
|-
| Old || Eye level: 64, FOV: 75
| 0 || Old || Eye level: 64, FOV: 75
|-
|-
| New || Eye level: 53.5, FOV: 90
| 1 || New || Eye level: 53.5, FOV: 90
|}
|}
==Inputs==
{{I Targetname}}
==Outputs==
{{O Targetname}}

Latest revision as of 04:55, 14 May 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 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