-
Notifications
You must be signed in to change notification settings - Fork 33
Adding map into solo co op menus
First, you need to create these folders and files:
<modname>/maps/mapsTable.csv
<modname>/localizedstrings/mod.str
-
<modname>/mod.arena
Note: Replace with your map's name.
Include these lines in mod.csv:
stringtable,maps\mapsTable.csv
rawfile,mod.arena
localize,mod
Note: Doing this will include mapsTable.csv and mod.str inside mod.ff, but will not include mod.arena. You need to drop that file in any IWD (or keep it in root folder, IWD is just cleaner)
Let's start with mapsTable.csv
.
Open the file and drop these lines in:
# Map Data Table,,,,,,,,,,,,
a0,b1,c2,d3,e4,f5,g6,h7,i8,j9,k10,l11,m12
maxnum_map,10,preview_classified_map,,,,,,,,,,
#mapname,#allies characters,#axis characters,#mapname,#mapimage,#index,#description,#level order coop,#gametype,#mis_01,#cac table,#dvarVis,#dlc map
zombie_theater,,,MENU_ZOMBIE_THEATER_CAPS,preview_zombie_theater,,MENU_ZOMBIE_THEATER_DESC,0,zom,,maps/zombie_theater_class.csv,,0
zombie_pentagon,,,MENU_ZOMBIE_PENTAGON_CAPS,preview_zombie_pentagon,,MENU_ZOMBIE_PENTAGON_DESC,1,zom,,maps/zombie_pentagon_class.csv,zombiefive_discovered,0
zombietron,,,MENU_ZOMBIETRON_CAPS,preview_zombietron,,MENU_LEVEL_DESC_ZOMBIETRON,2,zom,,maps/zombietron_class.csv,zombietron_discovered,0
zombie_cosmodrome,,,MENU_ZOMBIE_COSMODROME_CAPS,preview_zombie_cosmodrome,,MENU_ZOMBIE_COSMODROME_DESC,3,zom,,maps/zombie_cosmodrome_class.csv,,2
zombie_coast,,,MENU_ZOMBIE_COAST_CAPS,preview_zombie_coast,,MENU_ZOMBIE_COAST_DESC,4,zom,,maps/zombie_coast_class.csv,,3
zombie_temple,,,MENU_ZOMBIE_TEMPLE_CAPS,preview_zombie_temple,,MENU_ZOMBIE_TEMPLE_DESC,5,zom,,maps/zombie_temple_class.csv,,2
zombie_moon,,,MENU_ZOMBIE_MOON_CAPS,preview_zombie_moon,,MENU_ZOMBIE_MOON_DESC,6,zom,,maps/zombie_moon_class.csv,,3
zombie_cod5_prototype,,,WAW_MENU_ZOMBIE_PROTOTYPE_CAPS,preview_zombie_cod5_prototype,,WAW_MENU_ZOMBIE_PROTOTYPE_DESC,7,zom,,maps/zombie_cod5_prototype_class.csv,,1
zombie_cod5_asylum,,,WAW_MENU_ZOMBIE_ASYLUM_CAPS,preview_zombie_cod5_asylum,,WAW_MENU_ZOMBIE_ASYLUM_DESC,8,zom,,maps/zombie_cod5_asylum_class.csv,,1
zombie_cod5_sumpf,,,WAW_MENU_ZOMBIE_SUMPF_CAPS,preview_zombie_cod5_sumpf,,WAW_MENU_ZOMBIE_SUMPF_DESC,9,zom,,maps/zombie_cod5_sumpf_class.csv,,1
zombie_cod5_factory,,,WAW_MENU_ZOMBIE_FACTORY_CAPS,preview_zombie_cod5_factory,,WAW_MENU_ZOMBIE_FACTORY_DESC,10,zom,,maps/zombie_cod5_factory_class.csv,,1
locked,,,MPUI_LOCKED_MODE,loadscreen_locked,,MENU_LOCKED_MODE_DESC,11,locked,,,,
#yourmap,,,YOURMAP_CAPS,preview_yourmap,,YOURMAP_DESC,12,,,,,
zombie_test,,,MOD_LEVEL_TEST_CAPS,preview_zombie_test,,MOD_PREVIEW_TEST_CAPS,12,,,,,
Last line is what you want to change. Let's go over what everything does.
File | Description |
---|---|
zombie_test |
Map/Console name of your map |
MOD_LEVEL_TEST_CAPS |
The mapname when selecting map in solo/co-op, also shows in co-op lobby at bottom of map image |
preview_zombie_test |
The square image when selecting map in solo/co-op, also shows in co-op lobby. Remember to include this in mod.csv using material,preview_zombie_test
|
MOD_PREVIEW_TEST_CAPS |
Description of the map when selecting in solo-co-op |
Note: Change test parts to what you want/need to have, but remember what you set them as for other files. Other Note: Do not remove MOD_ prefix as that is needed since localized string file is called mod.str.
Now open mod.str
and paste these in:
// Note to translators:
// If a sentence is the same in your language then please change it to "#same"
//
// eg:
// LANG_ENGLISH "HALT"
// LANG_GERMAN "#same"
//
// (This is so we can tell which strings have been signed-off as ok to be the same words for QA
// and because we do not store duplicate strings, which will then get exported again next time
// as being untranslated.)
//
// REFERENCE "LEVEL_PLACE_HOLDER_CAPS"
// LANG_ENGLISH "Hold ^3[{+activate}]^7 to buy Can-dolier [Cost: &&1]"
//
// REFERENCE "LEVEL_PLACE_HOLDER_DESC"
// LANG_ENGLISH "Hold ^3[{+activate}]^7 to buy Damage-ade [Cost: &&1]"
VERSION "1"
CONFIG "C:\projects\cod\t5\bin\StringEd.cfg"
FILENOTES ""
REFERENCE "LEVEL_TEST_CAPS"
LANG_ENGLISH "MAPNAME"
REFERENCE "PREVIEW_TEST_CAPS"
LANG_ENGLISH "This is your map's description"
ENDMARKER
Change REFERENCE and LANG_ENGLISH parts to what you want.
Note: If you changed the capslocked names in mapsTable.csv, remember to edit them here as well.
Now lastly mod.arena:
{
map "zombie_test"
loadscreen "preview_zombie_test"
longname "MOD_LEVEL_TEST_CAPS"
gametype "zom"
}
Again, change to what you want based on what you set in mapsTable.csv.
Done, now your map should properly show up in solo/co-op menus!