Raised This Month: $ Target: $400
 0% 

[ANY] CVAR Randomizer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Bittersweet
Veteran Member
Join Date: May 2012
Plugin ID:
3549
Plugin Version:
2013.02.26.11.40
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Randomizes existing cvars as defined in the randcvars.cfg file, then removes itself from memory
    Old 05-03-2013 , 07:04   Re: [ANY] CVAR Randomizer
    Reply With Quote #1

    Quote:
    Originally Posted by IceCucumber View Post
    Using this with the MapCron plugin to create a timed "sm plugins load randcvar" on mapchange appears to work nicely. I'm assuming this is due to the CVAR Randomizer accessing the variables before they are read from their respective config files, which will then overwrite the randomizations. Adding a simple timer to this plugin would most likely work as well.
    It really depends on how and when you call the plugin. Some users might want it called on every map change, while others might want it for just certain maps/game types. A timer might work for you, and you're free to modify the code to your needs. I wouldn't go with a timer on something like that because of the complexity of my server - too many plugins loading and unloading depending on the map and gametype. You'd have to check the order of operations, but you could call randcvar from autoexec.cfg, or even from a map specific .cfg file in your game folder\maps\cfg folder.
    __________________
    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
    Bittersweet is offline
    Reply



    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