Adding locals of a mod era to a new map [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
Luke
Private First Class
Posts: 75
Joined: Sat Feb 18, 2012 5:36 am
Projects :: Caron Prime - Liberation Action
Games I'm Playing :: SWBF2 SWRC
Location: Germany

Adding locals of a mod era to a new map [Solved]

Post by Luke »

I recently added the BFX era to my map and now I am wondering how to add the localization of that mod so that the proper names of the units and weapons are displayed ingame.

Can anyone tell me how to do this? So, is it possible to load the localization of the mod for my map or do I have to rewrite all the names into my maps localization files?
Last edited by Luke on Fri Dec 01, 2017 8:09 am, edited 1 time in total.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Adding locals of a mod era to a new map

Post by AQT »

Just add this line in the top section of your lua (where the teams are defined, forgot what it's called):

Code: Select all

ReadDataFile("..\\..\\addon\\BFX\\data\\_LVL_PC\\core.lvl")
User avatar
Luke
Private First Class
Posts: 75
Joined: Sat Feb 18, 2012 5:36 am
Projects :: Caron Prime - Liberation Action
Games I'm Playing :: SWBF2 SWRC
Location: Germany

Re: Adding locals of a mod era to a new map [Solved]

Post by Luke »

Well, that was that easy I expected it to be, I'm wondering why I haven't got that idea by myself :D

Thanks for your help!
Post Reply