Raised This Month: $ Target: $400
 0% 

[ANY] CVAR Randomizer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bittersweet
Veteran Member
Join Date: May 2012
Old 05-02-2013 , 22:31   Re: [ANY] CVAR Randomizer
Reply With Quote #3

Quote:
Originally Posted by IceCucumber View Post
Cool plugin! However, it seems to only do its thing if I manually load it, eg. "sm plugins load randcvar" or "sm plugins refresh" to server console. Upon a mapchange, the CVARs will remain in their default values. Is there a way around this? I'm not getting any errors logs, and am quite positive my randcvars.cfg syntax is correct.

Code:
"Randomized_Cvars"
{
    "sm_cm_nextmap"
    {
        "type"      "L"
        "count"     "3"
        "item 1"    "nt_dawn_ctg"
        "item 2"    "nt_decom_ctg"
        "item 3"    "nt_ghost_ctg"
    }
}
Your syntax does look correct. The plugin loading may depend on the game type. If it's not loading between maps and you need it to, just stick a sm plugins load command in your server.cfg.

edit: Remember, the plugin removes itself from memory after execution.
__________________
Thank you in advance for your help

My plugins:
[CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
Awesome & Crucial plugins by other people:
[CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera

Last edited by Bittersweet; 05-02-2013 at 22:34. Reason: addition
Bittersweet is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode