Page 1 of 1

Changing an era's name?

Posted: Thu Nov 19, 2009 2:05 pm
by (Anonymous)
where in the localizations do I change era names?

Re: Changing an era's name?

Posted: Thu Nov 19, 2009 2:09 pm
by sampip
go into the localization tool in your maps folder (editlocalize.bat) and go to:
-common
-era
-----
just there :)

Re: Changing an era's name?

Posted: Thu Nov 19, 2009 2:27 pm
by (Anonymous)
I tried that, on the map selection screen it didn't work. Anyone have a second opinion?

Re: Changing an era's name?

Posted: Thu Nov 19, 2009 4:07 pm
by Fiodis
Do you have the version 1.3 patch? If so, there's a tutorial on that in the documentation.

Re: Changing an era's name?

Posted: Thu Nov 19, 2009 5:05 pm
by (Anonymous)
I do but I just want to rename GCW

Re: Changing an era's name?

Posted: Thu Nov 19, 2009 5:48 pm
by Fiodis
Fiodis wrote:Do you have the version 1.3 patch? If so, there's a tutorial on that in the documentation.
GCW, too.

Re: Changing an era's name?

Posted: Fri Nov 20, 2009 12:05 pm
by [RDH]Zerted
The only way you can change an era's or game mode's name is through the v1.3 patch. You could change the strings using the localization tool, but that won't change what is displayed in the shell screens.

Re: Changing an era's name?

Posted: Sun Nov 29, 2009 5:46 am
by BF2-Master
This probably requires the v1.3 patch, but...

Go to addme.lua

Now find your missionselect list and after "dnldable = 1," copy & paste this:

Code: Select all

change = {
mode_MODE = { name="NEW MODE NAME", about="NEW MODE DESCRIPTION",},
},
}
Now save. :thumbs:

Here's an example:

Code: Select all

sp_missionselect_listbox_contents[sp_n+1] = {
isModLevel = 1,
mapluafile = "HMC%s_%s",
era_c = 1,
era_g = 1,
mode_con_c = 1,
mode_con_g = 1,
mode_ctf_c = 1,
mode_ctf_g = 1,
mode_1flag_c = 1,
mode_1flag_g = 1,
mode_c_c = 1,
mode_eli_c = 1,
mode_eli_g = 1,
mode_hunt_c = 1,
mode_hunt_g = 1,
mode_xl_c = 1,
mode_xl_g = 1,
dnldable = 1,
change = {
mode_c = { name="Hero Conquest", about="Play as a Jedi or a Sith as you battle to capture and defend command posts",},
},
}
mp_n = table.getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[mp_n+1] = sp_missionselect_listbox_contents[sp_n+1]
So now ingame, instead of a campaign level, I get a conquest game with heroes. Pretty simple.

I think the same code with mode instead of era works as well.