MapConfig
1 Attachment(s)
This little plugin allow to loading a specific cfg file with a specific map.
Like '/cfg/mani_admin_plugin/map_config/' of Mani Admin Plugin. CVARS:
CHANGELOG:
INSTALLATION:
TO DO:
Thank you to Nicolous for his help :) |
Re: MapConfig
I do believe this is built into SRCDS, by places configs in modname/maps/cfg/
I've heard that multiple times, anyways. |
Re: MapConfig
Quote:
Thank for information. Then my plugin isn't useful :( :) Bye |
Re: MapConfig
I'll try to confirm that. I believe mani added it because it wasn't there originally, and at some point VALVe did add it, and mani just never removed his.
|
Re: MapConfig
SRCDS read mapconfigs from <modname>/cfg/
|
Re: MapConfig
Quote:
I try and it's work fine. Plugin obsolete ^^ ++ |
Re: MapConfig
SRCDS does do it, but it has one huge fault. If your map config changes mp_friendlyfire to 1, but your server.cfg doesn't change mp_friendlyfire at all, friendly fire will remain on when you change to that map. Perhaps you could read from the map config file before it is executed, and store all the default values of the cvars it will change. Then, when the map changes, it restores those values.
|
Re: MapConfig
Thats how it should work. Whatever you want the default value to be should be set in your server.cfg.
|
Re: MapConfig
Server.cfg should force your default and contain anything you change in other configs. IMO.
|
Re: MapConfig
One question though, when does the valve cfg execute and when does this. With atac, I was trying to set turn off spawn protection with a cvar in a custom config using the valve folder, but it wasn't working. I could only speculate that it was getting executed too early, then the atac cfg was executed afterward overriding it. If this plugin could execute it as late as possible, I believe it could be of some benefit.
|
All times are GMT -4. The time now is 00:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.