PDA

View Full Version : adding game mode's lateron



dreeke1986
09-26-2009, 12:53 PM
hello

ive started making a map and because it was my first i only took posse.

since it went better then i thought i'd like to add some more gamemodes to the map.
is this possible? if so how?

and is it possible to copy a multiplayermap for singleplayer?

Tassanee
09-26-2009, 04:42 PM
Here is a tutorial on how to add more modes.

First, a hint:

Always create a MP map with all modes. You can disable/remove modes easily, by editing the .trk file - which is much easier than adding.


Because the easiest way to add modes would be this:
1) Create a new temporary MP map with all modes
2) Save the map
3) Close Eddie
4) Open up the temp map folder
5) Copy .eds files corresponding to the modes you want (I suggest: all that you don't yet have) into your target map
6) Open the .trk file from your temporary new map (a simple Notepad will do)
7) Copy all mode 'Groups' that you want and paste them into your target map .trk file
8) In deadmans' .trk change temp map name occurences to target map name (as in the deathmatch block that's already there)
9) Open Eddie, load the target map
10) Open selections window
11) On all the new modes that are there:
11 A) choose mode
11 B) go to: Selections -> Link with file...
11 C) locate the corresponding .eds file in the target map folder
12) set up the modes

and it's all done.


Now, if you want to disable a mode that you don't want, that's a quite simple story:
1) Open up the target map .trk file
2) For every mode that you don't want, surround the corresponding Blocks with /* and */

For example:

/*
Group("deathmatch")
{
....
}
*/

Hope that helps i did the same thing and it worked out great for me! http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif

dreeke1986
09-27-2009, 06:29 PM
ty for your response,

but i still have a problem.

ive created a testmap
copy'd the mode eds files
copy'd the inside of the .trk file and changed all the testmap names into my oldmapname.

but when i open the editor it still only shows me the teamdeathmatch (posse) mode.
so i cant link the other modes to the correct .eds file

-[ testmap.trk ]-

!include("Track.def")

MapId(_MP_MAP_CUSTOM1)

Group("deathmatch")
{
Objects("Data/MapsNet/testallmodes/deathmatch.eds")
MapTitle("testallmodes")
SaveName("testallmodes")
ModeName("&MP_DeathMatch_Name&")
ModeInfo("&MP_DeathMatch_DescS&")
DescriptionMusic("COJ2_Battle_Hard_Attack.ogg")
InGameMap("testallmodes_map.dds",1248,1248,1248,1248,15000,15000)

LoadingArtworks(1.6, 1, 14)
{
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading1.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading2.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading3.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading4.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading5.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading6.dds",0,0,1)
}
}

Group("teamdeathmatch")
{
Objects("Data/MapsNet/testallmodes/teamdeathmatch.eds")
MapTitle("testallmodes")
SaveName("testallmodes")
ModeName("&MP_TeamDeathMatch_Name&")
ModeInfo("&MP_TeamDeathMatch_DescS&")
DescriptionMusic("COJ2_Battle_Hard_Attack.ogg")
InGameMap("testallmodes_map.dds",1248,1248,1248,1248,15000,15000)

LoadingArtworks(1.6, 1, 14)
{
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading1.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading2.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading3.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading4.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading5.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading6.dds",0,0,1)
}
}

Group("wanted")
{
Objects("Data/MapsNet/testallmodes/wanted.eds")
MapTitle("testallmodes")
SaveName("testallmodes")
ModeName("&MP_Wanted_Name&")
ModeInfo("&MP_Wanted_DescS&")
DescriptionMusic("COJ2_Battle_Hard_Attack.ogg")
InGameMap("testallmodes_map.dds",1248,1248,1248,1248,15000,15000)

LoadingArtworks(1.6, 1, 14)
{
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading1.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading2.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading3.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading4.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading5.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading6.dds",0,0,1)
}
}

Group("teamwanted")
{
Objects("Data/MapsNet/testallmodes/teamwanted.eds")
MapTitle("testallmodes")
SaveName("testallmodes")
ModeName("&MP_TeamWanted_Name&")
ModeInfo("&MP_TeamWanted_DescS&")
DescriptionMusic("COJ2_Battle_Hard_Attack.ogg")
InGameMap("testallmodes_map.dds",1248,1248,1248,1248,15000,15000)

LoadingArtworks(1.6, 1, 14)
{
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading1.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading2.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading3.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading4.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading5.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading6.dds",0,0,1)
}
}

Group("historical")
{
Objects("Data/MapsNet/testallmodes/famousevents.eds")
MapTitle("testallmodes")
SaveName("testallmodes")
ModeName("&MP_MODE_FamousEvents&")
DescriptionMusic("COJ2_Battle_Hard_Attack.ogg")
InGameMap("testallmodes_map.dds",1248,1248,1248,1248,15000,15000)

LoadingArtworks(1.6, 1, 14)
{
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading1.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading2.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading3.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading4.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading5.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","testallmodes_map.dds","testallmodes_loading6.dds",0,0,1)
}
}


-[ DreTown.trk ]-
!include("Track.def")
MapId(_MP_MAP_CUSTOM1)
Group("deathmatch")
{
Objects("Data/MapsNet/DreTown/deathmatch.eds")
MapTitle("DreTown")
SaveName("DreTown")
ModeName("&MP_DeathMatch_Name&")
ModeInfo("&MP_DeathMatch_DescS&")
DescriptionMusic("COJ2_Battle_Hard_Attack.ogg")
InGameMap("DreTown_map.dds",1248,1248,1248,1248,15000,15000)

LoadingArtworks(1.6, 1, 14)
{
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading1.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading2.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading3.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading4.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading5.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading6.dds",0,0,1)
}
}

Group("teamdeathmatch")
{
Objects("Data/MapsNet/DreTown/teamdeathmatch.eds")
MapTitle("DreTown")
SaveName("DreTown")
ModeName("&MP_TeamDeathMatch_Name&")
ModeInfo("&MP_TeamDeathMatch_DescS&")
DescriptionMusic("COJ2_Battle_Hard_Attack.ogg")
InGameMap("DreTown_map.dds",1248,1248,1248,1248,15000,15000)

LoadingArtworks(1.6, 1, 14)
{
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading1.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading2.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading3.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading4.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading5.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading6.dds",0,0,1)
}
}

Group("wanted")
{
Objects("Data/MapsNet/DreTown/wanted.eds")
MapTitle("DreTown")
SaveName("DreTown")
ModeName("&MP_Wanted_Name&")
ModeInfo("&MP_Wanted_DescS&")
DescriptionMusic("COJ2_Battle_Hard_Attack.ogg")
InGameMap("DreTown_map.dds",1248,1248,1248,1248,15000,15000)

LoadingArtworks(1.6, 1, 14)
{
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading1.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading2.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading3.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading4.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading5.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading6.dds",0,0,1)
}
}

Group("teamwanted")
{
Objects("Data/MapsNet/DreTown/teamwanted.eds")
MapTitle("DreTown")
SaveName("DreTown")
ModeName("&MP_TeamWanted_Name&")
ModeInfo("&MP_TeamWanted_DescS&")
DescriptionMusic("COJ2_Battle_Hard_Attack.ogg")
InGameMap("DreTown_map.dds",1248,1248,1248,1248,15000,15000)

LoadingArtworks(1.6, 1, 14)
{
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading1.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading2.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading3.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading4.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading5.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading6.dds",0,0,1)
}
}

Group("historical")
{
Objects("Data/MapsNet/DreTown/famousevents.eds")
MapTitle("DreTown")
SaveName("DreTown")
ModeName("&MP_MODE_FamousEvents&")
DescriptionMusic("COJ2_Battle_Hard_Attack.ogg")
InGameMap("DreTown_map.dds",1248,1248,1248,1248,15000,15000)

LoadingArtworks(1.6, 1, 14)
{
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading1.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading2.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading3.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading4.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading5.dds",0,0,1)
MPObjectiveDesc(8, 3, "%HINT_MP","","DreTown_map.dds","DreTown_loading6.dds",0,0,1)
}
}

you happen to know whats wrong here?

czaq
09-28-2009, 02:05 AM
Publish the map on cojmodding, I'll download it and check it out.

dreeke1986
09-28-2009, 06:22 AM
published now , its the third version of Dretown

dreeke1986
09-28-2009, 06:31 AM
the published map sais i have all game modes on the site but in the editor it only shows me the teamdeathmatch selection

Devrez
09-28-2009, 06:56 AM
Looks like cojmodding have something problems, because there is no all new maps at all. Two days ago there was much more custom maps, now they are disappeared.

EDIT. Yep, now it works.

dreeke1986
09-28-2009, 08:01 AM
those maps are prolly updated and pending (w8ting for techland to approve the map.

czaq
09-28-2009, 09:10 AM
Actually I didn't manage to play any of the modes, although they did launch.

The problem was that I always spawned under the terrain.

Make sure that every spawnpoint on every mode is put on the terrain.

dreeke1986
09-28-2009, 10:11 AM
thats my problem at the moment.

inside the editor i only get the teamdeathmatch selection.
i cant find the others to change the spawnpoints
http://www.freewebs.com/draysk/mapproblem.jpg

seir
09-28-2009, 02:15 PM
Dreke, your map looks great http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif


I see tou are using chickens. You should remove them because it works only on server. It makes a lot of problems when some client connects to server with chickens http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif

Oh BTW. create new MP map. Go to "selections", click on game mode you want to move to your map, click "Selections > Export" and save it. Do it with all game modes you want to export. Now close ChromED, start it again but DreTown, in meshbrowser go to place where you saved your game modes and put it on level. That should work. If not, wait for our MP map specialist - Czaq aka Czak http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif

dreeke1986
09-28-2009, 09:09 PM
thnx , i didnt know chickens didnt work fine in MP.

i try'd it but when i placed the selection in dretown the modes didnt make theire own tab

pic 1 : testmapallmodes <- the map where i copy'd the selections from
pin 2 & 3 : DreTown selections after spawning it

http://www.freewebs.com/draysk/cojbibmodes.jpg

czaq
09-29-2009, 01:47 AM
I opened your map in Eddie and I must say it all worked fine. All modes are displayed, although none is layed out on the map.

So my guesses would be:

1. You have a .pak file of your map (old version) somewhere in the game file system.
2. You have a copy of your map with identical file names in your game file system.

Either way, get rid of the additional files.

dreeke1986
09-29-2009, 05:31 AM
ty very much

i had an old dretown.pak file between the downloaded .pakfiles

thanks everyone for the help

czaq
09-29-2009, 06:26 AM
cool :-)