Allow ignoring playlists for the first map.

If sv_skip_lobby dvar is 1 set the lobby map and gametype to what the first gametype and map in the sv_maprotation dvar is set to, and then launch the game. sv_skip_lobby is enabled by default but setting it to 0 enables default behavior.
This commit is contained in:
JezuzLizard
2023-03-11 14:23:36 -08:00
parent 9cb2f337fa
commit 0e45709565
4 changed files with 30 additions and 7 deletions

View File

@ -37,6 +37,7 @@ set sv_floodProtect "1" // Chat Spam Protection
set logfile "1" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin.
set g_log "logs/games_zm.log" // Gamelog filename. If you edit this, Make sure you change B3.xml if you have bigbrotherbot. IW4MAdmin auto-detects however.
set sv_lobby_mode "zm" // Sets the lobby type to zombies
set sv_skip_lobby "1" // Makes the server load the map immediately instead of waiting at the lobby. Turn this off if you want to use playlists instead(currently required for custom maps).
//////////////////////////////////////////////////
// BASE GAME CONFIGURATION //