-
-
Notifications
You must be signed in to change notification settings - Fork 71
List_of_console_variables
Andrew McWatters edited this page Nov 23, 2019
·
5 revisions
Name | Default | Min | Max | Description |
---|---|---|---|---|
cl_footsteps | 0 | Plays footstep sounds for players | ||
cl_interpolate | 0 | Perform client-side interpolation | ||
cl_predict | 1 | Perform client-side prediction | ||
cl_updaterate | 20 | Sets the client tick rate | ||
con_enable | 0 | Allows the console to be activated | ||
gui_draw_frame_focus | 0 | Draws bounds around the focused frame | ||
gui_draw_translucency | 1 | Toggles gui translucency | ||
gui_element_selection | 0 | Start element selection | ||
host_ip | Host game server ip | |||
host_maxplayers | 1000 | 0 | 1000 | Host game server max number of players |
host_port | 26015 | Host game server port | ||
host_timescale | 1 | Prescales the clock by this amount | ||
name | Unnamed | Sets your player name | ||
perf_draw_frame_rate | 0 | Draws the frame rate | ||
perf_draw_net_graph | 0 | Draws the net graph | ||
r_draw_bounding_boxes | 0 | Draws entity bounding boxes | ||
r_draw_entities | 1 | Draws entities | ||
r_draw_network_position | 0 | Draws network position | ||
r_draw_position | 0 | Draws position | ||
r_draw_prediction_buffer | 0 | Draws prediction buffer | ||
r_draw_shadows | 1 | Draws entity shadows | ||
r_draw_world | 1 | Draws world | ||
r_focus | 1 | Draw only when the engine has focus | ||
r_window_borderless | 0 | Toggles borderless mode | ||
r_window_fullscreen | 0 | Toggles fullscreen mode | ||
r_window_fullscreentype | desktop | Sets the fullscreen type on load | ||
r_window_height | 600 | 600 | Sets the height of the window on load | |
r_window_highdpi | 1 | Sets the high-dpi mode on load | ||
r_window_vsync | 1 | Toggles vertical synchronization | ||
r_window_width | 800 | 800 | Sets the width of the window on load | |
snd_desktop | 1 | Toggles playing sound from the desktop | ||
snd_volume | 1 | 0 | 1 | Sets the master volume |
sv_cheats | 0 | Allow cheats on server | ||
sv_friction | 4 | World friction. | ||
tickrate | 20 | Sets the server tick rate | ||
voice_loopback | 0 |
Callbacks
- onAddonMounted
- onAddonUnmounted
- onMainMenuActivate
- onMainMenuClose
- onNPCSpawn
- onPlayerChat
- onPlayerConnect
- onPlayerDisconnect
- onPlayerInitialSpawn
- onPlayerSay
- onPlayerSpawn
- onPlayerUse
- onReloadImage
- onReloadScript
- onReloadSound
- quit
- update
Classes
- canvas
- character
- color
- concommand
- context
- convar
- entity
- fullscreencanvas
- host
- map
- networkvar
- payload
- player
- scheme
- shader
- sprite
- tween
- typelenvalues
- vector
Interfaces and Libraries
Panels
- box
- button
- checkbox
- closebutton
- commandbutton
- commandbuttongroup
- dropdownlist
- dropdownlistitem
- dropdownlistitemgroup
- frame
- frametab
- frametabgroup
- frametabpanel
- frametabpanels
- imagepanel
- label
- panel
- passwordtextbox
- progressbar
- radiobutton
- radiobuttongroup
- rootpanel
- scrollablepanel
- scrollbar
- slider
- tabbedframe
- text
- textbox
- textboxautocompleteitemgroup
- throbber
- viewport