Howdy folks, I’m running a srcds Garry’s Mod server with the the GMDM Redux gamemode, with a few nice maps. It is working fine.
In my mapcycle I also have ‘dm_killbox_kbh_2’ from HL2:DM. This map requires me to set sv_gravity lower. I was wondering if the orangebox engine has a ‘load config on specific map’ function.
I’ve never seen it, so I guess there is no such thing.
So I’m trying to figure: would it be possible to make a lua script that checks onload (presuming the script gets run every time a new map starts) if there is a config file with the same name as the map, and parse those commands from the file.
Also: I still have a problem with the GMDM Redux scoreboard
So, can I use native functions for this?
Does lua gets run every time a new map starts?
Would it be possible to run specific commands on each map?