Console Command List/M

From Valve Developer Community

Command Default Cheat? Help Text
m_customaccel0Custom mouse acceleration (0 disable, 1 to enable, 2 enable with separate yaw/pitch rescale).

Formula: mousesensitivity = ( rawmousedelta^m_customaccel_exponent ) * m_customaccel_scale + sensitivity. If mode is 2, then x and y sensitivity are scaled by m_pitch and m_yaw respectively.

m_customaccel_exponent1Mouse move is raised to this power before being scaled by scale factor.
m_customaccel_max0Max mouse move scale factor, 0 for no limit
m_customaccel_scale0Custom mouse acceleration value.
m_filter0Mouse filtering (set this to 1 to average the mouse over 2 frames).
m_forward1Mouse forward factor.
m_mouseaccel10Windows mouse acceleration initial threshold (2x movement).
m_mouseaccel20Windows mouse acceleration secondary threshold (4x movement).
m_mousespeed1Windows mouse speed factor (range 1 to 20).
m_pitch0Mouse pitch factor.
m_side0Mouse side factor.
m_yaw0Mouse yaw factor.
mapStart playing on specified map.
map_backgroundRuns a map as the background to the main menu.
map_editNone
map_noareas0Disable area to area connection testing.
mapcyclefilemapcycle.txtSets the map cycle file to use for cycling maps.
mapsDisplays list of maps.
mat_antialias0None
mat_bloom1None
mat_bufferprimitives1None
mat_bumpbasis0None
mat_bumpmap1Toggles bumpmap rendering on/off.
mat_camerarendertargetoverlaysize128YesNone
mat_clipz1None
mat_compressedtextures1None
mat_configcurrentShow the current video control panel config for the material system.
mat_crosshairDisplay the name of the material/texture under the crosshair.
mat_debugNone
mat_debugdepth0None
mat_debugdepthmode0None
mat_debugdepthval128None
mat_debugdepthvalmax256None
mat_depthbias_decal-262144None
mat_depthbias_normal0YesNone
mat_diffuse1None
mat_drawflat0YesNone
mat_drawwater1YesNone
mat_dxlevel90None
mat_envmapsize128None
mat_envmaptgasize32None
mat_fastnobump0None
mat_fastspecular1Enable/Disable specularity for visual testing. Will not reload materials and will not affect perf.
mat_fillrate0YesNone
mat_filterlightmaps1Smooths lightmaps. Lighting appears blocky when this is off.
mat_filtertextures1Smooths textures. Textures appear blocky when this is off.
mat_forceaniso1Sets Anistropic Filtering Level
mat_forcedynamic0YesNone
mat_forcehardwaresync1None
mat_frame_sync_enable1YesNone
mat_frame_sync_force_texture0YesForce frame syncing to lock a managed texture.
mat_framebuffercopyoverlaysize128None
mat_fullbright0YesNone
mat_hsv0None
mat_infoShows material system info
mat_leafvis0Draw wireframe of current leaf
mat_levelflush1None
mat_loadtextures1None
mat_luxels0YesNone
mat_maxframelatency1None
mat_measurefillrate0YesNone
mat_mipmaptextures1None
mat_monitorgamma2Monitor gamma (typically 2.2 for CRT and 1.7 for LCD).
mat_norendering0None
mat_normalmaps0YesNone
mat_normals0YesNone
mat_parallaxmap0None
mat_picmip0Sets texture quality. Is the same as the "Texture Detail" menu. Values are 0-High, 1-Medium, 2-Low
mat_proxy0None
mat_reducefillrate0None
mat_reloadallmaterialsNone
mat_reloadmaterialNone
mat_reloadtexturesNone
mat_reversedepth0YesNone
mat_savechangesSaves current video configuration to the registry.
mat_setvideomodeSets the width, height, windowed state of the material system.
mat_shadowstate1None
mat_show_texture_memory_usage0Display the texture memory usage on the HUD.
mat_showcamerarendertarget0YesNone
mat_showenvmapmask0None
mat_showframebuffertexture0YesNone
mat_showlightmapcomponent00: show normal-mapped lightmap

1: show component 11: show component 21: show component 3

mat_showlightmappage-1None
mat_showlowresimage0None
mat_showmaterialsShow materials.
mat_showmaterialsverboseNone
mat_showmiplevels0None
mat_showtexturesShow textures.
mat_showwatertextures0YesNone
mat_skybloomamount1None
mat_slopescaledepthbias_decal0YesNone
mat_slopescaledepthbias_normal0YesNone
mat_softwarelighting0None
mat_softwareskin0None
mat_specular1Enable/Disable specularity for performance testing. Will cause a material reload upon change.
mat_spewvertexandpixelshadersPrint all vertex and pixel shaders currently loaded to the console.
mat_stub0YesNone
mat_suppressSuppress a material from drawing
mat_surfaceid0None
mat_surfacemat0None
mat_texture_limit-1If this value is not -1, the material system will limit the amount of texture memory it uses in a frame. Useful for identifying performance cliffs. The value is in kilobytes.
+mat_texture_listNone
-mat_texture_listNone
mat_texture_list0For debugging, show a list of used textures per frame
mat_texture_list_all0If this is nonzero, then the texture list panel will show all currently-loaded textures.
mat_texturelist_directories0None
mat_texturelist_files1None
mat_trilinear1None
mat_viewportscale1YesDebugging viewport scale
mat_vsync0Force sync to vertical retrace
mat_wateroverlaysize128None
mat_wireframe0See Optimization Commands.
mat_yuv0Turns the screen monochrome
maxplayersChange the maximum number of players allowed on this server.
mem_dumpDump memory stats.
mem_dumpstats0Dump current and max heap usage info to console at end of frame ( set to 2 for continuous output )
mem_force_flush0Force cache flush of unlocked resources on every alloc.
metropolice_charge1None
metropolice_chase_use_follow0None
metropolice_move_and_melee1None
minisaveSaves game (for current level only!)
mod_forcedata1Forces all model file data into cache on model load.
monk_headshot_freq2None
mortar_visualize0None
+movedownNone
-movedownNone
+moveleftNone
-moveleftNone
+moverightNone
-moverightNone
+moveupNone
-moveupNone
mp_allowNPCs1None
mp_autoteambalance1None - New Source Engine
mp_autoteambalance_delay1Time after the teams become unbalanced to attempt to switch players. - New Source Engine
mp_autoteambalance_warning_delay1Time after the teams become unbalanced to print a balance warning. - New Source Engine
mp_allowspectators1Toggles whether the server allows spectator mode or not.
mp_autocrosshair1None
mp_bonusroundtime1Time after round win until round restarts - New Source Engine
mp_chattime10Amount of time players can chat after the game is over.
mp_decals200None
mp_defaultteam0None
mp_enableroundwaittime1Enable timers to wait between rounds. - New Source Engine
mp_facefronttime3After this amount of time of standing in place but aiming to one side, go ahead and move feet to face upper body.
mp_falldamage0None
mp_feetyawrate720How many degrees per second that we can turn our feet or upper body.
mp_flashlight0None
mp_footsteps1None
mp_forcecamera0Restricts spectator modes for dead players.
mp_forcerespawn1None
mp_fraglimit0None
mp_friendlyfire0None
mp_ik1Use IK on in-place turns.
mp_logecho1None
mp_logfile1None
mp_maxrounds1Max number of rounds to play before server changes maps - New Source Engine.
mp_restartround1If non-zero, the current round will restart in the specified number of seconds - New Source Engine.
mp_stalemate_timelimit1Timelimit (in seconds) of the stalemate round. - New Source Engine.
mp_teamlist0None
mp_teamoverride1None
mp_teamplay0None
mp_teams_unbalance_limit1Teams are unbalanced when one team has this many more players than the other team. (0 disables check) - New Source Engine.
mp_timelimit0Game time per map in minutes.
mp_weaponstay0None
mp_winlimit0Max number of rounds one team can win before server changes maps - New Source Engine.
mp3(Counter-Strike: Source only) Starts the Valve MP3 Player.
muzzleflash_light1None