Console
This is a list of console variables and functions. Names in bold are functions, others are variables.
Flags include:
- cheat: a variable or function that can only be used when
e_cheatsis set to 1. - config: a variable that can only be changed from the config file (when the game starts).
A config file containing any console variable or function can exist for both the game and the editor. On Windows, this is SSBD.exe.cfg and EDITOR.exe.cfg, and on Linux this is SSBD.cfg and EDITOR.cfg.
Contents
System
Video
| Name | Flags | Description | clear_debris | ||
|---|---|---|---|---|---|
| bgfx_debug_ifh | cheat | ||||
| bgfx_debug_stats | cheat | ||||
| bgfx_debug_trace | cheat | ||||
| bgfx_debug_wireframe | cheat | ||||
| bgfx_device_id | config | ||||
| bgfx_renderer | config | ||||
| e_debris_limit | |||||
| e_picmip | config | ||||
| g_adv_foliage | |||||
| g_frametime_render | |||||
| g_frametime_swap | |||||
| g_frametime_total | |||||
| g_frametime_update | |||||
| g_intro_logos | |||||
| g_intro_logos_shown | |||||
| g_tile_effects | |||||
| g_vfx_quality | |||||
| r_draw_decals | |||||
| r_draw_displacement | |||||
| r_draw_glow | |||||
| r_draw_xray | |||||
| r_hdr | |||||
| r_light_decal_proj | |||||
| r_shadows | |||||
| r_masked_shadows | |||||
| r_smooth_scrolling | |||||
| rg_brightness | |||||
| rg_contrast | |||||
| rg_crt_curve | |||||
| rg_gamma | |||||
| v_forced_aspect_ratio | |||||
| v_fps | |||||
| v_fps_limit | |||||
| v_fullscreen | |||||
| v_interpolate_frames | |||||
| v_monitor | |||||
| v_resolution | |||||
| v_trap_cursor | |||||
| v_vsync |
Audio
| Name | Flags | Description | snd_debug | config | |
|---|---|---|---|---|---|
| snd_driver | |||||
| snd_volume | |||||
| snd_volume_env | |||||
| snd_volume_music | |||||
| snd_volume_sfx | |||||
| snd_volume_ui | |||||
| snd_volume_voice |
Input
| Name | Flags | Description | bind | Binds a key to a console command.
Example: Example: Example: |
|---|
Console
| Name | Flags | Description | condump | Dumps the console output to a file.
Example: | |
|---|---|---|---|---|---|
| clear | Clears the console. | ||||
| plot | Adds a plotted history-tracked console variable. This will be drawn in the top-right of the screen.
Example: | ||||
| toggle | Toggles the given boolean console variable. (If it's 1, it turns 0, if it's 0, it turns 1)
Example: | ||||
| track | Adds a tracked console variable. This will be drawn in the top-right of the screen.
Example: | ||||
| track_comment | Adds a tracked console variable with an optional comment name. This will be drawn in the top-right of the screen. This is useful in cases where you want to annotate a cheat shortcut.
Example: | ||||
| track_history | Adds a history-tracked console variable. This will be drawn in the top-right of the screen.
Example: | ||||
| cs_bgcolor | The background color for the console.
Example: | ||||
| cs_fgcolor | The foreground color for the console.
Example: | ||||
| cs_height | The height ratio of the console. | ||||
| cs_show_build | Whether to show the build number in the bottom left corner or not. | ||||
| cs_show_log | Whether to show the most recent log messages at the top of the screen without having the console open. | ||||
| cs_show_log_count | The amount of log messages to show when cs_show_log is on. | ||||
| cs_show_vars | Whether to show tracked variables. | ||||
| cs_speed | The speed at which the console fades in/out. |
Miscellaneous
| Name | Flags | Description | crash | ||
|---|---|---|---|---|---|
| quit | |||||
| load_save | |||||
| save |
Debugging
| Name | Flags | Description | dump_unit_list | cheat | |
|---|---|---|---|---|---|
| debugger | cheat | ||||
| debug_list_units | |||||
| debug_unit_compare | cheat | ||||
| dirty_nav_graph | |||||
| list_flags | cheat | ||||
| lobby_members | |||||
| lobby_say | |||||
| reload_assets | cheat | ||||
| debug_controls | |||||
| debug_widgets | |||||
| debug_widgets_borders | |||||
| g_debug_menu | |||||
| g_debug_scripts | cheat | ||||
| e_script_jit | |||||
| e_singleplayer_networking | |||||
| e_task_threads | config | ||||
| e_threaded_body_creation | |||||
| e_threaded_physics | |||||
| e_threaded_update | |||||
| g_profile_host | config | ||||
| g_render_pos | |||||
| g_start_difficulty | |||||
| g_start_sessions | |||||
| joy_test | |||||
| net_stat_recv | |||||
| net_stat_sent | |||||
| r_clear_color | |||||
| r_debug_render_target | cheat | ||||
| r_draw_bounds | cheat | ||||
| r_draw_collision | cheat | ||||
| r_draw_ground_nodes | cheat | ||||
| r_draw_icons_collision | cheat | ||||
| r_draw_icons_lights | cheat | ||||
| r_draw_light_debug | cheat | ||||
| r_draw_lights | cheat | ||||
| r_draw_locators | cheat | ||||
| r_draw_nav_data | cheat | ||||
| r_draw_origins | cheat | ||||
| r_draw_outlines | |||||
| r_draw_pathfinds | cheat | ||||
| r_draw_physics | cheat | ||||
| r_draw_physics_aabb | |||||
| r_draw_physics_centroid | |||||
| r_draw_physics_queries | cheat | ||||
| r_draw_physics_shape | |||||
| r_draw_ranges | cheat | ||||
| r_draw_raycasts | cheat | ||||
| r_draw_scripts | cheat | ||||
| r_draw_scripts_compact | |||||
| r_draw_scripts_lines | |||||
| r_draw_scripts_lines_back | |||||
| r_draw_scripts_lines_branch | |||||
| r_draw_scripts_names | |||||
| r_script_line_alpha | |||||
| r_script_line_scroll | |||||
| r_draw_shadow_shapes | cheat | ||||
| r_draw_sprites | cheat | ||||
| r_draw_text | cheat | ||||
| r_draw_text_debug | cheat | ||||
| r_draw_tiles | cheat | ||||
| r_frame_batches | |||||
| r_frame_environments | |||||
| r_frame_triangles | |||||
| r_frame_units | |||||
| r_frustum_padding | cheat | ||||
| r_lighting | cheat | ||||
| unit_id_high | |||||
| unit_id_low | |||||
| unit_id_max | |||||
| unit_id_min |
Game
General
| Name | Flags | Description | g_gore | ||
|---|---|---|---|---|---|
| g_language | |||||
| g_screenshake |
Cheats
| Name | Flags | Description | change_level | cheat | Switches to the given level.
Example: |
|---|---|---|---|---|---|
| give_ammo | cheat | Gives an amount of ammo for a weapon.
Example: | |||
| give_armor | cheat | Gives an amount of armor.
Example: | |||
| give_experience | cheat | Gives an amount of experience.
Example: | |||
| give_health | cheat | Gives an amount of health.
Example: | |||
| give_perk | cheat | Gives a perk.
Example: | |||
| give_stars | cheat | Gives an amount of stars.
Example: | |||
| give_weapon | cheat | Give a weapon of the given type.
Example: | |||
| listenemies | cheat | Lists all enemies in the world. | |||
| kill | cheat | Kills the player. | |||
| killall | cheat | Kills all enemies alive in the level. | |||
| knowall | cheat | Unlock all Netricsa messages. | |||
| levelup | cheat | Level up an amount of levels.
Example: | |||
| set_flag | cheat | Sets a level flag.
Example: | |||
| e_cheats | Enables or disables cheats. | ||||
| god | cheat | Whether the player is invincible. | |||
| noclip | cheat | Whether the player can walk through colliding units. | |||
| infiniteammo | cheat | Whether the player has an infinite amount of ammo. | |||
| infinitedash | cheat | Whether the player can dash an infinite amount of times. | |||
| clientfollowshost | cheat | When in splitscreen, the second player will follow the first player around. | |||
| g_scale | cheat | The rendering scale. | |||
| g_timescale | cheat | The time scale. | |||
| turbo | cheat | Player walking speed multiplier. |
Player
| Name | Flags | Description | switch_weapon | ||
|---|---|---|---|---|---|
| g_autoswitch_empty | |||||
| g_autoswitch_pickup | |||||
| g_dash_abort | |||||
| g_laser_sight | |||||
| g_local_player_marker | |||||
| g_movedir_snap | |||||
| g_player_markers | |||||
| g_plr_skin |
Interface
| Name | Flags | Description | show_menu | ||
|---|---|---|---|---|---|
| g_wheel_accurate | |||||
| g_wheel_always | |||||
| g_wheel_nextprev | |||||
| g_wheel_number | |||||
| g_wheel_showammo | |||||
| r_top_padding | config | ||||
| r_bottom_padding | config | ||||
| ui_chat_dialog | |||||
| ui_chat_fade_time | |||||
| ui_cursor_alpha | |||||
| ui_draw_plr_names | |||||
| ui_draw_vignette | |||||
| ui_draw_widgets | |||||
| ui_netricsa_enemies | |||||
| ui_netricsa_items | |||||
| ui_netricsa_notes | |||||
| ui_netricsa_world | |||||
| ui_txt | |||||
| ui_txt_enemy_heal | |||||
| ui_txt_enemy_hurt | |||||
| ui_txt_enemy_immortal | |||||
| ui_txt_pickup | |||||
| ui_txt_plr_ammo | |||||
| ui_txt_plr_ammo_max | |||||
| ui_txt_plr_armor | |||||
| ui_txt_plr_heal | |||||
| ui_txt_plr_hurt | |||||
| ui_waypoint_player | |||||
| ui_waypoint_world | |||||
| ui_weapon_selection |
Editor
| Name | Flags | Description | ed_brightness | ||
|---|---|---|---|---|---|
| ed_brush_change_speed | |||||
| ed_cam_movespeed | |||||
| ed_cam_scale | |||||
| ed_cam_zoomspeed | |||||
| ed_contrast | |||||
| ed_crt_curve | |||||
| ed_draw_origin | |||||
| ed_gamma | |||||
| ed_grid | |||||
| ed_grid_color | |||||
| ed_grid_size | |||||
| ed_grid_width | |||||
| ed_history_limit | |||||
| ed_select_overlay |