well i noticed some guy removed his tut so basically i recently wanted 2 maps so i looked into it.
first off you want to config your MatchServer.cfg properly i have the following setting:
notice i use PermGame2 and PermGame3 its because 0 and 1 dont work go from 2+
date 164 = players
now for the code
Go to server Source Find(ctrl + f and select entire soloution in the drop down box):
And Under Place:
find:
And Under that put:
be sure to add it above MAPID_MAX_ID,
find:
under it place:
now in warz source find:
and under it place:
find:
Replace With:
cliffside map with zombies, zombie loot (Place in Bin/Levels/) Over right all files and dont forget to update using rsbuild:
that sums it up enjoy, just do the same as this but with different map names if you want custom
first off you want to config your MatchServer.cfg properly i have the following setting:
Code:
[MasterServer]
masterPort=34000
clientPort=34001
masterCCU=20
serverId=1
supervisorCoolDownSeconds=15
[PermGame2]
map = MAPID_WZ_Colorado DOESNOTHING GBNET_REGION_US_West 0 0
data = 164 0 0
name = UGW Server 1
[PermGame3]
map = MAPID_WZ_Cliffside DOESNOTHING GBNET_REGION_US_West 0 0
data = 164 0 0
name = UGW Server 2
notice i use PermGame2 and PermGame3 its because 0 and 1 dont work go from 2+
date 164 = players
now for the code
Go to server Source Find(ctrl + f and select entire soloution in the drop down box):
Code:
case GBGameInfo::MAPID_WZ_Colorado:
r3dGameLevel::SetHomeDir("WZ_Colorado");
break;
And Under Place:
Code:
case GBGameInfo::MAPID_WZ_Cliffside:
r3dGameLevel::SetHomeDir("WZ_Cliffside");
break;
find:
Code:
enum EMapId
{
MAPID_Editor_Particles = 0,
MAPID_ServerTest,
MAPID_WZ_Colorado,
Code:
MAPID_WZ_Cliffside,
find:
Code:
if(stricmp(str, "MAPID_WZ_Colorado") == 0)
return GBGameInfo::MAPID_WZ_Colorado;
under it place:
Code:
if(stricmp(str, "MAPID_WZ_Cliffside") == 0)
return GBGameInfo::MAPID_WZ_Cliffside;
now in warz source find:
Code:
case GBGameInfo::MAPID_WZ_Colorado:
r3dGameLevel::SetHomeDir("WZ_Colorado");
break;
and under it place:
Code:
case GBGameInfo::MAPID_WZ_Cliffside:
r3dGameLevel::SetHomeDir("WZ_Cliffside");
break;
Code:
var[3].SetString(ginfo.mapId == GBGameInfo::MAPID_WZ_Colorado ? "COLORADO" : "DEVMAP");
Replace With:
Code:
char* MapName;
switch(ginfo.mapId)
{
case GBGameInfo::MAPID_WZ_Colorado:
MapName = "COLORADO";
break;
case GBGameInfo::MAPID_WZ_Cliffside:
MapName = "Cliffside";
break;
}
var[3].SetString(MapName);
cliffside map with zombies, zombie loot (Place in Bin/Levels/) Over right all files and dont forget to update using rsbuild:
To view the content, you need to sign in or register
that sums it up enjoy, just do the same as this but with different map names if you want custom
Last edited: