View Single Post
Austin
Senior Member
Join Date: Oct 2005
Old 11-20-2023 , 19:35   Re: Mapgroup / Config Problem PLS HELP
Reply With Quote #6

Guys,

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 ============================================= ===========================
============================================= =============================================

============================================= =============================================
============ Start gamemode_casual.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.....

--------------------------------------------------------
sv_pure value unchanged (current value is 0).
--------------------------------------------------------
Unknown command 'mp_molotovusedelay'!
Unknown command 'spec_freeze_panel_extended_time'!
Unknown command 'sv_occlude_players'!
Unknown command 'occlusion_test_async'!
Unknown command 'sv_gameinstructor_enable'!
NumAliveTerrorist( rnd 0 ) = 0
NumAliveCT( rnd 0 ) = 0
============================================= =============================================
============ End gamemode_casual.cfg ============================================= =============================================
============================================= =============================================
Failed loading resource "materials/models/player/holiday/facemasks/facemask_battlemask/battlemask.vmat_c" (ERROR_FILEOPE

Last edited by Austin; 11-20-2023 at 20:12.
Austin is offline