The command to print the current mapgroup (and its contents) is
print_mapgroup_sv
Use the find command when you trying to figure out commands.
enter this
find mapgroup
name value default flags help text
________________________ ______ ________ ______ _____________________________________________ _____
host_workshop_collection game Host a workshop map collection as a mapgroup
mapgroup game Specify a map group
print_mapgroup_sv game Prints the current mapgroup and the contained maps
I just ddid some testing with mapgroup in gamemode_xxx.cfg file
and the server reports that it loaded it but then on map vote you get the undefined errors.
Thus you have to put mapgroup in your servers start up parms.
And server.cfg is definitely getting execuited but I don't use it.
Why complicate things. Just put everything in the one gamemode file.
SV: CGameRulesGameSystem::GameInit installed game rules
CSceneManager::AddCaptionFile( resource/subtitles/closecaption_english.dat )
LoadResponseSystem scripts/talker/response_rules.vrr - StartCResponseSystem: scripts/talker/response_rules.vrr (7681 rules, 811 criteria, and 7681 responses)
LoadResponseSystem scripts/talker/response_rules.vrr - FinishEntry player was not found in surfaceproperties_footsteps.txt
exec: couldn't exec '{*}cfg/skill1.cfg', unable to read file
execing server_default.cfg
execing server.cfg
execing gamemode_casual.cfg
exec: couldn't exec '{*}cfg/gamemode_casual_server.cfg', unable to read file
============================================= =============================================
============ Start server.cfg ============================================= ===========================
============================================= =============================================
============ End server.cfg ============================================= ===========================
============================================= =============================================
LOOK the server IS setting the mapgroup and telling us right here
Setting mapgroup to 'mg_custom' <======== mapgroup command IS working in gamemodes file.
BUT you will get undefined on map vote.....