Difference between revisions of "User:OrangeChris/Console Command List"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "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 the[...")
 
 
Line 133: Line 133:
 
''How many seconds an eye blink will last.''
 
''How many seconds an eye blink will last.''
 
===bloodspray===
 
===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<br/>
 +
''Add a bot''
 +
Accepts -team, -name, and -class arguments
 +
=====bot_changeclass=====
 +
cvar; def. 0; server<br/>
 +
Force all bots to change to the specified class. Broken?
 +
=====bot_changeteams=====
 +
cmd<br/>
 +
''Make all bots change teams''
 +
=====bot_com_weaponrange=====
 +
cvar; def. 80; server; cheat<br/>
 +
''Distance to a target that a melee bot wants to be within to attack.''
 +
=====bot_com_viewrange=====
 +
cvar; def. 2000; server; cheat<br/>
 +
''Distance within which bots looking for any enemies will find them.''
 +
=====bot_com_wpnrange=====
 +
cvar; def. 400; server; cheat<br/>
 +
''Distance to a target that a ranged bot wants to be within to attack.''
 +
=====bot_command <bot id> <command string...>=====
 +
cmd<br/>
 +
''Sends specified command on behalf of specified bot''
 +
Broken? I've seen it work in videos
 +
===== bot_crouch =====
 +
cvar; def. 0; cheat; server<br/>
 +
''Force all bots to crouch.''
 +
=====bot_debug=====
 +
cvar; def. 0; cheat; server<br/>
 +
''Bot debugging.''
 +
=====bot_dontmove=====
 +
cvar; def. 0; cheat; server<br/>
 +
=====bot_drop=====
 +
No function in TF2
 +
=====bot_forceattack=====
 +
cvar; def. 0<br/>
 +
''When on, all bots fire their guns.''
 +
=====bot_forceattack2=====
 +
cvar; def. 0<br/>
 +
''When firing, use attack2.''
 +
=====bot_forcefireweapon=====
 +
cvar; def. 1<br/>
 +
''When firing, don't tap fire, hold it down.''
 +
=====bot_forcefire

Latest revision as of 02:49, 12 July 2015

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

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