-
Notifications
You must be signed in to change notification settings - Fork 31
Console
Voltstro edited this page Oct 12, 2020
·
10 revisions
Team-Capture include a console system, you can open up the console using the F1
key.
There are two types of commands: Commands and ConVars. They are basically the same, except that ConVars are a single variable and are a bit more limiting, but are used exactly the same as a command.
Commands can be divided up into 4 categories: Rendering (r_
), Server (sv_
), Client (cl_
) and other. Some commands can only either be executed as a server, client or both.
Command | Summary | Run Permission |
---|---|---|
r_antialiasing |
Changes the antialiasing mode | ClientOnly |
r_antialiasing_quality |
Changes the antialiasing quality | ClientOnly |
r_resolution |
Set the resolution (width x height) | ClientOnly |
r_refreshrate |
Sets the refresh rate | ClientOnly |
r_screenmode |
Sets the screen mode | ClientOnly |
r_motionblur_enabled |
Enables or disables motion blur | ClientOnly |
r_motionblur_intensity |
Changes the motion blur intensity | ClientOnly |
r_motionblur_clamp |
Changes the motion blur clamp | ClientOnly |
r_bloom_enabled |
Enables or disables bloom | ClientOnly |
r_bloom_threshold |
Changes the bloom threshold | ClientOnly |
r_bloom_intensity |
Changes the bloom intensity | ClientOnly |
r_vignette_enabled |
Enables or disables vignette | ClientOnly |
r_vignette_intensity |
Changes the vignette intensity | ClientOnly |
r_vignette_smoothness |
Changes the vignette smoothness | ClientOnly |
scene |
Loads a scene | Both |
cl_showpos |
Shows info about position data | ClientOnly |
sv_damage |
Damages a player | ServerOnly |
players |
Gets a list of all the players | Both |
connect |
Connects to a server | ClientOnly |
disconnect |
Disconnect from the current game | Both |
startserver |
Starts a server | ClientOnly |
gamename |
Sets the game name | ServerOnly |
sv_address |
Sets the server's address | ServerOnly |
exec |
Executes a file | Both |
help |
Shows a list of all the commands | Both |
version |
Shows Team-Capture's current version | Both |
console |
Toggles the console | Both |
console_scale |
Changes the console's text scale | Both |
quit |
Quits the game | Both |
echo |
Echos back what you type in | Both |
asciiart |
Shows Team-Capture ascii art | Both |
splashmessage |
Shows a random splash message | Both |
Command | Summary |
---|---|
cl_muzzleflashlighting |
Whether or not the muzzle flash will have lighting |
cl_sway_amount |
Sets how much a gun will sway |
cl_sway_enable |
Whether or not weapons will sway |
name |
Sets the name |