How to localize an era name? [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
noctisspector
Private
Posts: 33
Joined: Fri Feb 17, 2017 5:27 pm
Projects :: Galactic Saga Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: noctisspector

How to localize an era name? [Solved]

Post by noctisspector »

I have a new era and it defaults to "BFX". I have looked at the localize edit and I cant find anything that changes it. Please help!
Last edited by noctisspector on Sun Jun 03, 2018 11:44 am, edited 1 time in total.
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: How to localize an era name?

Post by SkinnyODST »

Add the bolded and underlined lines into your addme LUA (data_ABC/addme)

sp_missionselect_listbox_contents[sp_n+1] = {
isModLevel = 1,
mapluafile = "ABC%s_%s",
era_c = 1,
mode_con_c = 1,
change = {
era_c = { name="Add custom name here" },


Note: I kinda rearranged my addme lua so the layout may be different to yours, but it`s still got the same stuff in it

Note 2: Change "ABC" to your 3 letter map name

Note 3: "Era c" = Clone Wars
noctisspector
Private
Posts: 33
Joined: Fri Feb 17, 2017 5:27 pm
Projects :: Galactic Saga Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: noctisspector

Re: How to localize an era name?

Post by noctisspector »

Thank you!
Post Reply