Quote:
Originally Posted by IceCucumber
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.
__________________