Skip to content

Instantly share code, notes, and snippets.

@alecmev
Last active August 29, 2015 14:23
Show Gist options
  • Save alecmev/0c8e22aff51fefa5b1fc to your computer and use it in GitHub Desktop.
Save alecmev/0c8e22aff51fefa5b1fc to your computer and use it in GitHub Desktop.
Battlefield 4 maps, DLC's, game modes
l_loc = {
"xp0": "Second Assault",
"xp1": "China Rising",
"xp2": "Naval Strike",
"xp3": "Dragon's Teeth",
"xp4": "Final Stand"
};
l_mapLookup = {
"MP_Abandoned": {
"gameExpansion": 0,
"gameModes": [1, 2, 8, 32, 64, 512, 1024, 2097152, 16777216, 137438953472],
"id": "MP_Abandoned",
"label": "Zavod 311",
"platforms": [1, 4, 32, 2, 64]
},
"MP_Damage": {
"gameExpansion": 0,
"gameModes": [1, 2, 8, 32, 64, 512, 1024, 2097152, 16777216, 137438953472],
"id": "MP_Damage",
"label": "Lancang Dam",
"platforms": [1, 4, 32, 2, 64]
},
"MP_Flooded": {
"gameExpansion": 0,
"gameModes": [1, 2, 8, 32, 64, 512, 1024, 2097152, 16777216, 137438953472],
"id": "MP_Flooded",
"label": "Flood Zone",
"platforms": [1, 4, 32, 2, 64]
},
"MP_Journey": {
"gameExpansion": 0,
"gameModes": [1, 2, 8, 32, 64, 512, 1024, 2097152, 16777216, 137438953472],
"id": "MP_Journey",
"label": "Golmud Railway",
"platforms": [1, 4, 32, 2, 64]
},
"MP_Naval": {
"gameExpansion": 0,
"gameModes": [1, 2, 8, 32, 64, 512, 1024, 2097152, 16777216, 137438953472],
"id": "MP_Naval",
"label": "Paracel Storm",
"platforms": [1, 4, 32, 2, 64]
},
"MP_Prison": {
"gameExpansion": 0,
"gameModes": [1, 2, 8, 32, 64, 512, 1024, 2097152, 16777216, 137438953472],
"id": "MP_Prison",
"label": "Operation Locker",
"platforms": [1, 4, 32, 2, 64]
},
"MP_Resort": {
"gameExpansion": 0,
"gameModes": [1, 2, 8, 32, 64, 512, 1024, 2097152, 16777216, 137438953472],
"id": "MP_Resort",
"label": "Hainan Resort",
"platforms": [1, 4, 32, 2, 64]
},
"MP_Siege": {
"gameExpansion": 0,
"gameModes": [1, 2, 8, 32, 64, 512, 1024, 2097152, 16777216, 137438953472],
"id": "MP_Siege",
"label": "Siege of Shanghai",
"platforms": [1, 4, 32, 2, 64]
},
"MP_TheDish": {
"gameExpansion": 0,
"gameModes": [1, 2, 8, 32, 64, 512, 1024, 2097152, 16777216, 137438953472],
"id": "MP_TheDish",
"label": "Rogue Transmission",
"platforms": [1, 4, 32, 2, 64]
},
"MP_Tremors": {
"gameExpansion": 0,
"gameModes": [1, 2, 8, 32, 64, 512, 1024, 2097152, 16777216, 137438953472],
"id": "MP_Tremors",
"label": "Dawnbreaker",
"platforms": [1, 4, 32, 2, 64]
},
"XP0_Caspian": {
"gameExpansion": 524288,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 137438953472],
"id": "XP0_Caspian",
"label": "Caspian Border 2014",
"platforms": [1, 4, 32, 2, 64]
},
"XP0_Firestorm": {
"gameExpansion": 524288,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 137438953472],
"id": "XP0_Firestorm",
"label": "Operation Firestorm 2014",
"platforms": [1, 4, 32, 2, 64]
},
"XP0_Metro": {
"gameExpansion": 524288,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 137438953472],
"id": "XP0_Metro",
"label": "Operation Metro 2014",
"platforms": [1, 4, 32, 2, 64]
},
"XP0_Oman": {
"gameExpansion": 524288,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 137438953472],
"id": "XP0_Oman",
"label": "Gulf of Oman 2014",
"platforms": [1, 4, 32, 2, 64]
},
"XP1_001": {
"gameExpansion": 1048576,
"gameModes": [1, 2, 8, 32, 64, 1024, 2097152, 8388608, 16777216, 137438953472],
"id": "XP1_001",
"label": "Silk Road",
"platforms": [1, 4, 32, 2, 64]
},
"XP1_002": {
"gameExpansion": 1048576,
"gameModes": [1, 2, 8, 32, 64, 1024, 2097152, 8388608, 16777216, 137438953472],
"id": "XP1_002",
"label": "Altai Range",
"platforms": [1, 4, 32, 2, 64]
},
"XP1_003": {
"gameExpansion": 1048576,
"gameModes": [1, 2, 8, 32, 64, 1024, 2097152, 8388608, 16777216, 137438953472],
"id": "XP1_003",
"label": "Guilin Peaks",
"platforms": [1, 4, 32, 2, 64]
},
"XP1_004": {
"gameExpansion": 1048576,
"gameModes": [1, 2, 8, 32, 64, 1024, 2097152, 8388608, 16777216, 137438953472],
"id": "XP1_004",
"label": "Dragon Pass",
"platforms": [1, 4, 32, 2, 64]
},
"XP2_001": {
"gameExpansion": 2097152,
"gameModes": [1, 2, 8, 32, 64, 1024, 2097152, 16777216, 67108864, 134217728, 137438953472],
"id": "XP2_001",
"label": "Lost Islands",
"platforms": [1, 4, 32, 2, 64]
},
"XP2_002": {
"gameExpansion": 2097152,
"gameModes": [1, 2, 8, 32, 64, 1024, 2097152, 16777216, 67108864, 134217728, 137438953472],
"id": "XP2_002",
"label": "Nansha Strike",
"platforms": [1, 4, 32, 2, 64]
},
"XP2_003": {
"gameExpansion": 2097152,
"gameModes": [1, 2, 8, 32, 64, 1024, 2097152, 16777216, 67108864, 134217728, 137438953472],
"id": "XP2_003",
"label": "Wave Breaker",
"platforms": [1, 4, 32, 2, 64]
},
"XP2_004": {
"gameExpansion": 2097152,
"gameModes": [1, 2, 8, 32, 64, 1024, 2097152, 16777216, 67108864, 134217728, 137438953472],
"id": "XP2_004",
"label": "Operation Mortar",
"platforms": [1, 4, 32, 2, 64]
},
"XP3_MarketPl": {
"gameExpansion": 4194304,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 34359738368, 137438953472],
"id": "XP3_MarketPl",
"label": "Pearl Market",
"platforms": [1, 4, 32, 2, 64]
},
"XP3_Prpganda": {
"gameExpansion": 4194304,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 34359738368, 137438953472],
"id": "XP3_Prpganda",
"label": "Propaganda",
"platforms": [1, 4, 32, 2, 64]
},
"XP3_UrbanGdn": {
"gameExpansion": 4194304,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 34359738368, 137438953472],
"id": "XP3_UrbanGdn",
"label": "Lumphini Garden",
"platforms": [1, 4, 32, 2, 64]
},
"XP3_WtrFront": {
"gameExpansion": 4194304,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 34359738368, 137438953472],
"id": "XP3_WtrFront",
"label": "Sunken Dragon",
"platforms": [1, 4, 32, 2, 64]
},
"XP4_Arctic": {
"gameExpansion": 8388608,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 137438953472],
"id": "XP4_Arctic",
"label": "Operation Whiteout",
"platforms": [1, 4, 32, 2, 64]
},
"XP4_SubBase": {
"gameExpansion": 8388608,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 137438953472],
"id": "XP4_SubBase",
"label": "Hammerhead",
"platforms": [1, 4, 32, 2, 64]
},
"XP4_Titan": {
"gameExpansion": 8388608,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 137438953472],
"id": "XP4_Titan",
"label": "Hangar 21",
"platforms": [1, 4, 32, 2, 64]
},
"XP4_WlkrFtry": {
"gameExpansion": 8388608,
"gameModes": [1, 2, 8, 32, 64, 1024, 524288, 2097152, 16777216, 137438953472],
"id": "XP4_WlkrFtry",
"label": "Giants of Karelia",
"platforms": [1, 4, 32, 2, 64]
}
};
l_gameModeStrings = {
1: "Conquest",
2: "Rush",
4: "Squad Rush",
8: "Squad Deathmatch",
16: "Onslaught",
32: "Team Deathmatch",
64: "Conquest Large",
128: "Conquest Assault Large",
256: "Conquest Assault",
512: "Gun Master",
1024: "Domination",
2048: "Team DM Close Quarters",
4096: "Team DM Fireteam",
8192: "Combat Mission",
16384: "Sector Control",
32768: "Fire Team Survivor",
65536: "Home Run",
131072: "Tank Superiority",
262144: "Objective Raid",
524288: "Capture the Flag",
1048576: "Hotspot",
2097152: "Obliteration",
4194304: "Scavenger",
8388608: "Air Superiority"
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment