Difference between revisions of "Console Command List/C"

From Valve Developer Community
Jump to: navigation, search
(players REALLY need to know not to use otrhographic mode, because you can't get out of it.)
(No need to shout.)
Line 47: Line 47:
 
|-
 
|-
 
|valign="top"|[[camortho]]||||||Switch to orthographic camera.
 
|valign="top"|[[camortho]]||||||Switch to orthographic camera.
'''BE CAREFUL, IT IS CURRENTLY UNKNOWN HOW TO GET OUT OF ORTHOGRAPHIC MODE, EXCEPT TO RESTART THE ENGINE.'''
+
'''There is currently no known way to exit this mode without restarting the engine.'''
 
|-
 
|-
 
|valign="top"|<nowiki>+</nowiki>[[camout]]||||||None
 
|valign="top"|<nowiki>+</nowiki>[[camout]]||||||None

Revision as of 19:43, 28 December 2010

Command Default Cheat? Help Text
c_maxdistance 200 None
c_maxpitch 90 None
c_maxyaw 135 None
c_mindistance 30 None
c_minpitch 0 None
c_minyaw -135 None
c_orthoheight 100 None
c_orthowidth 100 None
cache_print Print out contents of cache memory.
cam_command 0 Yes Changes camera view, first/third person
cam_idealdist 64 Cam distance from player
cam_idealdistup 0 Cam above/below player
cam_idealdistright 0 Cam left/right of player
cam_idealpitch 0 None
cam_idealyaw 90 0=Behind player, 90=Right arm
cam_snapto 0 None
+camdistance None
-camdistance None
+camin None
-camin None
+cammousemove None
-cammousemove None
camortho Switch to orthographic camera.

There is currently no known way to exit this mode without restarting the engine.

+camout None
-camout None
+campitchdown None
-campitchdown None
+campitchup None
-campitchup None
+camyawleft None
-camyawleft None
+camyawright None
-camyawright None
cancelselect None
cast_hull Tests hull collision detection
cast_ray Tests collision detection
cc_captiontrace 1 Show missing closecaptions: (0 = no, 1 = devconsole, 2 = show in hud)
cc_emit Emits a closed caption
cc_lang 0 Current close caption language (emtpy = use game UI language)
cc_linger_time 1 Close caption linger time.
cc_lookup_crc For tracking down missing CC token strings
cc_predisplay_time 0 Close caption delay before showing caption.
cc_sentencecaptionnorepeat 4 How often a sentence can repeat.
cc_subtitles 0 If set, don't show sound effect captions, just voice overs (i.e., won't help hearing impaired players).
cd Play or stop a cd track.
centerview None
ch_createairboat Spawn airboat in front of the player.
ch_createjeep Spawn jeep in front of the player.
changelevel Change server to the specified map
changelevel2 Transition to the specified map in single player
cl_allowdownload 1 Client downloads customization files
cl_allowupload 1 Client uploads customization files
cl_anglespeedkey 0 None
cl_animationinfo Hud element to examine.
cl_backspeed 400 None
cl_bob 0 None
cl_bobcycle 0 None
cl_bobup 0 None
cl_class 0 Default class when joining a game
cl_clock_correction 1 Yes Enable/disable clock correction on the client.
cl_clock_correction_adjustment_max_amount 200 Yes Sets the maximum number of milliseconds per second it is allowed to correct the client clock. It will only correct this amount if the difference between the client and server clock is equal to or larger than cl_clock_correction_adjustment_max_offset.
cl_clock_correction_adjustment_max_offset 90 Yes As the clock offset goes from cl_clock_correction_adjustment_min_offset to this value (in milliseconds), it moves towards applying cl_clock_correction_adjustment_max_amount of adjustment. That way, the response is small when the offset is small.
cl_clock_correction_adjustment_min_offset 10 Yes If the clock offset is less than this amount (in milliseconds), then no clock correction is applied.
cl_clock_correction_force_server_tick 999 Yes Force clock correction to match the server tick + this offset (-999 disables it).
cl_clock_showdebuginfo 0 Yes Show debugging info about the clock drift.
cl_clockdrift_max_ms 150 Yes Maximum number of milliseconds the clock is allowed to drift before the client snaps its clock to the server's.
cl_cmdbackup 2 For each command packet, how many additional history commands are sent ( helps in case of packet loss ) (This command no longer exists)
cl_cmdrate 30 Max number of command packets sent to server per second
cl_customsounds 0 Enable customized player sound playback
cl_demoviewoverride 0 Override view during demo playback
cl_detaildist 1200 Distance at which detail props (e.g. grass) are shown.
cl_detailfade 400 Distance it takes for detail props to go from transparent to opaque. If this value is >= cl_detaildist, it is treated as if it were 0.
cl_draw_airboat_wake 1 Yes None
cl_drawhud 1 Yes Enable the rendering of the hud
cl_drawleaf -1 Yes None
cl_drawmaterial 0 Yes Draw a particular material over the frame
cl_drawmonitors 1 None
cl_drawshadowtexture 0 Yes None
cl_ejectbrass 1 Determines whether spent shells are shown ejecting from a gun.
cl_ent_absbox Displays the client's absbox for the entity under the crosshair.
cl_ent_bbox Displays the client's bounding box for the entity under the crosshair.
cl_ent_rbox Displays the client's render box for the entity under the crosshair.
cl_entityreport 0 Yes For debugging, draw entity states to console
cl_extrapolate 1 Yes Enable/disable extrapolation if interpolation history runs out.
cl_extrapolate_amount 0 Yes Set how many seconds the client will extrapolate entities for.
cl_flushentitypacket 0 Yes For debugging. Force the engine to flush an entity packet.
cl_forcehighendmonitors 1 None
cl_forcepreload 0 Whether we should force preloading model and texture information to video memory at the beginning of a level. Makes level loads longer, but can reduce stuttering caused by loading information on the fly.
cl_forwardspeed 400 None
cl_fullupdate Forces the server to send a full update packet
cl_idealpitchscale 0 None
cl_ignorepackets 0 Yes Force client to ignore packets (for debugging).
cl_interp 0 Interpolate object positions starting this many seconds in past
cl_interp_npcs 0 Interpolate NPC positions starting this many seconds in past (or cl_interp, if greater)
cl_interpolate 1 Interpolate entities on the client.
cl_lagcomp_errorcheck 0 Player index of other player to check for position errors.
cl_lagcompensation 1 Perform server side lag compensation of weapon firing events.
cl_leveloverview 0 Yes None
cl_localnetworkbackdoor 1 Enable network optimizations for single player games.
cl_logofile 0 Spraypoint logo decal.
cl_maxrenderable_dist 3000 Yes Max distance from the camera at which things will be rendered
cl_mouseenable 1 None
cl_observercrosshair 1 None
cl_overdraw_test 0 Yes None
cl_panelanimation blanak for all panels>.
cl_particleeffect_aabb_buffer 2 Yes Add this amount to a particle effect's bbox in the leaf system so if it's growing slowly, it won't have to be reinserted as often.
cl_pclass 0 Yes Dump entity by prediction classname.
cl_pdump -1 Yes Dump info about this entity to screen.
cl_phys_props_enable 1 Disable clientside physics props (must be set before loading a level).
cl_phys_props_max 300 Maximum clientside physic props
cl_phys_timescale 1 Yes Sets the scale of time for client-side physics (ragdolls)
cl_pitchdown 89 None
cl_pitchspeed 225 None
cl_pitchup 89 None
cl_playback_screenshots 0 Allows the client to playback screenshot and jpeg commands in demos.
cl_precacheinfo Show precache info (client).
cl_pred_optimize 2 Optimize for not copying data if didn't receive a network update (1), and also for not repredicting if there were no errors (2).
cl_predict 0 Perform client side prediction.
cl_predictionlist 0 Yes Show which entities are predicting
cl_predictweapons 1 Perform client side prediction of weapon effects.
cl_ragdoll_collide 0 None
cl_rate 10000 Max bytes/sec the host can send data (This command no longer exists)
cl_removedecals Remove the decals from the entity under the crosshair.
cl_resend 6 Delay in seconds before the client will resend the 'connect' attempt
cl_restrict_server_commands 1 Prevents the server from executing random console commands on the client. When cl_restrict_server_commands is enabled only concommands marked with FCVAR_SERVER_CAN_EXECUTE are allowed. Usage:
0
Don't restrict any server commands.
1
Restrict server commands in Valve multiplayer games.
2
Restrict server commands in all multiplayer games.
cl_SetupAllBones 0 None
cl_show_bloodspray 1 None
cl_show_splashes 1 None
cl_showanimstate -1 Yes Show the (client) animation state for the specified entity (-1 for none).
cl_showanimstate_log 0 Yes 1 to output cl_showanimstate to Msg(). 2 to store in AnimState.log. 3 for both.
cl_showents Dump entity list to console.
cl_showerror 0 Yes Show prediction errors, 2 for above plus detailed field deltas.
cl_showevents 0 Yes Print event firing info in the console
cl_showfps 0 See Optimization Commands.
cl_showpos 0 Draw current position at top of screen
cl_ShowSunVectors 0 None
cl_showtextmsg 1 Enable/disable text messages printing on the screen.
cl_sidespeed 400 None
cl_slist 10 Number of seconds to wait for server ping responses when checking for server on your lan
cl_smooth 1 Smooth view/eye origin after prediction errors
cl_smoothtime 0 Smooth client's view after prediction error over this many seconds
cl_soundemitter_flush Flushes the sounds.txt system (client only)
cl_soundfile 0 Jingle sound file.
cl_soundscape_flush Flushes the client side soundscapes
cl_soundscape_printdebuginfo print soundscapes
cl_starfield_diameter 128 None
cl_starfield_distance 256 None
cl_sun_decay_rate 0 Yes None
cl_team 0 Default team when joining a game
cl_timeout 30 After this many seconds without receiving a packet from the server, the client will disconnect itself
cl_updaterate 20 Number of packets per second of updates you are requesting from the server
cl_upspeed 320 None
cl_view Set the view entity index.
cl_winddir 0 Weather effects wind direction angle
cl_windspeed 0 Weather effects wind speed scalar
cl_yawspeed 210 None
clear Clear all console output.
clear_debug_overlays clears debug overlays
clientport 27005 Host game client port
closecaption 0 Enable close captioning.
cmd Forward command to server.
collision_shake_amp 0 None
collision_shake_freq 0 None
collision_shake_time 0 None
combine_guard_spawn_health 1 None
combine_spawn_health 1 None
+commandermousemove None
-commandermousemove None
+commandmenu Gold Source Command Menu
-commandmenu None
con_drawnotify 1 Disables drawing of notification area (for taking screenshots).
con_enable 1 Allows the console to be activated.
con_notifytime 8 How long to display recent console text to the upper part of the game window
con_nprint_bgalpha 50 Con_NPrint background alpha.
con_nprint_bgborder 5 Con_NPrint border size.
con_trace 0 Print console text to low level printout.
connect Connect to specified server.
contimes 8 Number of console lines to overlay for debugging.
coop 0 Cooperative play.
CreateHairball None
creditsdone None
crosshair 1 None
curve_bias 0 None
cvarlist Show the list of convars/concommands.