Cvar Listing

icleprechaunsicleprechauns 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-->

Comments

  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    in the console type

    <b>cvarlist</b>
    <b>consoledump</b> << i think thats right..i'm not sure.
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    <!--QuoteBegin--cracker jackmac+Jan 28 2003, 10:54 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Jan 28 2003, 10:54 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> in the console type

    <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.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
  • r3v0luti0nr3v0luti0n Join Date: 2002-12-11 Member: 10528Members
    edited January 2003
    CVAR = <b><u>client</u></b> variables
    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 ****.
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    edited January 2003
    Intresting, I always believed CVAR standed for "Config varialbe"

    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)
  • hulluhullu Join Date: 2002-11-02 Member: 5289Members
    Tried search "svar" from hlsdk 2.3 .. nothing <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

    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-->
  • r3v0luti0nr3v0luti0n Join Date: 2002-12-11 Member: 10528Members
    nah, voogru, i was just stating what i thought it meant. if it is config var, then my post is invalid. but i've always heard it referred to as "client variable" or something similar, never config variable.
  • DuckDuck Join Date: 2002-11-18 Member: 9195Members
    edited January 2003
    type "cvarlist log" in console. a file in your ns directory will be created called cvarlist.txt (or something like that. Maybe cvarlist00.txt)

    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).
  • icleprechaunsicleprechauns Join Date: 2002-11-22 Member: 9669Members
    edited February 2003
    cvarlist & cvarlist log work,
    however it does not list the NS cvars (which is what i wanna know)

    any ideas?
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    --(ns@arrakis)-($:~/hlds_l/ns/dlls)-->strings ns.dll | grep mp_ | sort
    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
  • LokeTheSleekPeruvianLokeTheSleekPeruvian Join Date: 2003-08-21 Member: 20054Members
    Can someone tell me the whole sv_ list for ns?
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    Simple
    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-->
Sign In or Register to comment.