Cvar Listing
icleprechauns
Join Date: 2002-11-22 Member: 9669Members
<div class="IPBDescription">need a *full* of *working* cvars</div> i've got some pretty cool ideas for admin-mod/amx-mod plugins, but i need a FULL listing (i.e. hotkey, sv_cheats cvars, etc.) of ALL the cvars that WORK in NS.
I've looked all over the forums, and I can't find anything other than 'hotkey' stuff...
thanks for the help <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
I've looked all over the forums, and I can't find anything other than 'hotkey' stuff...
thanks for the help <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
Comments
<b>cvarlist</b>
<b>consoledump</b> << i think thats right..i'm not sure.
<b>cvarlist</b>
<b>consoledump</b> << i think thats right..i'm not sure. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
I believe its condump.
SVAR = <b><u>server</u></b> variables
know your terminology, since cvar seems to be popular for everything nowadays. <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> and yes, i'm being a ****.
Whats also intresting is, to register a "SVAR" the engine command is "REGISTER_CVAR".and there is no mentjon of "REGISTER_SVAR"
Also, These are the engine functions for cvars:
(*g_engfuncs.pfnCVarRegister)
(*g_engfuncs.pfnCVarGetFloat)
(*g_engfuncs.pfnCVarGetString)
(*g_engfuncs.pfnCVarSetFloat)
(*g_engfuncs.pfnCVarSetString)
there is no such thing as...
(*g_engfuncs.pfnSVarRegister)
(*g_engfuncs.pfnSVarGetFloat)
(*g_engfuncs.pfnSVarGetString)
(*g_engfuncs.pfnSVarSetFloat)
(*g_engfuncs.pfnSVarSetString)
but what is that 'c' in cvar :o .. custom? config? command? control? cool?
cvar.c in quake1 and quake2 engine just say:
// cvar.c -- dynamic variable tracking
and rest is just 'variable' or 'cvar'. "C* Variable" isn't used anywhere <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->
the c stands for client. It was intended originally in the hl engine that any "cl_*" variables would be configureable by the user. (some also state that it means configuration). sv_ stands for server, mp_ stands for multiplayer, and ex_ (well, we all know what those stand for).
however it does not list the NS cvars (which is what i wanna know)
any ideas?
mp_allowmonsters
mp_allowspectators
mp_assert
mp_authicons
mp_autoconcede
mp_autocrosshair
mp_bulletcam
mp_chattime
mp_consistency
mp_countdowntime
mp_deathmatchmode
mp_defaultteam
mp_drawdamage
mp_drawinvisibleentities
mp_eastereggchance
mp_falldamage
mp_flashlight
mp_footsteps
mp_forcerespawn
mp_fraglimit
mp_fragsleft
mp_friendlyfire
mp_latejointime
mp_logdetail
mp_minvotesneeded
mp_networkdebug
mp_networkmeterrate
mp_serverops
mp_serverscripts
mp_spawninvulnerabletime
mp_teamlist
mp_teamoverride
mp_teamplay
mp_teamresourcehandicap
mp_testing
mp_timeleft
mp_timelimit
mp_tournamentmode
mp_trainingmode
mp_version
mp_votecasttime
mp_votedowntime
mp_votepercentneeded
mp_weaponstay
Open a console, type "cvarlist sv_*" or whatever prefix you want <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->