There is already some facility for map settings in maprotation.cfg, but this cvar simplifies per map configuration especially for those cvars that may be overwritten in map scripts (e.g. g_alienBuildPoints).
Documentation:
g_mapConfigs <string>
Set this cvar to the name of a directory inside of your fs_game directory
and every time a map loads the server will exec "default.cfg" followed by
"<MAPNAME>.cfg" from inside that directory (if they exist). You can set
this to "." to use the fs_game directory itself.
This is useful if you want to adjust a cvar that the mapscripts overwrite
when a map loads (e.g. g_alienBuildPoints).
Default is "" (which means off)
Created attachment 942[details]
give maprotation.cfg settings precedence over g_mapConfigs
g_mapConfigs wrongly overrides map specific settings in maprotation.cfg. This patch gives any settings made in the configuration blocks of maprotation entries precedence over the settings made in g_mapConfigs files.
Created attachment 877 [details] optional per-map configuration files
Created attachment 942 [details] give maprotation.cfg settings precedence over g_mapConfigs g_mapConfigs wrongly overrides map specific settings in maprotation.cfg. This patch gives any settings made in the configuration blocks of maprotation entries precedence over the settings made in g_mapConfigs files.