We need the ability to have the server automatically execute map-specific config files like previous versions of Counterstrike, TF2, etc.
The server should check if a file matching the name of the map exists, and if it does, it should execute it AFTER *ALL OTHER* .CFG FILES that are executed upon a mapchange or server startup. (ie, server.cfg, gamemode_xxx.cfg, gamemode_xxx_server.cfg, other "exec"-defined .cfg's). For example, if we're changing to de_dust2, or starting the server up fresh, after it has executed all other .cfg files it automatically tries to execute, it should search a dir like cfg/, maps/, maps/cfg/, or wherever for a file named de_dust.cfg, and run whatever is in it. This way we can have per-map-specific configurations. Some maps are really fun playing them for 10 minutes but you don't want to play them for 60 minutes. Others due to design of the map and what is considered a "round" in that map, need special maxrounds config. The possibilities are endless as to why admins might want/need this, but ultimately we do need it. If on the other hand, we are supposed to be using .kv files for this now, can someone post an actual working example of how we would go about defining regular cvars in one? Thanks, Tackdriver _______________________________________________ Csgo_servers mailing list [email protected] https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
