In this file you will be able to add your new multiplayer map to the various game types of Warband.
Search for the script called "multiplayer_fill_map_game_types". Under this you will find a numer of lists that look like this:
(else_try),
(eq, ":game_type", multiplayer_game_type_siege),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin, "scn_multi_scene_3"),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 1, "scn_multi_scene_8"),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 2, "scn_multi_scene_10"),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 3, "scn_multi_scene_13"),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 4, "scn_multi_scene_15"),
(assign, ":num_maps", 5),
There is one list for each game type, and it marks the maps that are available to play for each of the game types:
deathmatch
battle
destroy
capture_the_flag
headquarters
siege
Copy one of the strings:
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 4, "scn_multi_scene_15"),
And change it to point to your own map:
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 4, "scn_my_new_scene_1"),
Note that you need the scn_ prefix so that the script knows to look in the module_scenes.py file.
Then change the number just before the scene name, to keep the list in chronological order. Also change the assign, ":num_maps" to correctly display the number of available maps for this particular game type.
Now it should look like this:
(else_try),
(eq, ":game_type", multiplayer_game_type_siege),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin, "scn_multi_scene_3"),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 1, "scn_multi_scene_8"),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 2, "scn_multi_scene_10"),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 3, "scn_multi_scene_13"),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 4, "scn_multi_scene_15"),
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 5, "scn_my_new_scene_1"),
(assign, ":num_maps", 6),
You have now made your map available for one of the gamemodes in Warband multiplayer. It can be selected while setting up a server and it can be voted on by players. You can add your map to any of the other gamemodes in exactly the same way. Just make sure you update the numerical order of each list, if the numbers are not in order, random strings will appear in the Voting screen while playing.