Default Map Problem

Results 1 to 2 of 2
  1. #1
    Gregon13 OldSchoolGZ is offline
    MemberRank
    Jan 2012 Join Date
    CanadaLocation
    244Posts

    Default Map Problem

    Ok so I have been playing around with the source this is what it does now,
    Relay map - removed completely from source and client
    map.xml - removed completely maplist built in to source like 07
    Player Limit no longer based on map (so factory no longer only allows 8 players)
    duelmode shows only duel maps and works correctly
    CTF shows CTF enabled maps and works correctly

    Now for my problem How would I set it so it sets Mansion as the default map instead of a blank box, look at the image

    CTF No Default Map:

    oldschoolgz_20121212_034632.jpg
    Last edited by OldSchoolGZ; 12-12-12 at 10:45 AM.


  2. #2
    Gregon13 OldSchoolGZ is offline
    MemberRank
    Jan 2012 Join Date
    CanadaLocation
    244Posts

    Re: Default Map Problem

    Fixed it, So easy CSCommon -> MatchServer -> Game -> MMatchServer_Stage.cpp

    Code:
    		else if ( (nLastGameType != MMATCH_GAMETYPE_CTF) && ( pSetting->GetGameType() == MMATCH_GAMETYPE_CTF))
    		{
    			strcpy( szNewMap, MGetMapName( MMATCH_MAP_MANSION));
    			OnStageMap(uidStage, szNewMap);
    		}
    oldschoolgz_20121212_084149.jpg
    Last edited by OldSchoolGZ; 12-12-12 at 02:51 PM.



Advertisement