Client command reference - tmp64/BugfixedHL-Rebased GitHub Wiki
Command | Values | Comment |
---|---|---|
m_input | -1/0/1/2 | Mouse input method: -1 - autodetect 0 - engine 1 - DirectInput (Windows-only) 2 - SDL2 Raw Input (SteamPipe-only) |
r_dynamic_ent_light | 0/1 | Enables/disables dynamic lighting (flashlight, explosions, RPG rockets). Helps on slow integrated graphics cards. |
customtimer | <interval in seconds> [timer number 1|2] | This command will start countdown of custom timer from specified second to zero and will emit sound "bell" when timer will reach 0. There are two undependent custom timers. If timer number isn't specified it is assumed 1. |
cl_messages_dump | - | Dumps currently registered user messages with their ids and lengths. Mostly needed for developers. |
update_check | - | Checks for new DLL updates. |
update_changelog | - | If an update was found, shows the changelog. |
cl_check_for_updates | 0/1 | Check for updates automatically on game launch. |
cl_enable_html_motd | 0/1 | Enables/disables support for HTML MOTDs |
cl_hidecorpses | 0/1 | Disables all player corpses. |
cl_killsound | 0/1 | Play a bell sound on kill |
default_fov | degrees (90) | Default horizontal field of view. Doesn't scale with monitor width, it's recommended to set it to 105-115 for wide screens (16:9, 16:10). |
about | - | Prints information about client library. |
bhl_validate_files | - | Validates the integrity of BugfixedHL files. |
showtriggers | 0/1 | Shows trigger brushes on the listen server. |
Command | Values | Comment |
---|---|---|
+ljump | - | Issue long jump action to the server, that is +duck and +jump combination Needs to be bound to a key. |
- |
Removed! Use cl_autojump 1 instead.Issue +jump action when the floor is touched, it is issued at exact frame so you will not loose any speed if compared to other ways of doing bunny hop. Needs to be bound to a key. |
|
+ducktap | - | When bound to a key and held, issues crouching exact frame that ground was touched. Allows maintaining high speed without jumping. |
cl_bhopcap | 0/1/2 | Enables/disable bhop speed limit. Value 2 detects it automatically to match the server. |
cl_jumptype | 0/1 | Enables/disables decent jump. If 1, jump command will always be sent on exact frame the ground was hit, helps with manual bhopping. |
cl_autojump | 0/1 | When +jump (spacebar) is held, issue +jump action when the floor is touched, it is issued at exact frame so you will not loose any speed if compared to other ways of doing bunny hop. |
cl_autojump_priority | 0/1 | If enabled, autojump takes priority over ducktap. |
bhop_reset | - | Resets BHop auto-detection. Use if it was detected incorrectly (e.g. due to lag). |
Command | Values | Comment |
---|---|---|
forcemodel | <slot number or player name> [model name] | Slot number (can be seen in status command output in first column, range is from 1 to 32. Model name, if specified, will be used for model replacement on given player. If empty, will reset model replacement. |
forcecolors | <slot number or player name> [top and bottom colors] | Slot number (can be seen in status command output in first column, range is from 1 to 32. Top and bottom colors, for example "90 30" (could be used without quotes too). If specified, will be used for colors replacement on given player. If empty, will reset colors replacement. |
cl_forceenemymodels | "model1; model2..." |
List of models for replacing enemy models. If you don't like various custom player models that servers likes to upload you can use cl_forceenemymodels "zombie;scientist;robo;recon;hgrunt;helmet;gordon;gman;gina;barney" to force using of default model. |
cl_forceenemycolors | "color1 color2" E.g. "90 30" |
Top and bottom colors for enemy colors replacing. |
cl_forceteammatesmodel | "model1" | A model for replacing teammates models. |
cl_forceteammatescolors | "color1 color2" | Top and bottom colors for teammates colors replacing. |
cl_righthand | 0/1 | Show the weapon in left hand |
cl_viewmodel_ofs_right | inches (0) | Viewmodel right offset |
cl_viewmodel_ofs_forward | inches (0) | Viewmodel forward offset |
cl_viewmodel_ofs_up | inches (0) | Viewmodel up offset |
cl_viewmodel_fov | degrees or 0 | Sets the field-of-view for the viewmodel |
cl_bob_angled | 0/1 | Enables the angled weapon viewmodel bobbing |
cl_rollangle | degrees or 0 | Max viewroll angle |
cl_rollspeed | float (200) | Max viewroll speed |
cl_viewmodel_hltv | bitfield (0) | Disables animations of the viewmodel 0 - nothing is disabled +1 - disables idle animations +2 - disables equip animations +4 - disables shooting animations +8 - disables reload animations 7 - disables all above but reloading 15 - disables all listed above |
cl_noshells | 0/1 | Disables shells ejected from weapons when firing |
Command | Values | Comment |
---|---|---|
hud_client_renderer | 0/1 | Enable client-side HUD sprite rendering (improves clarity of sprites) |
hud_centerid | 0/1 | Show other players' names in the middle of the screen |
hud_color "255 160 0" | "R G B" | Color of hud elements in RGB format. Used for all elements, but health, armor and ammo. |
hud_color1 "0 255 0" hud_color2 "255 160 0" hud_color3 "255 96 0" |
"R G B" | Colors of health and armor in RGB format. hud_color1 used for value >= 90, hud_color2 for 50 <= value < 90 and hud_color3 for 25 < value < 50. Also hud_color3 is used for armor value <= 25. Health for values <= 25 draws in red (can't be changed via cvars). |
hud_colortext | 0/1/2 | Configure color codes processing in hud, chat, death list, spectator panel, scoreboard, status bar. 0 turn off color codes processing. 1 (default) colorize text acording to color codes in chat, death list, status bar and remove color codes in hud, spectator panel, scoreboard. 2 remove color codes, but do not colorize text. |
hud_deathnotice_time | seconds (6) | How long should death notice (kill feed line) stay up for |
hud_dim | 0/1 | Enable (default)/disable dimming of health, armor, ammo and other elements when they are inactive (not changed recently). |
hud_draw | 0.0 - 1.0 | Opacity of the HUD, 0 disables it |
hud_drawhistory_time | seconds (5) | How long should ammo history stay up for in seconds |
hud_nextmap | 0/1/2 | Enable/disable nextmap show in the hud on the map end. 0 turn off nextmap show in hud. 1 show nextmap for about 30 seconds starting from 60 till the end. 2 show nextmap last 60 seconds of the map. |
hud_scores | 0/number of lines | Maximum number of lines for on-screen HUD scoreboard, 0 to disable |
hud_scores_pos | X Y (30 50) | Position of on-screen scoreboard |
hud_speedometer | 0/1 | Enables/disables speedometer on the bottom of the screen |
hud_speedometer_below_cross | 0/1 | Move speedometer to below the crosshair |
hud_takesshots | 0/1 | Whether or not to automatically take screenshots at the end of a round |
hud_timer | 0/1/2/3 | Enable/disable show of timer in hud. Timer has three modes: 0 will turn timer off, 1 will show time left on current map, 2 will show time passed on current map, 3 will show your PC local time. Timer will get map time limit directly from server rules, so it will work on most servers. It will not work on some servers where paranoid admins removed server rules. Also it will not display left time if there is no time limit on server. |
hud_weapon | 0/1 | Enable/disable displaying sprite of currently selected weapon. Default off. |
hud_rainbow | 0/1 | Enables Rainbow HUD. See the link for demonstration and cvars. |
hud_deathnotice_color "255 80 0" | "R G B" | Color of death notice sprite |
hud_deathnotice_color_tk "10 240 10" | "R G B" | Color of death notice teamkill sprite |
hud_jumpspeed | 0/1 | Show the speed at the moment of the last jump |
hud_jumpspeed_below_cross | 0/1 | Move jumpspeed to below the crosshair |
hud_menu_fkeys | 0/1 | EnaUse keys F1-F10 in the menus. Default on. |
hud_menu_fkeys_cooldown | seconds (1.5) | Cooldown of F1-F10 keys after the menu closes. Default: 1.5 s. |
hud_deathnotice_vgui | 0/1 | Use VGUI deathnotice panel |
hud_deathnotice_time_self | seconds (12) | How long should your death notices stay up for |
hud_strafeguide | 0/1 | Enable strafing HUD |
hud_strafeguide_zoom | float (1) | Changes zoom for the strafing HUD |
hud_strafeguide_height | pixels/0 | Changes height for the strafing HUD |
hud_strafeguide_size | pixels/0 | Changes size for the strafing HUD |
cl_hide_center_messages | 0/1 | Hide the center messages, useful when recording HLKZ movies |
cl_draw_deathnotices_always | 0/1 | Display the kill feed even when hud_draw is 0. Useful when recording frag movies |
cl_draw_messages_always | 0/1 | Display the server messages even when hud_draw is 0. Useful when recording HLKZ movies |
Command | Values | Comment |
---|---|---|
hud_saytext | 0/1 | Enable/disable the chat. |
hud_saytext_sound | 0/1 | Play a sound on new chat message |
hud_saytext_time | seconds (12) | How long for new messages should stay on the screen |
cl_mute_all_comms | 0/1 | If 1, then all communications from a player will be blocked when that player is muted, including chat messages. |
Command | Values | Comment |
---|---|---|
hud_scoreboard_mousebtn | 0/1/2 | Selects mouse button that shows the cursor. 0: none 1: MOUSE1 (default) 2: MOUSE2 |
hud_scoreboard_showavatars | 0/1 | Shows/hides avatars in the scoreboard. |
hud_scoreboard_showsteamid | 0/1 | Shows/hides SteamIDs in the scoreboard. |
hud_scoreboard_showeff | 0/1 | Shows/hides efficiency in the scoreboard. |
hud_scoreboard_effpercent | 0/1 | Sets whether or not efficiency will be displayed in percents |
hud_scoreboard_efftype | 0/1 | Selects efficiency calculation formula. 0: Kills / Deaths 1: Kills / (Deaths + 1) 2: Kills / (Kills + Deaths) |
hud_scoreboard_showloss | 0/1 | Shows/hides loss value in the scoreboard. |
hud_scoreboard_size | 0/1/2 | Changes how tall should scoreboard rows be. 0: automatic based on whether or not all players can fit on the screen. (default). 1: always large. 2: always compact. |
hud_scoreboard_spacing_normal | 0/pixels | Height of rows for normal (large) mode. |
hud_scoreboard_spacing_compact | 0/pixels | Height of rows for compact mode. |
Command | Values | Comment |
---|---|---|
cl_cross_enable | 0/1 | Use custom crosshair insted of default sprite one. |
cl_cross_red | 0-255 | Red component of crosshair color. |
cl_cross_green | 0-255 | Green component of crosshair color. |
cl_cross_blue | 0-255 | Blue component of crosshair color. |
cl_cross_gap | pixels | Gap between lines. |
cl_cross_size | pixels | Length of the lines. |
cl_cross_thickness | pixels | Width of the lines. |
cl_cross_outline_thickness | pixels | Thickness of the outline. |
cl_cross_dot | 0/1 | Whether or not show a dot in the middle. |
cl_cross_t | 0/1 | If 1, changes crosshair from + to T. |
cl_cross_zoom | 0/1/2 | Zoomed crosshair mode: sprite, custom, both |
Command | Values | Comment |
---|---|---|
results_demo_autorecord | 0/1 | Enable/disable automatic recording of the demo after joining a server. Demo recording is automatically restarted after a map change. Default off. |
results_demo_keepdays | number (14) | Days to keep automatically recorded demos. They are listed in tempdemolist.txt file in the mod folder (valve or valve_language) and purged on game start. You can manually remove demos from the tempdemolist.txt file to prevent automatic deletion. Default: 14 |
results_log_chat | 0/1 | Enable/disable chat logging into a file. Default off. |
results_log_other | 0/1 | Enable/disable other messages (like kill messages and others in the console) logging into a file. Default off. |