Adding own ERA to space

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
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Adding own ERA to space

Post by DrDrSheldonLeeCooper »

Does I have to add spa6c_cmn to addme too?Or does I just need it in the C:\BF2_ModTools\data_MEL\Common\scripts\MEL folder?
Last edited by DrDrSheldonLeeCooper on Tue Apr 07, 2015 9:01 am, edited 1 time in total.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Adding own mode to space

Post by razac920 »

I don't have much experience with space maps, but I am pretty sure you don't need to modify the readme to include any _cmn modes (these aren't "real" modes). Just leave them as is unless you want to change the mode somehow.
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: Adding own mode to space

Post by DrDrSheldonLeeCooper »

Ok I have it in my /scripts/mod folder (without this you can't add troopers)
Now I added my era to space,when I click on the Space:Mygeeto/My mode/aussault and then click "add" the map doesnt want to going to the right box (Sorry I can't explain good in English) do you know what it is?
Thanks!
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Adding own ERA to space

Post by thelegend »

1st. It might be better if you go more specific. What have you done so far. Which files have you added to any folders or...

2nd. razac920: readme? :o
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: Adding own ERA to space

Post by DrDrSheldonLeeCooper »

First : z is my era letter :)

-added spa6z_Diet Dr. Pepper to addme (I added these lines : AddDownloadableContent("spa6","spa6z_Diet Dr. Pepper",4) and
AddNewGameModes( sp_missionselect_listbox_contents, "spa6%s_%s", {era_z = 1, mode_Diet Dr. Pepper_z = 1, change = { era_z = { name="Times before Empire", icon2="mode_icon_wea" }, }})

AddNewGameModes( mp_missionselect_listbox_contents, "spa6%s_%s", {era_z = 1, mode_Diet Dr. Pepper_z = 1, change = { era_z = { name="Times before Empire", icon2="mode_icon_wea" }, }})

-added spa6z_Diet Dr. Pepper and spa6z_cmn to scripts

-wrote "spa6z_Diet Dr. Pepper" in mission.req

and the last thing is that I created a spa6z_Diet Dr. Pepper req and put it in the mission folder.

spa6z_Diet Dr. Pepper req :
Hidden/Spoiler:
ucft
{
REQN
{
"script"
"spa6z_cmn"
"spa6z_Diet Dr. Pepper"
}
}
Post Reply