Changing an era's name?

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
(Anonymous)
Under watchful eyes.
Posts: 106
Joined: Sun Oct 18, 2009 12:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where Ever You're Not
Contact:

Changing an era's name?

Post by (Anonymous) »

where in the localizations do I change era names?
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Changing an era's name?

Post by sampip »

go into the localization tool in your maps folder (editlocalize.bat) and go to:
-common
-era
-----
just there :)
(Anonymous)
Under watchful eyes.
Posts: 106
Joined: Sun Oct 18, 2009 12:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where Ever You're Not
Contact:

Re: Changing an era's name?

Post by (Anonymous) »

I tried that, on the map selection screen it didn't work. Anyone have a second opinion?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Changing an era's name?

Post by Fiodis »

Do you have the version 1.3 patch? If so, there's a tutorial on that in the documentation.
(Anonymous)
Under watchful eyes.
Posts: 106
Joined: Sun Oct 18, 2009 12:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where Ever You're Not
Contact:

Re: Changing an era's name?

Post by (Anonymous) »

I do but I just want to rename GCW
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Changing an era's name?

Post 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.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Changing an era's name?

Post 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.
BF2-Master
Captain
Captain
Posts: 469
Joined: Thu Mar 02, 2006 7:08 pm

Re: Changing an era's name?

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