Page 1 of 1

Setting a name for a custom class [Solved]

Posted: Fri Sep 02, 2016 5:18 pm
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?

Re: Setting a name for a custom class

Posted: Sat Sep 03, 2016 3:12 am
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.

Re: Setting a name for a custom class

Posted: Sat Sep 03, 2016 1:11 pm
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!