BF2 map selection list explained

... Because the The singleplayer BF2 map selection list is really a bad hack for BF2.

This is for those that are confused that the map selection list doesn't work as expected.   It is because BF2 was released with coop only and with no singleplayer mode support, so it was added as a hack.  

BF2142 was released with planned singleplayer support and works as expected.    The sp map selection list is tied to the conquest map selections available in the menu.  If the map's description file lists 16, 32, and 64 cq gamemodes available, your going to see all three sp game modes listed as soon as you list one.   But, if you don't have sp set up correctly, you will get a map not selected error message. You need to add ai='1' for each conquest line that you want to have show up in SP mode, as well as the corresponding sp mode (sp1 for 16 player level, sp2 for 32 and sp3 for 64). So a map with all three sp levels would have a desc file with this:


CODE

<modes>

<mode type="gpm_cq">
< maptype ai="1" players="16" type="assault" locid="GAMEMODE_DESCRIPTION_assault"></maptype>
< maptype ai="1" players="32" type="assault" locid="GAMEMODE_DESCRIPTION_assault"></maptype>
< maptype ai="1" players="64" type="assault" locid="GAMEMODE_DESCRIPTION_assault"></maptype>
</mode>
<mode type="gpm_coop">
< maptype ai="1" players="16" type="assault" locid="GAMEMODE_DESCRIPTION_COOP_assault"></maptype>
< maptype ai="1" players="32" type="assault" locid="GAMEMODE_DESCRIPTION_COOP_assault"></maptype>
< maptype ai="1" players="64" type="assault" locid="GAMEMODE_DESCRIPTION_COOP_assault"></maptype>
</mode>
<mode type="sp1"></mode>
<mode type="sp2"></mode>
<mode type="sp3"></mode>

</modes>


Now, to only display sp 64, it would need to be changed to (only have AI='1' in conquest for the 64 player gamemode):


CODE

<modes>

<mode type="gpm_cq">
< maptype players="16" type="assault" locid="GAMEMODE_DESCRIPTION_assault"></maptype>
< maptype players="32" type="assault" locid="GAMEMODE_DESCRIPTION_assault"></maptype>
< maptype ai="1" players="64" type="assault" locid="GAMEMODE_DESCRIPTION_assault"></maptype>
</mode>
<mode type="gpm_coop">
< maptype ai="1" players="16" type="assault" locid="GAMEMODE_DESCRIPTION_COOP_assault"></maptype>
< maptype ai="1" players="32" type="assault" locid="GAMEMODE_DESCRIPTION_COOP_assault"></maptype>
< maptype ai="1" players="64" type="assault" locid="GAMEMODE_DESCRIPTION_COOP_assault"></maptype>
</mode>

<mode type="sp3"></mode>

</modes>

Its also important to note that the sp1 folder is for the 16 player level, sp2 for 32 and sp3 for 64. The sp menumap images that show up in the map preview, all start with sp1 and are only different in the player level, like sp1_16_menumap, sp1_32_menumap, sp1_64_menumap. 

Community content is available under CC-BY-SA unless otherwise noted.