-- Decompiled with SWBF2CodeHelper
-- recursively merges the second given table into the first given table
function MergeTables( mission, newFlags )
--for each table entry,
local array = type({})
for key,value in pairs(newFlags) do
--check for nested tables
if type(value) == array then
--mission must have this key as a table too
if type(mission[key]) ~= array then
mission[key] = {}
end
--merge these two tables recursively
MergeTables(mission[key], value)
else
--the key is a simple variable, so simply store it
mission[key] = value
end
end
end
--Search through the missionlist to find a map that matches mapName,
--then insert the new flags into said entry.
--Use this when you know the map already exists, but this content patch is just
--adding new gamemodes (otherwise you should just add whole new entries to the missionlist)
function AddNewGameModes(missionList, mapName, newFlags)
for i, mission in missionList do
if mission.mapluafile == mapName then
MergeTables(mission, newFlags)
end
end
end
--insert totally new maps here:
AddNewGameModes(sp_missionselect_listbox_contents,"cor1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"cor1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"uta1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"uta1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"kas2%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"kas2%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"tat3%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"tat3%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"kam1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"kam1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"mus1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"mus1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"dea1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"dea1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"tat2%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"tat2%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"dag1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"dag1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"fel1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"fel1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"myg1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"myg1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"nab2%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"nab2%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"pol1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"pol1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"tan1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"tan1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(sp_missionselect_listbox_contents,"yav1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddNewGameModes(mp_missionselect_listbox_contents,"yav1%s_%s",{ era_a = 3, mode_siege_a = 3, mode_wav_a = 3, mode_rpg_a = 3, mode_c1_a = 3,
change = {
era_a = {name = "BF II: Mandalorians" },
mode_wav = { name= "Classic v Prequel Era", about = "All out Mandalorian on Mandalorian warfare! Old Republic era versus Clone Wars era.", icon = "mode_icon_siege" },
mode_siege = { name= "Classic v New Age", about = "All out Mandalorian on Mandalorian warfare! Old versus New!", icon = "mode_icon_siege" },
mode_rpg = {name= "Prequel Era v New Age", about= "The newest v fan favorties.", icon = "mode_icon_siege" },
mode_c1 = {name= "Red v Blue", about= "Supercommandos are pit against the Deathwatch.", icon = "mode_icon_holo" }
}
})
AddDownloadableContent("cor1","cor1a_siege",4)
AddDownloadableContent("cor1","cor1a_wav",4)
AddDownloadableContent("cor1","cor1a_rpg",4)
AddDownloadableContent("cor1","cor1a_c1",4)
AddDownloadableContent("uta1","uta1a_siege",4)
AddDownloadableContent("uta1","uta1a_wav",4)
AddDownloadableContent("uta1","uta1a_rpg",4)
AddDownloadableContent("uta1","uta1a_c1",4)
AddDownloadableContent("kas2","kas2a_siege",4)
AddDownloadableContent("kas2","kas2a_wav",4)
AddDownloadableContent("kas2","kas2a_rpg",4)
AddDownloadableContent("kas2","kas2a_c1",4)
AddDownloadableContent("tat3","tat3a_siege",4)
AddDownloadableContent("tat3","tat3a_wav",4)
AddDownloadableContent("tat3","tat3a_rpg",4)
AddDownloadableContent("tat3","tat3a_c1",4)
AddDownloadableContent("kam1","kam1a_siege",4)
AddDownloadableContent("kam1","kam1a_wav",4)
AddDownloadableContent("kam1","kam1a_rpg",4)
AddDownloadableContent("kam1","kam1a_c1",4)
AddDownloadableContent("mus1","mus1a_siege",4)
AddDownloadableContent("mus1","mus1a_wav",4)
AddDownloadableContent("mus1","mus1a_rpg",4)
AddDownloadableContent("mus1","mus1a_c1",4)
AddDownloadableContent("dea1","dea1a_siege",4)
AddDownloadableContent("dea1","dea1a_wav",4)
AddDownloadableContent("dea1","dea1a_rpg",4)
AddDownloadableContent("dea1","dea1a_c1",4)
AddDownloadableContent("tat2","tat2a_siege",4)
AddDownloadableContent("tat2","tat2a_wav",4)
AddDownloadableContent("tat2","tat2a_rpg",4)
AddDownloadableContent("tat2","tat2a_c1",4)
AddDownloadableContent("dag1","dag1a_siege",4)
AddDownloadableContent("dag1","dag1a_wav",4)
AddDownloadableContent("dag1","dag1a_rpg",4)
AddDownloadableContent("dag1","dag1a_c1",4)
AddDownloadableContent("fel1","fel1a_siege",4)
AddDownloadableContent("fel1","fel1a_wav",4)
AddDownloadableContent("fel1","fel1a_rpg",4)
AddDownloadableContent("fel1","fel1a_c1",4)
AddDownloadableContent("myg1","myg1a_siege",4)
AddDownloadableContent("myg1","myg1a_wav",4)
AddDownloadableContent("myg1","myg1a_rpg",4)
AddDownloadableContent("myg1","myg1a_c1",4)
AddDownloadableContent("nab2","nab2a_siege",4)
AddDownloadableContent("nab2","nab2a_wav",4)
AddDownloadableContent("nab2","nab2a_rpg",4)
AddDownloadableContent("nab2","nab2a_c1",4)
AddDownloadableContent("pol1","pol1a_siege",4)
AddDownloadableContent("pol1","pol1a_wav",4)
AddDownloadableContent("pol1","pol1a_rpg",4)
AddDownloadableContent("pol1","pol1a_c1",4)
AddDownloadableContent("tan1","tan1a_siege",4)
AddDownloadableContent("tan1","tan1a_wav",4)
AddDownloadableContent("tan1","tan1a_rpg",4)
AddDownloadableContent("tan1","tan1a_c1",4)
AddDownloadableContent("yav1","yav1a_siege",4)
AddDownloadableContent("yav1","yav1a_wav",4)
AddDownloadableContent("yav1","yav1a_rpg",4)
AddDownloadableContent("yav1","yav1a_c1",4)
AddDownloadableContent("BAR","BARa_siege",4)
AddDownloadableContent("BAR","BARa_wav",4)
AddDownloadableContent("BAR","BARa_rpg",4)
AddDownloadableContent("BAR","BARa_c1",4)
newEntry = nil
n = nil
ReadDataFile("..\\..\\addon\\FUK\\data\\_LVL_PC\\core.lvl")