renaming a unit

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
Delta 58
Recruit Womprat Killer
Posts: 13
Joined: Tue Sep 30, 2008 5:34 pm

renaming a unit

Post by Delta 58 »

Is there any way that I could rename a unit without making a new side?
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: renaming a unit

Post by [RDH]Zerted »

I'd assume that if you edit the localization strings for the unit, it will change the name of the unit ingame.
Delta 58
Recruit Womprat Killer
Posts: 13
Joined: Tue Sep 30, 2008 5:34 pm

Re: renaming a unit

Post by Delta 58 »

This might be a stupid question but wheres the localization string located?
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: renaming a unit

Post by [RDH]Zerted »

Its not and I was expecting you to ask that question. However, I was hoping you won't as I don't remember the exact file of the tool or the location of the unit strings in the tool. To run the tool, there is a file like editlocalize.bat in your data_XXX folder (where XXX is the character code for your map). Double-click on the bat file and the tool will open.

The tool itself tends to crash a lot on me. It doesn't handle unexpected things very well.

Edit: Oh, and theres a whole section on the Localize tool in the modding FAQ sticky, Read that.
Delta 58
Recruit Womprat Killer
Posts: 13
Joined: Tue Sep 30, 2008 5:34 pm

Re: renaming a unit

Post by Delta 58 »

I found it and edited what I wanted, but where do I put it so it will change the whole game and not just a map.
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: renaming a unit

Post by [RDH]Zerted »

You don't. The localization strings are stored in the game's main core.lvl, but we don't have all the files needed to recreate the retail version of core.lvl.

You might be able to do it by hex editing, but you'd have to ask someone else about that. Why do you want it changed for the entire game?
Post Reply