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

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

Custom Side into shipped maps [Solved]

Post by ModifiedBlox »

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.
User avatar
commanderawesome
Field Commander
Field Commander
Posts: 970
Joined: Tue Aug 13, 2013 11:58 pm
Projects :: Skin Changer - Warfront - Other stuff
Games I'm Playing :: SWBF SWTOR KotOR EaW
xbox live or psn: AaTc_CmdrAwesome
Location: The Universe

Re: Custom Side into shipped maps

Post by commanderawesome »

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.
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: Custom Side into shipped maps [Solved]

Post by ARCTroopaNate »

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.
Post Reply