Difference between revisions of "Console"
From Serious Sam's Bogus Detour
(→Cheats) |
(→Debugging) |
||
| Line 324: | Line 324: | ||
|- | |- | ||
| '''lobby_say''' | | '''lobby_say''' | ||
| − | |||
| − | |||
| − | |||
| − | |||
| | | | ||
| | | | ||
| Line 333: | Line 329: | ||
| '''reload_assets''' | | '''reload_assets''' | ||
| cheat | | cheat | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| | | | ||
|- | |- | ||
Revision as of 10:28, 27 June 2017
This is a list of console variables and functions. Names in bold are functions, others are variables.
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 | |||||
| bgfx_renderer | |||||
| e_debris_limit | |||||
| e_picmip | |||||
| 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 | ||
|---|---|---|---|---|---|
| snd_driver | |||||
| snd_volume | |||||
| snd_volume_env | |||||
| snd_volume_music | |||||
| snd_volume_sfx | |||||
| snd_volume_ui | |||||
| snd_volume_voice |
Input
| Name | Flags | Description | bind |
|---|
Console
| Name | Flags | Description | condump | ||
|---|---|---|---|---|---|
| clear | |||||
| cs_bgcolor | |||||
| cs_fgcolor | |||||
| cs_height | |||||
| cs_show_build | |||||
| cs_show_log | |||||
| cs_show_log_count | |||||
| cs_show_vars | |||||
| cs_speed |
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 | |||||
| e_threaded_body_creation | |||||
| e_threaded_physics | |||||
| e_threaded_update | |||||
| g_profile_host | |||||
| 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 |