You are not logged in.
Pages: 1
Topic closed
forcecvar cvar value
Command used to force clients cvars to a specific value
Exemple : forcecvar cl_maxpackets 100
sv_cvar cvar mode value1 value2
Command used to restrict client cvars values.
Available modes :
EQ or EQUAL
G or GREATER
GE or GREATEREQUAL
L or LOWER
LE or LOWEREQUAL
IN or INSIDE
OUT or OUTSIDE
INC or INCLUDE
EXC or EXCLUDE
Exemple : sv_cvar cg_fov IN 90 120 (Clients will be forced to set "cg_fov" to a value >= 90 and <= 120)
sv_cvarempty
Command used to empty the sv_cvar's in memory.
Here's the best way to use these commands, in a .cfg file (ETPro .config like structure).
1) Download our sample fcvars.cfg there : http://etmods.net/downloads/fcvars.cfg
2) Put it in your nitmod folder
3) Add :
set g_customConfig "fcvars.cfg"
into your server config (usually server.cfg or nitmod.cfg)
The "fcvars.cfg" will then be loaded everytime a map starts.
Offline
Pages: 1
Topic closed