Serious Sam's Bogus Detour

Serious Sam's Bogus Detour

View Stats:
D.A.R.K. Jun 22, 2017 @ 8:45am
Console Command?
There's anywhere the list of Console Commands? Mostly the Client and Server parts.
< >
Showing 1-15 of 27 comments
Solais Jun 22, 2017 @ 10:49am 
Press Tab in console to list them/go through them.
AEon Jun 22, 2017 @ 12:46pm 
Updated: Dumped commands playing SP, not just from the main menu. Should now list all 202 commands instead of only 179 previously.

Here a list of the commands that a tab press in the console lists. Strangely e.g. god is not listed, so apparently the list is not complete.

bgfx_debug_ifh bgfx_debug_stats bgfx_debug_trace bgfx_debug_wireframe bgfx_device_id bgfx_renderer bind change_level clear clear_debris clientfollowshost condump crash cs_bgcolor cs_fgcolor cs_height cs_show_build cs_show_log cs_show_log_count cs_show_vars cs_speed debug_list_units debug_unit_compare debug_widgets debug_widgets_borders debugger dirty_nav_graph dump_unit_list e_cheats e_debris_limit e_picmip e_script_jit e_singleplayer_networking e_task_threads e_threaded_body_creation e_threaded_physics e_threaded_update g_adv_foliage g_autoswitch_empty g_autoswitch_pickup g_dash_abort g_debug_menu g_debug_scripts g_frametime_render g_frametime_swap g_frametime_total g_frametime_update g_gore g_intro_logos g_intro_logos_shown g_language g_laser_sight g_local_player_marker g_movedir_snap g_player_markers g_plr_skin g_render_pos g_scale g_screenshake g_start_difficulty g_start_sessions g_tile_effects g_timescale g_vfx_quality g_wheel_accurate g_wheel_always g_wheel_nextprev g_wheel_number g_wheel_showammo give_ammo give_armor give_experience give_health give_perk give_stars give_weapon god infiniteammo infinitedash kill killall knowall levelup list_flags listenemies load_save lobby_members lobby_say net_stat_recv net_stat_sent noclip plot quit r_bottom_padding r_clear_color r_debug_render_target r_draw_bounds r_draw_collision r_draw_decals r_draw_displacement r_draw_glow r_draw_ground_nodes r_draw_icons_collision r_draw_icons_lights r_draw_light_debug r_draw_lights r_draw_locators r_draw_nav_data r_draw_origins r_draw_outlines r_draw_pathfinds r_draw_physics r_draw_physics_aabb r_draw_physics_centroid r_draw_physics_queries r_draw_physics_shape r_draw_ranges r_draw_raycasts r_draw_scripts r_draw_scripts_compact r_draw_scripts_lines r_draw_scripts_lines_back r_draw_scripts_lines_branch r_draw_scripts_names r_draw_shadow_shapes r_draw_sprites r_draw_text r_draw_text_debug r_draw_tiles r_draw_xray r_frame_batches r_frame_environments r_frame_triangles r_frame_units r_frustum_padding r_hdr r_light_decal_proj r_lighting r_masked_shadows r_script_line_alpha r_script_line_scroll r_shadows r_smooth_scrolling r_top_padding reload_assets rg_brightness rg_contrast rg_crt_curve rg_gamma save set_flag show_menu snd_debug snd_driver snd_volume snd_volume_env snd_volume_music snd_volume_sfx snd_volume_ui snd_volume_voice switch_weapon toggle track track_comment track_history turbo 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 unit_id_high unit_id_low unit_id_max unit_id_min v_forced_aspect_ratio v_fps v_fps_limit v_fullscreen v_interpolate_frames v_monitor v_resolution v_trap_cursor v_vsync

Hope the list helps.
Last edited by AEon; Jun 22, 2017 @ 10:54pm
D.A.R.K. Jun 22, 2017 @ 12:55pm 
clear_debris it's the same as cleardecals?
Myran  [developer] Jun 22, 2017 @ 1:29pm 
Originally posted by AEon:
Here a list of the commands that a tab press in the console lists. Strangely e.g. god is not listed, so apparently the list is not complete.

...

Hope the list helps anyway.
So the console lists the currently existing functions and variables, a number of extra ones are created when the player spawns, mostly cheats. I'm not sure how you generated that list, but
condump out.txt
outputs the console history, so doing something like
clear <tab> condump console.txt
should create a file with all existing commands.


Originally posted by D.A.R.K.:
clear_debris it's the same as cleardecals?
It removes stuff like blood and gibs on the ground
D.A.R.K. Jun 22, 2017 @ 4:38pm 
Originally posted by Myran:
Originally posted by AEon:
Here a list of the commands that a tab press in the console lists. Strangely e.g. god is not listed, so apparently the list is not complete.

...

Hope the list helps anyway.
So the console lists the currently existing functions and variables, a number of extra ones are created when the player spawns, mostly cheats. I'm not sure how you generated that list, but
condump out.txt
outputs the console history, so doing something like
clear <tab> condump console.txt
should create a file with all existing commands.


Originally posted by D.A.R.K.:
clear_debris it's the same as cleardecals?
It removes stuff like blood and gibs on the ground

Thanks, that I wanna know... It is possible to Bind?
This console it looks like Valve's, feels that I could bind stuffs.
In Valve's console, we could type anything like "bind n comand" and it would work.
Myran  [developer] Jun 22, 2017 @ 5:22pm 
Ah yes, you can bind commands, so something like
bind q "switch_weapon railgun"
binds q to switching to the railgun
or in the editor you could do
bind f1 "toggle r_draw_physics"
to toggle physics rendering with f1

you can add any of these to your .cfg file so you dont have to retype them every time you start the game
D.A.R.K. Jun 22, 2017 @ 7:19pm 
Originally posted by Myran:
Ah yes, you can bind commands, so something like
bind q "switch_weapon railgun"
binds q to switching to the railgun
or in the editor you could do
bind f1 "toggle r_draw_physics"
to toggle physics rendering with f1

you can add any of these to your .cfg file so you dont have to retype them every time you start the game

Thanks a lot.
AEon Jun 22, 2017 @ 10:52pm 
Originally posted by Myran:
I'm not sure how you generated that list, but
condump out.txt outputs the console history, so doing something like
clear <tab> condump console.txt
should create a file with all existing commands.

I made the mistake to hit tab in the console from in the main menu, and not while actually playing the single player game, and then checked the list from SSBD.exe.log. Only later noted the condump command.

The complete list of commands has been updated in the post above now.

AEon Jun 22, 2017 @ 11:02pm 
Originally posted by Myran:
Ah yes, you can bind commands, so something like
bind q "switch_weapon railgun"
binds q to switching to the railgun
...
you can add any of these to your .cfg file so you dont have to retype them every time you start the game

That config file would be Serious Sams Bogus Detour\SSBD.exe.cfg...? Hmm... it presently contains the settings, would an change to the settings in-game not overwrite any bindings you add to this config file?

Key bindings are properly remembered once added to the .cfg file and are not overwritten. Nice feature. On idTech 3 or Source one would have had to use a custom autoexec.cfg file for this to work. Neat...
Last edited by AEon; Jun 22, 2017 @ 11:10pm
hipshot  [developer] Jun 22, 2017 @ 11:58pm 
There will be a a proper console command list posted a bit later, with explanations, this is what all developers should strive for: http://www.regurge.at/ql/
AEon Jun 23, 2017 @ 1:26am 
Sorta... though less table heavy and less red maybe :)

Nice... I just tested "save" and found out it needs two arguments, so being able to look up the commands and what they do will be appreciated.
Myran  [developer] Jun 23, 2017 @ 3:58am 
So "save" is to save a console variable to the cfg, the first argument is the variable, the second is its value, so something like:
save snd_volume 0.5

There used to be a command to do a game save, maybe I should reenable that as a cheat..
AEon Jun 23, 2017 @ 4:10am 
Ah... good to know.

About the game state saving you mentioned: I was guessing that it would basically save the state of the last checkpoint and not the actual current state of the game. If the game save command was a form of proper quicksave though, that could indeed be useful.
AEon Jun 24, 2017 @ 6:09am 
There does not seem to be a command to turn off the HUD via console command? If so...

Any chance a console command could get added to toggle on/off the HUD, and let us bind that to a key without requiring cheat mode?

Something like:
bind F11 "toggle showHUD"

Please? :)
Melissa  [developer] Jun 24, 2017 @ 6:17am 
Try:
bind f11 "toggle ui_draw_widgets"
< >
Showing 1-15 of 27 comments
Per page: 1530 50