Custom Side into shipped maps [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

Private Recruit
Posts: 29
Joined: Wed Jun 18, 2014 4:20 pm
Location: United States
Games I'm Playing :: Battlefront II

Custom Side into shipped maps [Solved]

Postby ModifiedBlox » Wed Feb 18, 2015 2:24 pm

Is it possible for one to implement custom side(s) into the shipped maps without making a map?
Last edited by ModifiedBlox on Wed Feb 18, 2015 3:10 pm, edited 1 time in total.

Field Commander
User avatar
Posts: 989
Joined: Tue Aug 13, 2013 11:58 pm
Location: The Universe
Projects :: Skin Changer - Warfront - Other stuff
Games I'm Playing :: SWBF SWTOR KotOR EaW
xbox live or psn: AaTc_CmdrAwesome

Re: Custom Side into shipped maps

Postby commanderawesome » Wed Feb 18, 2015 2:48 pm

Yes.

(*** is the 3-letter name you gave your project in the mod tools.)

Just copy the shipped mission script you want over to Data_***\Common\Scripts\*** (don't change the script's name) and just edit it as you would a mod map's script. Then add the name the the script to mission.req like so (using Coruscant as an example):
Code: Select all
    REQN
    {
        "lvl"
        "***g_con"
        "***c_con"
        "cor1c_con"
    }
}


Then add this line to addme.lua:
Code: Select all
AddDownloadableContent("cor1","cor1c_con",4)

Above these lines:
Code: Select all
-- all done
newEntry = nil
n = nil

-- Now load our core.lvl into the shell to add our localize keys
ReadDataFile("..\\..\\addon\\TST\\data\\_LVL_PC\\core.lvl")

Then munge and you're done.

To remove the changes, just remove *** from your addon folder.

Jedi
User avatar
Posts: 1210
Joined: Mon Mar 21, 2011 8:12 pm
Location: STALKER!
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4

Re: Custom Side into shipped maps [Solved]

Postby ARCTroopaNate » Thu Aug 06, 2015 1:51 am

Sorry for the bump.

Has anyone tested to see if this adds to the mission level?? Because you are just editing one of the shipped missions after all. If no one has I could give it a whirl, interested in finding out, might be a good way to reduce the mission count of large era/side mods.

Return to SWBF2 Modding

Who is online

Users browsing this forum: No registered users and 1 guest