splewis / get5

CS:GO Sourcemod plugin for competitive matches/scrims
GNU General Public License v3.0
557 stars 176 forks source link

Allow workshop maps in maplist #974

Closed nickdnk closed 1 year ago

nickdnk commented 1 year ago

Closes https://github.com/splewis/get5/issues/755.

Maps can be added to the maplist using the syntax "workshop/map_id/map_name", i.e. "workshop/1193875520/Old Aztec".

The name is used in the map selection phase to identify the map.

~One thing left to do here is to put the game into warmup mode when the map ends, if the next map is a workshop map, as it may take 5-10 seconds to download the map.~ Edit: Instead we add 20 seconds to the restart delay, which should be plenty to download a map.

nickdnk commented 1 year ago

Tested, working.