Viewmodel & HUD Commands
Adjust your weapon viewmodel position and HUD display settings.
All Viewmodel & HUD Commands (24)
viewmodel_fovViewmodel field of view (54-68)
viewmodel_offset_xViewmodel horizontal offset (-2.5 to 2.5)
viewmodel_offset_yViewmodel depth offset (-2 to 2)
viewmodel_offset_zViewmodel vertical offset (-2 to 2)
viewmodel_presetposViewmodel preset (1=desktop, 2=couch, 3=classic)
cl_righthandRight-hand (1) or left-hand (0) weapon model
cl_bobamt_latWeapon bob amount — lateral movement
cl_bobamt_vertWeapon bob amount — vertical movement
cl_bob_lower_amtHow much the viewmodel lowers when running
cl_bobcycleBob cycle speed
cl_showfpsShow FPS counter (0=off, 1=FPS, 2=FPS+frametime)
cl_showposShow position, velocity, and angles on screen
cq_netgraphShow network graph with ping, loss, and tick info
cl_drawhudToggle the entire HUD on or off
cl_draw_only_deathnoticesOnly show kill feed — hide rest of HUD
hud_scalingHUD scale size (0.5-0.95)
cl_hud_colorHUD accent color (0-10: default, white, blue, purple, green, etc.)
cl_hud_background_alphaHUD background transparency (0.0-1.0)
cl_hud_healthammo_styleHealth/ammo HUD style (0=default, 1=simple)
cl_hud_playercount_showcountShow player count as number (1) or avatars (0)
cl_hud_playercount_posPlayer count position (0=top, 1=bottom)
cl_showloadoutAlways show weapon loadout panel (0=auto-hide, 1=always)
safezonexHorizontal HUD safe zone (0.85-1.0)
safezoneyVertical 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.