Console Command List/D: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (categorized)
mNo edit summary
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| border="1" cellspacing="0"
<noinclude>[[Category:Console commands|D]][[Category:Lists]][[Category:Lists of console commands and variables]]</noinclude>
{| border="1" cellspacing="0" style="width:100%"
|- style="position:-webkit-sticky; position:sticky; top:0; background-color: #262626;"
! Command !! Default !! Cheat? !! Help Text  
! Command !! Default !! Cheat? !! Help Text  
|-
|-
|valign="top"|[[deathmatch]]||0||||Running a deathmatch server.
|valign="top"|deathmatch||0||No||Running a deathmatch server
|-
|-
|valign="top"|[[debug_physimpact]]||0||||None
|valign="top"|[[debugsystemui]]||||No||Open the Debug Options menu.
|-
|-
|valign="top"|[[decalfrequency]]||10||||None
|valign="top"|debug_physimpact||0||No||None
|-
|-
|valign="top"|[[default_fov]]||75||Yes||None
|valign="top"|decalfrequency||10||No||None
|-
|-
|valign="top"|[[demo_debug]]||0||||Demo debug info.
|valign="top"|default_fov||75||Yes||None
|-
|-
|valign="top"|[[demo_fastforwardfinalspeed]]||20||||Go this fast when holding FF button for a set amount of time (see below).
|valign="top"|demo_debug||0||No||Demo debug info
|-
|-
|valign="top"|[[demo_fastforwardramptime]]||5||||How many seconds it takes to get to full FF speed.
|valign="top"|demo_fastforwardfinalspeed||20||No||Go this fast when holding FF button for a set amount of time (see below)
|-
|-
|valign="top"|[[demo_fastforwardstartspeed]]||2||||Go this fast when starting to hold FF button.
|valign="top"|demo_fastforwardramptime||5||No||How many seconds it takes to get to full FF speed
|-
|-
|valign="top"|[[demo_interpolateview]]||1||||Do view interpolation during dem playback.
|valign="top"|demo_fastforwardstartspeed||2||No||Go this fast when starting to hold FF button
|-
|-
|valign="top"|[[demo_pauseatservertick]]||0||||Pauses demo playback at server tick
|valign="top"|demo_interpolateview||1||No||Do view interpolation during dem playback
|-
|-
|valign="top"|[[demo_quitafterplayback]]||0||||Quits game after demo playback.
|valign="top"|demo_pauseatservertick||0||No||Pauses demo playback at server tick
|-
|-
|valign="top"|[[demo_recordcommands]]||1||||Record commands typed at console into .dem files.
|valign="top"|demo_quitafterplayback||0||No||Quits game after demo playback.
|-
|-
|valign="top"|[[demogototick]]||||||Skips to a tick in demo.
|valign="top"|demo_recordcommands||1||No||Record commands typed at console into .dem files
|-
|-
|valign="top"|[[demolist]]||||||Print demo sequence list.
|valign="top"|demolist||||No||Print demo sequence list.
|-
|-
|valign="top"|[[demopause]]||||||Pauses demo playback.
|valign="top"|demopause||||No||Pauses demo playback.
|-
|-
|valign="top"|[[demoresume]]||||||Resumes demo playback.
|valign="top"|demoresume||||No||Resumes demo playback.
|-
|-
|valign="top"|[[demos]]||||||Demo demo file sequence.
|valign="top"|demos||||No||Demo demo file sequence
|-
|-
|valign="top"|[[demotimescale]]||||||Sets demo replay speed.
|valign="top"|demotimescale||||No||Sets demo replay speed.
|-
|-
|valign="top"|[[demotogglepause]]||||||Toggles demo playback.
|valign="top"|demotogglepause||||No||Toggles demo playback.
|-
|-
|valign="top"|[[demoui]]||||||Show/hide the demo player UI.
|valign="top"|[[demoui]]||||No||Show/hide the demo player UI.
|-
|-
|valign="top"|[[developer]]||0||||Show developer messages.
|valign="top"|[[developer]]||0||No||Show developer messages.
|-
|-
|valign="top"|[[differences]]||||||Show all convars which are not at their default values.
|valign="top"|differences||||No||Show all convars which are not at their default values
|-
|-
|valign="top"|[[disconnect]]||||||Disconnect game from server.
|valign="top"|disconnect||||No||Disconnect game from server.
|-
|-
|valign="top"|[[disp_dynamic]]||0||||None
|valign="top"|disp_dynamic||0||No||None
|-
|-
|valign="top"|[[disp_modlimit]]||80||||None
|valign="top"|disp_modlimit||80||No||None
|-
|-
|valign="top"|[[disp_modlimit_down]]||20||||None
|valign="top"|disp_modlimit_down||20||No||None
|-
|-
|valign="top"|[[disp_modlimit_up]]||80||||None
|valign="top"|disp_modlimit_up||80||No||None
|-
|-
|valign="top"|[[disp_numiterations]]||1||Yes||None
|valign="top"|disp_numiterations||1||Yes||None
|-
|-
|valign="top"|[[dispcoll_drawplane]]||0||||None
|valign="top"|dispcoll_drawplane||0||No||None
|-
|-
|valign="top"|[[displaysoundlist]]||0||||None
|valign="top"|displaysoundlist||0||No||None
|-
|-
|valign="top"|[[dog_debug]]||0||||None
|valign="top"|dog_debug||0||No||None
|-
|-
|valign="top"|[[dog_max_wait_time]]||7||||None
|valign="top"|dog_max_wait_time||7||No||None
|-
|-
|valign="top"|[[drawcross]]||||||Draws a cross at the given location.  Arguments: x y z
|valign="top"|drawcross||||No||Draws a cross at the given location.  Arguments: x y z
|-
|-
|valign="top"|[[drawline]]||||||Draws line between two 3D Points.
|valign="top"|drawline||||No||Draws line between two 3D Points
;Green:If no collision
;Green:If no collision
;Red:Is collided with something
;Red:Is collided with something
;Arguments: x1 y1 z1 x2 y2 z2
;Arguments: x1 y1 z1 x2 y2 z2
|-
|-
|valign="top"|[[dropprimary]]||||||dropprimary: Drops the primary weapon of the player.
|valign="top"|dropprimary||||||dropprimary: Drops the primary weapon of the player. NOTE: Doesn't work and needs fixing
|-
|-
|valign="top"|[[dsp_automatic]]||0||||None
|valign="top"|dsp_automatic||0||No||None
|-
|-
|valign="top"|[[dsp_db_min]]||80||||None
|valign="top"|dsp_db_min||80||No||None
|-
|-
|valign="top"|[[dsp_db_mixdrop]]||0||||None
|valign="top"|dsp_db_mixdrop||0||No||None
|-
|-
|valign="top"|[[dsp_dist_max]]||1440||||None
|valign="top"|dsp_dist_max||1440||No||None
|-
|-
|valign="top"|[[dsp_dist_min]]||0||||None
|valign="top"|dsp_dist_min||0||No||None
|-
|-
|valign="top"|[[dsp_enhance_stereo]]||1||||None
|valign="top"|dsp_enhance_stereo||1||No||None
|-
|-
|valign="top"|[[dsp_facingaway]]||0||||None
|valign="top"|dsp_facingaway||0||No||None
|-
|-
|valign="top"|[[dsp_mix_max]]||0||||None
|valign="top"|dsp_mix_max||0||No||None
|-
|-
|valign="top"|[[dsp_mix_min]]||0||||None
|valign="top"|dsp_mix_min||0||No||None
|-
|-
|valign="top"|[[dsp_off]]||0||Yes||None
|valign="top"|dsp_off||0||Yes||None
|-
|-
|valign="top"|[[dsp_player]]||0||||None
|valign="top"|dsp_player||0||No||None
|-
|-
|valign="top"|[[dsp_reload]]||||||None
|valign="top"|dsp_reload||||No||None
|-
|-
|valign="top"|[[dsp_room]]||0||||None
|valign="top"|dsp_room||0||No||Changes the [[DSP#DSP Room Type (Soundscapes)|DSP Room Type]] effect.
|-
|-
|valign="top"|[[dsp_slow_cpu]]||0||||None
|valign="top"|dsp_slow_cpu||0||No||None
|-
|-
|valign="top"|[[dsp_spatial]]||40||||None
|valign="top"|dsp_spatial||40||No||None
|-
|-
|valign="top"|[[dsp_speaker]]||50||||None
|valign="top"|dsp_speaker||50||No||None
|-
|-
|valign="top"|[[dsp_vol_2ch]]||1||||None
|valign="top"|dsp_vol_2ch||1||No||DSP volume for 2 channels audio (Stereo)
|-
|-
|valign="top"|[[dsp_vol_4ch]]||0||||None
|valign="top"|dsp_vol_4ch||0.5||No||DSP volume for 4 channels audio (Quadraphonic)
|-
|-
|valign="top"|[[dsp_vol_5ch]]||0||||None
|valign="top"|dsp_vol_5ch||0.5||No||DSP volume for 5.1 channels audio (Surround)
|-
|-
|valign="top"|[[dsp_volume]]||1||||None
|valign="top"|dsp_volume||1||No||Changes the DSP volume.
|-
|-
|valign="top"|[[dsp_water]]||14||||None
|valign="top"|dsp_water||14||No||None
|-
|-
|valign="top"|[[dti_flush]]||||||Write out the datatable instrumentation files (you must run with -dti for this to work).
|valign="top"|dti_flush||||No||Write out the datatable instrumentation files (you must run with -dti for this to work)
|-
|-
|valign="top"|[[dtwarning]]||0||||Print data table warnings?
|valign="top"|dtwarning||0||No||Print data table warnings
|-
|-
|valign="top"|[[dtwatchent]]||-1||||Watch this entities data table encoding.
|valign="top"|dtwatchent||-1||No||Watch this entities data table encoding
|-
|-
|valign="top"|[[dtwatchvar]]||0||||Watch the named variable.
|valign="top"|dtwatchvar||0||No||Watch the named variable
|-
|-
|valign="top"|<nowiki>+</nowiki>[[duck]]||||||None
|valign="top"|<nowiki>+</nowiki>duck||||No||Start player ducking (button down)
|-
|-
|valign="top"|<nowiki>-</nowiki>[[duck]]||||||None
|valign="top"|<nowiki>-</nowiki>duck||||No||Stop player ducking (button up)
|-
|-
|valign="top"|[[dump_globals]]||||||Dump all global entities/states
|valign="top"|[[dump_entity_sizes]]||||No||Print sizeof(entclass)
|-
|-
|valign="top"|[[dumpstringtables]]||||||Print string tables to console.
|valign="top"|dump_globals||||No||Dump all global entities/states
|-
|valign="top"|dumpstringtables||||No||Print string tables to console
|}
|}
[[Category:Console Commands]]

Latest revision as of 04:43, 28 April 2024

Command Default Cheat? Help Text
deathmatch 0 No Running a deathmatch server
debugsystemui No Open the Debug Options menu.
debug_physimpact 0 No None
decalfrequency 10 No None
default_fov 75 Yes None
demo_debug 0 No Demo debug info
demo_fastforwardfinalspeed 20 No Go this fast when holding FF button for a set amount of time (see below)
demo_fastforwardramptime 5 No How many seconds it takes to get to full FF speed
demo_fastforwardstartspeed 2 No Go this fast when starting to hold FF button
demo_interpolateview 1 No Do view interpolation during dem playback
demo_pauseatservertick 0 No Pauses demo playback at server tick
demo_quitafterplayback 0 No Quits game after demo playback.
demo_recordcommands 1 No Record commands typed at console into .dem files
demolist No Print demo sequence list.
demopause No Pauses demo playback.
demoresume No Resumes demo playback.
demos No Demo demo file sequence
demotimescale No Sets demo replay speed.
demotogglepause No Toggles demo playback.
demoui No Show/hide the demo player UI.
developer 0 No Show developer messages.
differences No Show all convars which are not at their default values
disconnect No Disconnect game from server.
disp_dynamic 0 No None
disp_modlimit 80 No None
disp_modlimit_down 20 No None
disp_modlimit_up 80 No None
disp_numiterations 1 Yes None
dispcoll_drawplane 0 No None
displaysoundlist 0 No None
dog_debug 0 No None
dog_max_wait_time 7 No None
drawcross No Draws a cross at the given location. Arguments: x y z
drawline No Draws line between two 3D Points
Green
If no collision
Red
Is collided with something
Arguments
x1 y1 z1 x2 y2 z2
dropprimary dropprimary: Drops the primary weapon of the player. NOTE: Doesn't work and needs fixing
dsp_automatic 0 No None
dsp_db_min 80 No None
dsp_db_mixdrop 0 No None
dsp_dist_max 1440 No None
dsp_dist_min 0 No None
dsp_enhance_stereo 1 No None
dsp_facingaway 0 No None
dsp_mix_max 0 No None
dsp_mix_min 0 No None
dsp_off 0 Yes None
dsp_player 0 No None
dsp_reload No None
dsp_room 0 No Changes the DSP Room Type effect.
dsp_slow_cpu 0 No None
dsp_spatial 40 No None
dsp_speaker 50 No None
dsp_vol_2ch 1 No DSP volume for 2 channels audio (Stereo)
dsp_vol_4ch 0.5 No DSP volume for 4 channels audio (Quadraphonic)
dsp_vol_5ch 0.5 No DSP volume for 5.1 channels audio (Surround)
dsp_volume 1 No Changes the DSP volume.
dsp_water 14 No None
dti_flush No Write out the datatable instrumentation files (you must run with -dti for this to work)
dtwarning 0 No Print data table warnings
dtwatchent -1 No Watch this entities data table encoding
dtwatchvar 0 No Watch the named variable
+duck No Start player ducking (button down)
-duck No Stop player ducking (button up)
dump_entity_sizes No Print sizeof(entclass)
dump_globals No Dump all global entities/states
dumpstringtables No Print string tables to console