Setting a name for a custom class [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
mrcluster
Private First Class
Posts: 80
Joined: Thu Sep 01, 2016 3:41 pm
Projects :: Tatooine - Jundland Wastes
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set

Setting a name for a custom class [Solved]

Post by mrcluster »

Hello. So, I'm interested in creating custom classes for my mods. I know the basics (.odf files, .msh files and .tga files, etc.), but the one thing I don't know is how to give the custom class a name via the language system. How can I do this?
Last edited by mrcluster on Sat Sep 03, 2016 1:12 pm, edited 1 time in total.
User avatar
Benoz
Corporal
Corporal
Posts: 142
Joined: Tue May 28, 2013 12:34 pm
Projects :: Clone Wars Era Mod Version 2
Games I'm Playing :: OldFront - EAFront
xbox live or psn: No gamertag set
Location: Germany

Re: Setting a name for a custom class

Post by Benoz »

You open up the editlocalize.bat in your mods main directory.
There you have listed all the given names corresponding to their odf files.
If you want to add a name e.g. a new custom unit, you click on entity and then on the era e.g. rep.
Now you right click rep and select Add Key.
The key you add is the new odf entry, so the key should have the exact name as your .odf file of the new unit.
So if you called the new unit rep_ep3_newtrooper then the key name should be: rep_ep3_newtrooper
Then on the right window you can name your new unit and select different languages.
Once finished, you click on File>Save. Wait for completion and select Localize when you run Modtools Visual Munge.

PS: If you name new weapons, you do the same but you go to weapons and rep.
mrcluster
Private First Class
Posts: 80
Joined: Thu Sep 01, 2016 3:41 pm
Projects :: Tatooine - Jundland Wastes
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set

Re: Setting a name for a custom class

Post by mrcluster »

The66Order66 wrote:You open up the editlocalize.bat in your mods main directory.
There you have listed all the given names corresponding to their odf files.
If you want to add a name e.g. a new custom unit, you click on entity and then on the era e.g. rep.
Now you right click rep and select Add Key.
The key you add is the new odf entry, so the key should have the exact name as your .odf file of the new unit.
So if you called the new unit rep_ep3_newtrooper then the key name should be: rep_ep3_newtrooper
Then on the right window you can name your new unit and select different languages.
Once finished, you click on File>Save. Wait for completion and select Localize when you run Modtools Visual Munge.

PS: If you name new weapons, you do the same but you go to weapons and rep.
Thanks for the help!
Post Reply