Talk:Console Command List

From Valve Developer Community
Jump to: navigation, search

should the Console Command List include Console Variables also?—ts2do (Talk | @) 23:30, 4 Jan 2006 (PST)

The currently listed commands are for Half-Life 2 single player, right? --Pizzahut 09:40, 5 Jan 2006 (PST)

I would like to know in what way you'd like this article cleaned up. I'd like to scrap this list by turning it into several smaller pages under the Console Commands and Console Variables sub-categories. It will take some time, but I might find the energy to do it. --Andreasen 17:41, 14 Feb 2006 (PST)

I really don't think this is a very helpful documented list...instead of having a full list of commands...it'd make more sense to have specific articles on a set of commands...like Advanced Crosshair ConVarsts2do 18:25, 14 Feb 2006 (PST)

Yes, that page looks beautiful. We'll see if I can find the time to start converting. Working at converting a tutorial right now. --Andreasen 20:09, 14 Feb 2006 (PST)
I'm glancing over this page once more and would want to know how we would divide it. Are we going to do it alphabetically, and make an "ai_" page with all the ai_* or perhaps the ai* commands/variables, or are we going with topic categories, with all the commands controlling the ai, like making an "AI CVars" page? I'm voting for the topic categories, tough this ironically means that I won't be able to categorize this, knowing nothing about these commands. With topic categories, things like "addip", "writeip" and "writeid" end up in the same "ban" category. --Andreasen 04:30, 19 Feb 2006 (PST)

it also would be a good idea to make redirect for each cvar listed in the articles—ts2do 20:19, 14 Feb 2006 (PST)

You mean a page for each cvar, so that you can type them in the search box? Good idea, but just so you know, that's gonna be a looot of pages to create - will probably spam up the "Recent changes" page. --Andreasen 04:30, 19 Feb 2006 (PST)

so? that's what happened with my Steam Resource Map image uploading—ts2do 08:43, 19 Feb 2006 (PST)

Yes, but that was a very small amount of pictures compared to this entire list. I'm not telling you not to do it. I'm perhaps telling you to see if these pages can be automatically created OUTSIDE of the "Recent changes" list somehow, with the aid of some admin here. --Andreasen 23:45, 19 Feb 2006 (PST)
The list currently has 1817 items, by my count; I don't think separate per-item pages would be a realistic goal. Functional grouping sounds good.--WatercoolerWarrior 20:34, 22 Feb 2006 (PST)
Yeah, functional grouping is the only way this can be properly organised and still remain easily readable.--JamesHarrison 07:55, 5 Sep 2006 (PDT)

Updated list of sv_ variables and the last extract from all server console commands.--KillahInstinct 10:28, 6 Jun 2007 (PDT)

Category Suggestions

Explanation

In order to prepare for groupings, we could suggest which commands belong together here, and what the group is going to be titled.

After having created a group and transfered the list of commands/variables with their descriptions there, we could reroute the pages of these commands to the group page, and have the description in the Console Command List say for instance: "See Player Keys."

For a layout of a group page, see Advanced Crosshair ConVars, but we could also add which game the commands/variables are for, if it differs, like something like I've seen somewhere else (and can't remember at the moment).

Ban System Control

IP Ban ConCommands

addip
Add an IP address to the ban list.
removeip
Remove an IP address from the ban list.
listip
List IP addresses on the ban list.
writeip
Save the ban list to banned_ip.cfg.

ID Bans ConCommands

banid
Add a user ID to the ban list.
removeid
Remove a user ID from the ban list.
listid
Lists banned users.
writeid
Writes a list of permanently-banned user IDs to banned_user.cfg.

Ban ConVars

sv_logbans
None.
Default value: 0
sv_filterban
Set packet filtering by IP mode.
Default value: 1
sv_rcon_banpenalty
Number of minutes to ban users who fail rcon authentication.
Default value: 0
sv_rcon_maxfailures
Max number of times a user can fail rcon authentication before being banned.
Default value: 10
sv_rcon_minfailures
Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned.
Default value: 5
sv_rcon_minfailuretime
Number of seconds to track failed rcon authentications.
Default value: 30

Player Keyboard Control Commands

Any command that that can be bound to a key through the Keyboard tab in the games in-game settings. Most of these are +/- commands.

+/- commands in general are typically bound to keys, using the bind command.

Any commands with "+" in front of it, is activated immediately as the key bound to it is pressed down. Every "+" command has an identical "-" command twin that is activated when that key is released again, which is implied in this list.

The list below includes ALL the +/- commands I found in the list, some of which doesn't belong in this category, but as I don't know which keys can be set with the Keyboard tab, I included them all. Their functions are verified (and most of these descriptions hasn't been written in the big list), but the sub-categories I placed them in is made up and they should be structured according to the categories they are under in the in-game settings.

Edited with the help of these lists: Customizing Options: Keyboard


Bind Commands

bind
Bind a key.
unbind
Unbind a key.
unbindall
Unbind all keys.


Movement keys

+moveleft
Makes player strafe left.
Default key: a
+moveright
Makes player strafe right.
Default key: d
+forward
Makes player move forward.
Default key: w
+back
Makes player move backward.
Default key: s
+left
Makes player turn left.
+right
Makes player turn right.
+moveup
Makes player swim up.
+movedown
Makes player swim down.
+strafe
Keyboard strafe modifier.
+walk
Makes player walk (slow) instead of run.
Default key: <Alt>


Action keys

+attack
Makes player fire his primary attack.
Default key: <Left Mouse Button>
+attack2
Makes player fire his secondary attack.
Default key: <Right Mouse Button>
+reload
Makes player reload his current weapon.
Default key: r
+use
Makes player use.
Default key: e
+duck
Makes player crouch.
Default key: <Ctrl>
+jump
Makes player jump.
Default key: <Space>
+speed
Activates player HEV suit sprint boost.
Default key: <Shift>
+zoom
Activates player HEV suit zoom.
Default key: z


Other keys

cancelselect
None.
Default key: <Escape>
toggleconsole
Show/hide the console.
Default key: `
impulse 50
Makes player command (call/send) a squad.
Default key: c
impulse 100
Toggles the flashlight on/off for the player.
Default key: f
slot1
Open weapon selection category 1 for the player.
Default key: 1
slot2
Open weapon selection category 2 for the player.
Default key: 2
slot3
Open weapon selection category 3 for the player.
Default key: 3
slot4
Open weapon selection category 4 for the player.
Default key: 4
slot5
Open weapon selection category 5 for the player.
Default key: 5
slot6
Open weapon selection category 6 for the player.
Default key: 6
slot7
Open weapon selection category 7 for the player.
Default key: 7
invprev
Selects the previous weapon for the player.
Default key: <Mouse Wheel Up>
invnext
Select the next weapon for the player.
Default key: <Mouse Wheel Down>
lastinv
Switches to the last weapon used by the player.
Default key: q
phys_swap
Swap between the gravity gun and the current weapon.
Default key: g
jpeg
Takes a jpeg screenshot: jpeg <filename> <quality 1-100>.
Default key: <F5>
pause
Pauses the game.
Default key: <Pause>

Look keys

+camdistance
None
+camin
None
+cammousemove
None
+camout
None
+campitchdown
None
+campitchup
None
+camyawleft
None
+camyawright
None
+commandermousemove
None
+graph
None
+jlook
None
+klook
Keyboard look modifier.
+lookdown
Makes player look down.
+lookup
Makes player look up.


Strange key(?) stuff

+alt1
None
+break
None
+mat_texture_list
A useful debugging tool for viewing materials and fonts being used by the game
+score
None
+showscores
None
+showbudget
None
+showbudget_texture
None
+showbudget_texture_global
Toggle a box containing memory usage by groups such as world textures, model textures, physics etc
+showvprof
None
+vgui_drawtree
None
+voicerecord
None

Cheats

The number of commands that requires sv_cheats 1 is too many to have its own category. However, this category could contain any command that is commonly used to provide an unfair advantage:

god
"God Mode" - Player becomes invincible. Type again to turn off.
impulse 101
See impulse.
noclip
Toggle. Player becomes non-solid and flies. Useful for developers and players that has gotten physically stuck.
buddha
Toggle. Player takes damage but won't die. (Shows red cross when health is zero.)
give
give <entity name> Give the player the item, weapon or asset stated.

Most of these are currently listed under sv_cheats, but most of these commands apparently doesn't require the sv_cheats command to be enabled (according to this list).


Progress Saving/Loading

save
Saves current game.
save quick - Quicksave game. Default key: <F6>
load
Load a saved game.
load quick - Load the latest quicksave. Default key: <F9>
reload
Reload the most recent saved game (add setpos to jump to current view position on reload).
restart
Restart the game on the same level (add setpos to jump to current view position on restart).
sv_autosave
Set to 1 to save game on level transition. Does not affect autosave triggers. Default value: 1
minisave
Saves game for current level only.
autosave
None

Sound Emitter System

play
Blah
cd
Play or stop a cd track.
bgmvolume
Cd sound playback volume.
Default value: 1


mp3
(Counter-Strike: Source only.) Starts the Valve MP3 Player.

Occluder Debug System

(This list is from func_occluder. The debugging commands should be moved from that article and referred to.)

r_drawpixelvisibility
Show the occlusion proxies.
r_occludeemaxarea
Prevents occlusion testing for entities that take up more than X% of the screen. 0 means use whatever the level said to use.
r_occluderminarea
Prevents this occluder from being used if it takes up less than X% of the screen. 0 means use whatever the level said to use.
r_occlusionspew
Activate/deactivates spew about what the occlusion system is doing.
r_occludermincount
At least this many occluders will be used, no matter how big they are.
r_occlusion
Activate/deactivate the occlusion system.
r_visocclusion
Activate/deactivate wireframe rendering of what the occlusion system is doing.

Links that include more console commands/variables

I suggest merging the descriptions of these commands into seperate pages.

Updated list of sv_ variables and the last extract from all server console commands.

Recent changes done to the article

The changes made to the article to list commands by starting letter, which somebody created new pages for, would be much better done by simple linking them to the same page and using # symbols. This reduces page amounts, and cleans up the page and the wiki. Solokiller 04:12, 21 Nov 2007 (PST)

New pages for game specific commands

I really think it would be great if there were sub-sections of the console list to include games that have their own unique commands, as well as list which general source commands are unavailable in those games.

Team Fortress 2, Left 4 Dead, and Left 4 Dead 2 all have a lot of their own, unique commands as well as having many general commands de-listed.

The Cool Side of the Pillow 04:18, 4 January 2010 (UTC)

Red links

Personally, I think most of the console commands don't need their own page for an explanation. Some of them are self-explanatory and can be described in the description box next to them in the table. It may be just me, though. I hate seeing red links, especially for commands that only need two sentences of information. —Mattshu 22:33, 9 September 2011 (PDT)

Missing CVar: host_thread_mode

I was asked what "host_thread_mode" means, but I have no idea, and no Server to try out, yet. --Rautamiekka 11:10, 4 May 2013 (PDT)

Solved, why command list didn't updated in Console Command List page.

I updated /D list but it didn't show in main page anymore.
So I just made little edit in main page and saved, it worked. --Bacardi (talk) 09:24, 4 October 2017 (UTC)

Not everything needs its own page

A lot of these commands either link to pages that don't exist, or link to stub pages with short descriptions. For these more trivial commands, why not just have all the description in the table? That's what this page is for... I think Mattshu pointed this out in a previous section. --Stract (talk) 16:27, 14 July 2018 (UTC)

I agree but I think the information about the commands should be included on the page they're relevant to (like areaportal-related commands going on the areaportals page) or if there's a LOT, make them into their own page like Gel-related console commands. I don't think people use these pages for info. Honestly they're just so big and cluttered it's kind of hard. Pinsplash (talk) 16:40, 14 July 2018 (UTC)
Yes, I was mostly speaking regarding trivial commands that require or have little explanation. --Stract (talk) 16:42, 14 July 2018 (UTC)
Yeah, for something like jpeg_quality, it's fine here. Pinsplash (talk) 16:50, 14 July 2018 (UTC)

This is an impartial list of " Console Commands ". Steam console commands are missing from this section.

Subject says it all.

I bet hardly anyone knows that Steam has a console too.

Yet where is the command list for that?
I have figured out some. Valve never released a list though.

MISSING DATA.
Hmm... I see this page editor is basically an HTML format editor.
Side note: Only the thumbnail can be seen. Dont click, Valve has bugs.
Side note: Who uses mediawiki>Phabricator as a HTML editor? Ewww...
VALVE STAFF NOTE: Effective June 1, 2021: Phabricator is no longer actively maintained.
VALVE STAFF NOTE: Time to find a new editor, and convert this outdated wiki editor.
--StealthMode (talk) 04:58, 20 November 2022 (PST)

Got Console?