CS2D
Scripts
Gamemode Change - Map to Map
Gamemode Change - Map to Map
5 replies I was wondering if it's possible to make the game mode change from map to map. For example, when the map changes to Doghouse, it's standard mode, and when the map changes to Deathrun, it's deathmatch. DC Admin
Offline
What
MaksDragon wrote should work. You have to put these statements behind map names in sys/mapcycle.cfg. The game should then automatically switch to the specified mode when the map is loaded (I'm not sure if this works always or only if the map is actually switched via a map cycle mechanic like max rounds etc.)
Maybe some Lua with
mapchange hook could work as well. @
DC: Thank you very much! I didn't know it worked like this. Thanks for explaining.
@
MaksDragon: Thanks!