So, what exactly is a CVAR?
I've been wondering this lately, what are they and what are they for? I'll trying typing them into the console but they don't do anything. Are these supposed to be put into server.cfg or something?
|
Re: So, what exactly is a CVAR?
Shortish:
Client variable. Some of them are client side, some of them are server side. The server's cvars can only be changed directly from it's console or through rcon. Server.cfg is used to set values for cvars when the server start. |
Re: So, what exactly is a CVAR?
If you're having problems setting them while the server is in use, use the sm_cvar command to do it.
E.G sm_cvar mp_autoteambalance "1" Pretty sure that works! |
Re: So, what exactly is a CVAR?
cvar = convar = console variable
|
Re: So, what exactly is a CVAR?
yup, console variables; there's also concommands=console commands :P
syntax: cl_ denotes client cvars; sv_ denotes server cvars; mp_ denotes server cvars related to gameplay; tv_ denotes server cvars/commands related to sourcetv; sm_ ofc is used for sourcemod cvars/commands (most of) the rest, that don't start with those prefixes, are commands use: when typing a cvar in console, it automatically displays default value and info; to change that cvar, it must be followed by a parameter/value when typing a command in console (some can have parameters), it just executes it PS: pls correct me if necessary |
Re: So, what exactly is a CVAR?
Game specific cvars sometimes start with the game abbreviation instead, such as tf_weapon_criticals for TF2.
|
| All times are GMT -4. The time now is 05:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.