User:OrangeChris/Console Command List
I'm creating this page to try and create a full and comprehensive list of every console command and cvar in the game. A lot of this info is taken from the similar page on theValve Developer Wiki.
Contents
- 1 A
- 1.1 abuse_report_queue
- 1.2 abuse_report_submit
- 1.3 achievement_debug [0/1]
- 1.4 addip <minutes> <ban address>
- 1.5 adsp_
- 1.5.1 adsp_alley_min 122
- 1.5.2 adsp_courtyard_min 126
- 1.5.3 adsp_debug 0
- 1.5.4 adsp_door_height 112
- 1.5.5 adsp_duct_min 106
- 1.5.6 adsp_hall_min 110
- 1.5.7 adsp_low_ceiling 108
- 1.5.8 adsp_courtyard_min 126
- 1.5.9 adsp_openspace_min 130
- 1.5.10 adsp_openstreet_min 118
- 1.5.11 adsp_openwall_min 130
- 1.5.12 adsp_room_min 102
- 1.5.13 adsp_street_min 118
- 1.5.14 adsp_tunnel_min 114
- 1.5.15 adsp_wall_height 128
- 1.6 ai_
- 1.7 air_density <density>
- 1.8 alias <aliasname> <output>
- 1.9 ±alt1; ±alt2
- 1.10 ammo_max <ammo>
- 1.11 anim_
- 1.12 askconnect_accept
- 1.13 async_
- 1.14 ±attack
- 1.15 ±attack2
- 1.16 audit_save_in_memory
- 1.17 autoaim_
- 2 B
- 2.1 ±back
- 2.2 banid <ID>
- 2.3 banip <IP>
- 2.4 bench_
- 2.5 bind <key> <console input>
- 2.6 bind_mac <key> <console input>
- 2.7 binds_per_command
- 2.8 BindToggle <key> <cvar>
- 2.9 blink_duration <seconds>
- 2.10 bloodspray
- 2.11 bot_
- 2.11.1 bot
- 2.11.2 bot_changeclass
- 2.11.3 bot_changeteams
- 2.11.4 bot_com_weaponrange
- 2.11.5 bot_com_viewrange
- 2.11.6 bot_com_wpnrange
- 2.11.7 bot_command <bot id> <command string...>
- 2.11.8 bot_crouch
- 2.11.9 bot_debug
- 2.11.10 bot_dontmove
- 2.11.11 bot_drop
- 2.11.12 bot_forceattack
- 2.11.13 bot_forceattack2
- 2.11.14 bot_forcefireweapon
A
abuse_report_queue
cmd
Bound to F7 by default
- Capture data for abuse report and queue for submission. Use abose_report_submit[sic] to activate UI to submit the report
Typo, should refer to abuse_report_submit
abuse_report_submit
cmd
- Activate UI to submit queued report. Use abuse_report_queue to capture data for the report the report
Obsolete since the game will continually notify you if you have an abuse report ready to submit.
achievement_debug [0/1]
cvar 0/1
cheat
- Turn on achievement debug msgs
Function unknown. More testing required.
addip <minutes> <ban address>
cmd
Add an IP to the ban list
Use 0 minutes for permanent
adsp_
I have absolutely no idea what any of these due. They appear in source games dating back to Day of Defeat, but I can't find any explanation to their purpose. All are cvars, and are simply posted with their default values. Might have something to do with mapmaking.
adsp_alley_min 122
adsp_courtyard_min 126
adsp_debug 0
This one creates several blue squares in maps with the label DSP NODE
adsp_door_height 112
adsp_duct_min 106
adsp_hall_min 110
adsp_low_ceiling 108
adsp_courtyard_min 126
adsp_openspace_min 130
adsp_openstreet_min 118
adsp_openwall_min 130
adsp_room_min 102
adsp_street_min 118
adsp_tunnel_min 114
adsp_wall_height 128
ai_
These all are server-only commands. They're all copied from HL2, so I'm not sure how much affect these have on TF2 Bots.
air_density <density>
cvar, cheat
Changes the density of air for drag computations
Has no effect on players or ragdolls, but interestingly does affect dropped ammo/weapons. At ridiculously high values (100000+), weapons and ammo boxes will be suspended in the air.
alias <aliasname> <output>
Incredibly powerful tool. Works similarly to bind, but lets you attach console inputs to a command instead of a key.
Alias is the backbone of most advanced scripts
±alt1; ±alt2
Defunct
ammo_max <ammo>
cvar; def. 5000
Overrides weapon attributes and forces max reserve ammo to its value. Has no affect if weapon's ammo is already below ammo_max
anim_
Animations
anim_3wayblend [0/1]
cvar; def. 1
Toggle the 3-way animation blending code
No noticeable effect from disabling
anim_showmainactivity [0/1]
cvar; def. 0; cheat
Show the idle, walk, run and/or sprint activities
askconnect_accept
cmd
Accept a redirect request by a server
async_
async_allow_held_files [0/1]
cvar; def. 1
Allow AsyncBegin/EndRead()
async_mode [0/1]
cvar; def. 0
Set the async filesystem mode (0 = async, 1 = synchronous)
async_resume
cmd
async_serialize [0/1]
cvar; def. 0
Force async reads to serialize for profiling
async_simulate_delay <milliseconds>
cvar; def. 0
Simulate a delay of up to a set msec per file operation
async_suspend
cmd
±attack
Primary Fire. Bound to MOUSE1 by Default.
±attack2
Secondary Fire (Ubercharge, airblast, scope, cloak, etc.). Bound to Mouse2 by default.
audit_save_in_memory
cmd
Audit the memory usage and files in the save-to-memory system
autoaim_
I believe this has to do with the aim assist for gamepad players.
autoaim_max_deflect
cvar; def. 0.99; server
autoaim_max_dist
cvar; def. 2160; server
B
±back
Move Backwards. Bound to S by default.
banid <ID>
cmd
Add a user ID to the ban list
banip <IP>
cmd
Add an IP address to the ban list
bench_
Benchmarks
bench_end
cmd
Ends gathering of info
bench_showstatsdialog
cmd
Shows a dialog displaying the most recent benchmark results.
bench_start <filename>
cmd
Starts gathering of info. Arguments: filename to write results into
bench_upload
cmd
Uploads most recent benchmark stats to the Valve servers.
benchframe
cmd
Takes a snapshot of a particular frame in a time demo.
bind <key> <console input>
Assign a key to an ingame function. See List of default keys.
bind_mac <key> <console input>
Bind this key, but only on Mac, not Windows.
binds_per_command
cvar; def. 1
No clue.
BindToggle <key> <cvar>
Performs a bind <key> 'increment var <cvar> 0 1 1'
blink_duration <seconds>
How many seconds an eye blink will last.
bloodspray
defunct blood
bot_
Used to control dummy bots. Unlike the bots spawned by tf_bot_ commands, these bots do nothing automatically and will always follow orders exactly. Some of these are likely left over, such as bot_drop
bot
cmd
Add a bot
Accepts -team, -name, and -class arguments
bot_changeclass
cvar; def. 0; server
Force all bots to change to the specified class. Broken?
bot_changeteams
cmd
Make all bots change teams
bot_com_weaponrange
cvar; def. 80; server; cheat
Distance to a target that a melee bot wants to be within to attack.
bot_com_viewrange
cvar; def. 2000; server; cheat
Distance within which bots looking for any enemies will find them.
bot_com_wpnrange
cvar; def. 400; server; cheat
Distance to a target that a ranged bot wants to be within to attack.
bot_command <bot id> <command string...>
cmd
Sends specified command on behalf of specified bot
Broken? I've seen it work in videos
bot_crouch
cvar; def. 0; cheat; server
Force all bots to crouch.
bot_debug
cvar; def. 0; cheat; server
Bot debugging.
bot_dontmove
cvar; def. 0; cheat; server
bot_drop
No function in TF2
bot_forceattack
cvar; def. 0
When on, all bots fire their guns.
bot_forceattack2
cvar; def. 0
When firing, use attack2.
bot_forcefireweapon
cvar; def. 1
When firing, don't tap fire, hold it down.
=====bot_forcefire