-
Notifications
You must be signed in to change notification settings - Fork 27
Console
Voltstro edited this page Feb 2, 2021
·
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 - The command that you input into the console
- Summary - A quick summary on what the command does
- Run Permission - Can this command only be executed on the client, server or can it be run on both
- Graphics Only - If true then this command WON'T be added if the game is running in headless/server mode.
Command | Summary | Run Permission | Graphics Only |
---|---|---|---|
r_antialiasing |
Changes the antialiasing mode | ClientOnly | ✔ |
r_antialiasing_quality |
Changes the antialiasing quality | ClientOnly | ✔ |
cl_fov |
FOV of the camera | 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_shadow_distance |
Sets the distance of the shadows | ClientOnly | ✔ |
r_shadow_cascades |
Sets the shadow cascades | ClientOnly | ✔ |
r_render_scale |
Sets the render scale | ClientOnly | ✔ |
r_msaa_quality |
Sets the msaa quality | ClientOnly | ✔ |
r_hdr |
Sets HDR | 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 | ❌ |
sv_damage |
Damages a player | ServerOnly | ❌ |
players |
Gets a list of all the players | Both | ❌ |
connect |
Connects to a server | ClientOnly | ❌ |
startserver |
Starts a server | ClientOnly | ❌ |
gamename |
Sets the game name | ServerOnly | ❌ |
sv_address |
Sets the server's address | ServerOnly | ❌ |
stop |
Stops the current game, whether that is disconnecting or stopping the server | Both | ❌ |
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 | ✔ |
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 | ❌ |
exception |
Manually causes an exception | Both | ❌ |
exception_async |
Manually causes an exception (Async) | Both | ❌ |
Command | Summary | Graphics Only |
---|---|---|
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 | ✔ |
cl_debugmenu |
Shows the debug menu | ✔ |
name |
Sets the name | ✔ |
cl_showpos |
Shows the position and other stuff like that of the player | ✔ |
cl_log_debug |
Logs debug messages | ❌ |
cl_motd |
Set what MOTD mode to use on the client | ✔ |
sv_pingfrequency |
How often will the server ping the clients | ❌ |
sv_gamename |
Sets the game name | ❌ |
sv_maxplayers |
How many players do we support | ❌ |
sv_scene |
Sets what scene to use on the server | ❌ |
sv_motd |
Set what MOTD mode to use on the server | ❌ |
console_scale |
Sets the console's scale | ✔ |
console_log_debug |
Shows debug logs in the console | ✔ |