Duplicate map shows up in map list

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Duplicate map shows up in map list

Post by skelltor »

ok so i am adding my mod to marvel4s maps (with his permission of course) but when i add the era in the instant action screen two maps show up one with an orange name and one with white also the eras do not have the right names

here is my addme part that referes to the map
sp_n = table.getn(sp_missionselect_listbox_contents)
sp_missionselect_listbox_contents[sp_n+1] = { mapluafile = "Y4A%s_%s", era_r = 1, era_e = 1, mode_con_r = 1, mode_con_e = 1, change = {era_x = { name="BFSM Clone Wars", icon2="rote_icon" }, era_y = { name="BFSM Galactic Civil War", icon3="rote_icon" },},}
mp_n = table.getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[mp_n+1] = sp_missionselect_listbox_contents[sp_n+1]

if anyone can help it would great or if you need any more stuff from me.
Post Reply