-
Notifications
You must be signed in to change notification settings - Fork 14
Console Tools
Matt Haynie edited this page Jul 8, 2018
·
7 revisions
-
ce_consoletools_filter_enabled: Enables or disables console filtering. -
ce_consoletools_filter_add: Adds a new console filter. Uses regular expressions.- Usage:
ce_consoletools_filter_add <filter>.
- Usage:
-
ce_consoletools_filter_remove: Removes an existing console filter. Usage:ce_consoletools_filter_remove <filter>. -
ce_consoletools_filter_list: Prints out existing console filters. -
ce_consoletools_flags_add: Adds one or more flags to a cvar. See list below for flag names and aliases.- Usage:
ce_consoletools_flags_add <cvar/command> <flag1> [flag2 ...]
- Usage:
-
ce_consoletools_flags_remove: Removes one or more flags from a cvar. See list below for flag names and aliases.- Usage:
ce_consoletools_flags_remove <cvar/command> <flag1> [flag2 ...]
- Usage:
Cvar flags can be added or removed with ce_consoletools_flags_add or ce_consoletools_flags_remove respectively. The flags that can be added or removed are as follows:
| Flag | Alias(es) | Description |
|---|---|---|
FCVAR_GAMEDLL |
game, gamedll
|
Cvar/command is defined in the game (server) dll. |
FCVAR_CLIENTDLL |
client, clientdll
|
Cvar/command is defined in the client dll. |
FCVAR_ARCHIVE |
archive |
Cvar will be saved/loaded from config.cfg. |
FCVAR_NOTIFY |
notify |
Server only: Notify players with a chat message when this cvar is changed. |
FCVAR_SPONLY |
singleplayer |
Client only: Cvar cannot be changed when connected to multiplayer server. |
FCVAR_NOT_CONNECTED |
notconnected |
Client only: Cvar cannot be changed when connected to a server. |
FCVAR_CHEAT |
cheat |
Cvar cannot be changed away from its default value unless sv_cheats is set to 1. |
FCVAR_REPLICATED |
replicated |
Cvar value on client will always match cvar value on server. |
FCVAR_SERVER_CAN_EXECUTE |
server_can_execute |
Server can remotely execute this command on the client. |
FCVAR_CLIENTCMD_CAN_EXECUTE |
clientcmd_can_execute |
Restricts the ability of this cvar/command to be called by certain internal engine functions. |
FCVAR_DEVELOPMENTONLY |
devonly, developmentonly
|
Cannot be changed or accessed in any way through the console or "normal" methods. |
FCVAR_HIDDEN |
hidden |
Do not show in console autocomplete, find, or cvarlist. Can still be changed/accessed if the name is known. |
- Allow changing fps_max without disconnecting:
ce_consoletools_flags_remove fps_max notconnected - Allow turning off ingame GUI without sv_cheats 1 on:
ce_consoletools_flags_remove r_drawvgui FCVAR_CHEAT