Custom Era appears in multiplayer only [Solved]

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
1FGR1NightGhost
Don't feed the troll (that's me)
Posts: 85
Joined: Wed Jun 08, 2011 12:01 pm
Projects :: Bornesia Kastarian Docks
Games I'm Playing :: swbf2
xbox live or psn: No gamertag set

Custom Era appears in multiplayer only [Solved]

Post by 1FGR1NightGhost »

I read the tutorial for adding a custom era, and i got it to work fine the first time on single player (shows up when you select the map) But Hoth and Kashyyk only show up when you try to load them with mulitplayer (creating a server in essence)

How do i fix this?
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Custom Era appear in multiplayer only

Post by modmaster13 »

Can you give us more information, such as an LUA, addme, common.req, etc?
User avatar
1FGR1NightGhost
Don't feed the troll (that's me)
Posts: 85
Joined: Wed Jun 08, 2011 12:01 pm
Projects :: Bornesia Kastarian Docks
Games I'm Playing :: swbf2
xbox live or psn: No gamertag set

Re: Custom Era appear in multiplayer only

Post by 1FGR1NightGhost »

Hidden/Spoiler:
AddNewGameModes( mp_missionselect_listbox_contents, "kas2%s_%s", {era_r = 1,

mode_con_r = 1,} )


AddNewGameModes( mp_missionselect_listbox_contents, "kas2%s_%s", {era_d = 1,

mode_con_d = 1,} )

AddNewGameModes( mp_missionselect_listbox_contents, "hot1%s_%s", {era_r = 1,

mode_con_r = 1,} )


AddNewGameModes( mp_missionselect_listbox_contents, "hot1%s_%s", {era_d = 1,

mode_con_d = 1,} )

AddNewGameModes( sp_missionselect_listbox_contents, "pol1%s_%s", {era_r = 1,

mode_con_r = 1,} )

AddNewGameModes( sp_missionselect_listbox_contents, "pol1%s_%s", {era_d = 1,

mode_con_d = 1,} )
First part of readme
Hidden/Spoiler:
AddDownloadableContent("kas2","kas2r_con",4)
AddDownloadableContent("kas2","kas2d_con",4)
AddDownloadableContent("pol1","pol1r_con",4)
AddDownloadableContent("pol1","pol1d_con",4)
AddDownloadableContent("hot1","hot1r_con",4)
AddDownloadableContent("hot1","hot1d_con",4)
Second part of readme


And this is in the mission...
Hidden/Spoiler:
REQN
{
"lvl"
"kas2r_con"
"kas2d_con"
"pol1r_con"
"pol1d_con"
"hot1r_con"
"hot1d_con"
}
}

and i have all the .req files in the mission folder, and it works fine on multiplayer loadscreen and dosent crash when i test (except hoth, but thats cus i missspelled a readdatafile in one of the scripts...) Its just only polis shows up on single player
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Custom Era appear in multiplayer only

Post by THEWULFMAN »

1FGR1NightGhost wrote:
Hidden/Spoiler:
AddNewGameModes( mp_missionselect_listbox_contents, "kas2%s_%s", {era_r = 1,

mode_con_r = 1,} )


AddNewGameModes( mp_missionselect_listbox_contents, "kas2%s_%s", {era_d = 1,

mode_con_d = 1,} )

AddNewGameModes( mp_missionselect_listbox_contents, "hot1%s_%s", {era_r = 1,

mode_con_r = 1,} )


AddNewGameModes( mp_missionselect_listbox_contents, "hot1%s_%s", {era_d = 1,

mode_con_d = 1,} )

AddNewGameModes( sp_missionselect_listbox_contents, "pol1%s_%s", {era_r = 1,

mode_con_r = 1,} )

AddNewGameModes( sp_missionselect_listbox_contents, "pol1%s_%s", {era_d = 1,

mode_con_d = 1,} )
What do you think needs to be done here?
User avatar
1FGR1NightGhost
Don't feed the troll (that's me)
Posts: 85
Joined: Wed Jun 08, 2011 12:01 pm
Projects :: Bornesia Kastarian Docks
Games I'm Playing :: swbf2
xbox live or psn: No gamertag set

Re: Custom Era appear in multiplayer only

Post by 1FGR1NightGhost »

Yah... I just kina noticed that last night. :oops:

Thx for the help though.
Post Reply