Viewmodel & HUD Commands
Adjust your weapon viewmodel position and HUD display settings.
All Viewmodel & HUD Commands (24)
viewmodel_fov Viewmodel field of view (54-68)
viewmodel_offset_x Viewmodel horizontal offset (-2.5 to 2.5)
viewmodel_offset_y Viewmodel depth offset (-2 to 2)
viewmodel_offset_z Viewmodel vertical offset (-2 to 2)
viewmodel_presetpos Viewmodel preset (1=desktop, 2=couch, 3=classic)
cl_righthand Right-hand (1) or left-hand (0) weapon model
cl_bobamt_lat Weapon bob amount — lateral movement
cl_bobamt_vert Weapon bob amount — vertical movement
cl_bob_lower_amt How much the viewmodel lowers when running
cl_bobcycle Bob cycle speed
cl_showfps Show FPS counter (0=off, 1=FPS, 2=FPS+frametime)
cl_showpos Show position, velocity, and angles on screen
cq_netgraph Show network graph with ping, loss, and tick info
cl_drawhud Toggle the entire HUD on or off
cl_draw_only_deathnotices Only show kill feed — hide rest of HUD
hud_scaling HUD scale size (0.5-0.95)
cl_hud_color HUD accent color (0-10: default, white, blue, purple, green, etc.)
cl_hud_background_alpha HUD background transparency (0.0-1.0)
cl_hud_healthammo_style Health/ammo HUD style (0=default, 1=simple)
cl_hud_playercount_showcount Show player count as number (1) or avatars (0)
cl_hud_playercount_pos Player count position (0=top, 1=bottom)
cl_showloadout Always show weapon loadout panel (0=auto-hide, 1=always)
safezonex Horizontal HUD safe zone (0.85-1.0)
safezoney Vertical HUD safe zone (0.85-1.0)
Other Command Categories
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.