GEEKHUB / COUNTER-STRIKE 2

CS2 Viewmodel Commands

Browse documented viewmodel console commands.

7 documented commands
Browse command categories 18 topics
How to use console commands

Enable the developer console in game settings, open it using your assigned key, then enter a command. Check its context before use. Server commands require appropriate server permissions; practice-only commands belong in controlled sessions.

7 commands
CommandDescription & syntaxCompatibilityActions
viewmodel_fovViewmodel · Client

Changes the field of view of the rendered held item, not the world camera.

Syntax & details
viewmodel_fov <number>

Example

viewmodel_fov 68
Category
Viewmodel
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
viewmodel_offset_xViewmodel · Client

Adjusts horizontal placement of the held item.

Syntax & details
viewmodel_offset_x <number>

Example

viewmodel_offset_x 2.5
Category
Viewmodel
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
viewmodel_offset_yViewmodel · Client

Adjusts the forward or backward viewmodel offset.

Syntax & details
viewmodel_offset_y <number>

Example

viewmodel_offset_y 0
Category
Viewmodel
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
viewmodel_offset_zViewmodel · Client

Changes vertical viewmodel placement.

Syntax & details
viewmodel_offset_z <number>

Example

viewmodel_offset_z -1.5
Category
Viewmodel
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
viewmodel_presetposViewmodel · Client

Apply a predefined first-person weapon position.

Syntax & details
viewmodel_presetpos <1 / 2>

Example

viewmodel_presetpos 2
Category
Viewmodel
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
cl_prefer_lefthandedViewmodel · Client

Choose the left-hand weapon presentation as your preference.

Syntax & details
cl_prefer_lefthanded <0 / 1>

Example

cl_prefer_lefthanded 1
Category
Viewmodel
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
sv_allow_switching_weapon_handednessViewmodel · Server

Controls permission to switch weapon hand; description inferred from identifier.

Syntax & details
sv_allow_switching_weapon_handedness [value (optional; omit to inspect)]

Example

sv_allow_switching_weapon_handedness
Category
Viewmodel
Context
Server
Type
ConVar
Reference value
true
Documented values
0 / 1 (boolean)
CS2 reference
Details →

Copy manually

Clipboard access is unavailable. Select and copy the text below.