Play on CSGOLuck
👁️

Viewmodel & HUD Commands

Control weapon model placement and on-screen HUD elements.

24 commands22 multiplayer safe2 require sv_cheats

All Viewmodel & HUD Commands (24)

CommandDescriptionDefault
viewmodel_fov
Viewmodel field of view (54-68)60
viewmodel_offset_x
Viewmodel horizontal offset (-2.5 to 2.5)2.5
viewmodel_offset_y
Viewmodel depth offset (-2 to 2)0
viewmodel_offset_z
Viewmodel vertical offset (-2 to 2)-1.5
viewmodel_presetpos
Viewmodel preset (1=desktop, 2=couch, 3=classic)1
cl_righthand
Right-hand (1) or left-hand (0) weapon model1
cl_bobamt_lat
Weapon bob amount — lateral movement0.4
cl_bobamt_vert
Weapon bob amount — vertical movement0.25
cl_bob_lower_amt
How much the viewmodel lowers when running21
cl_bobcycle
Bob cycle speed0.98
cl_showfps
Show FPS counter (0=off, 1=FPS, 2=FPS+frametime)0
cl_showpos
Show position, velocity, and angles on screen0
cq_netgraph
Show network graph with ping, loss, and tick info0
cl_drawhudsv_cheats
Toggle the entire HUD on or off1
cl_draw_only_deathnoticessv_cheats
Only show kill feed — hide rest of HUD0
hud_scaling
HUD scale size (0.5-0.95)0.85
cl_hud_color
HUD accent color (0-10: default, white, blue, purple, green, etc.)0
cl_hud_background_alpha
HUD background transparency (0.0-1.0)0.5
cl_hud_healthammo_style
Health/ammo HUD style (0=default, 1=simple)0
cl_hud_playercount_showcount
Show player count as number (1) or avatars (0)0
cl_hud_playercount_pos
Player count position (0=top, 1=bottom)0
cl_showloadout
Always show weapon loadout panel (0=auto-hide, 1=always)1
safezonex
Horizontal HUD safe zone (0.85-1.0)1.0
safezoney
Vertical HUD safe zone (0.85-1.0)1.0

Other Command Categories

Related Resources

Frequently Asked Questions

How many viewmodel & hud commands are there in CS2?

There are 24 viewmodel & hud commands in CS2. 22 can be used in any game mode, and 2 require sv_cheats 1.

Which viewmodel & hud commands require sv_cheats?

2 of the 24 viewmodel & hud commands require sv_cheats 1. These are only usable in private servers or offline practice mode and are blocked in competitive matchmaking.

How do I use viewmodel & hud commands in CS2?

Open the developer console by pressing the tilde key (~). If it does not open, enable it in Settings > Game > Enable Developer Console. Then type the command and press Enter. You can add these commands to your autoexec.cfg for them to run automatically on launch.

How do I save console commands permanently?

Create an autoexec.cfg file in your CS2 cfg folder (Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/) and add your commands there. End the file with host_writeconfig. These commands run automatically every time CS2 launches.

Explore more

More on CSGOLuck Wiki