Tutorial: Localize Tool
Posted: Fri Jun 03, 2005 7:43 am
It seems that some guys have problems using the localize Tool correctly.
You can find the localize tool in:
DataMod1\edit_pc_addon_localize.bat (if using the SWBF1 tools)
or
data_ABC\editlocalize.bat (if using the SWBF2 tools)
Your project name may vary from the examples above.
So here is a short tutorial about how to use it.
As example i will use the localization from the Bounty Hunters Team. So you need to know how to add a new Side to your map!
First have a look at the localize screenshot:
In the left window you see a data tree with 3 root level scopes called "level", "weapons" and "entity".
If you run your localize tool you will see the 2 entries "level" and "weapons". We will add "entity" later.
Now let's localize!
First we want to name Command Posts.
Under level you find a scope named after your mapID in this case "Bounty1". If you run localize the first time you will notice that you already have 2 keys called "CP1Label" and "CP2Label". Make sure that the keys match the same name you typed for your CPs in the label box in ZeroEditor (You can also rename CP1label and CP2Label if needed).
Select "CP1Label" and give your command post a proper name. To do this write the name of the command post in the middle window below "Level.Bounty1.CP1Label". By default it is called "Barracks". Rename it.
Do it again with the second "CP2Label". If you need more command posts just right click on your modID "Bounty1" in the left window and choose "add key".
Now we want to add and name weapons.
In this example we will add the "imp_weap_inf_grapplinghook" as a new weapon.
Select root level scope "weapons" you find in the left window and add a new scope called "imp". To do this right click on "weapons" and choose "add scope" from the context menu. Add another scope called "weap" under "imp". Now add a key under "weap" called " inf_grapplinghook". Name it in the middle window the same way you did with the Command posts.
at last we will name a new unit from our new side.
In this example we will name the IG-88 Droid which is called "cis_Inf_ig88" (the ODF name) in the class *.req file.
First right click in an empty place in the left window and choose "Add Root Level Scope".
Name it "entity".
Next add a scope called "cis". At last add a key called "inf_ig88". Now give the unit a proper name in the middle window below entity.cis.inf_ig88 (See screenshot)
Now you know how to add and name CPs, weapons and new units.
Hope this helps.
For more information have a look at Psych0fred's board at http://www.secretsociety.com/forum/disp ... .asp?fid=4
You can find the localize tool in:
DataMod1\edit_pc_addon_localize.bat (if using the SWBF1 tools)
or
data_ABC\editlocalize.bat (if using the SWBF2 tools)
Your project name may vary from the examples above.
So here is a short tutorial about how to use it.
As example i will use the localization from the Bounty Hunters Team. So you need to know how to add a new Side to your map!
First have a look at the localize screenshot:
In the left window you see a data tree with 3 root level scopes called "level", "weapons" and "entity".
If you run your localize tool you will see the 2 entries "level" and "weapons". We will add "entity" later.
Now let's localize!
First we want to name Command Posts.
Under level you find a scope named after your mapID in this case "Bounty1". If you run localize the first time you will notice that you already have 2 keys called "CP1Label" and "CP2Label". Make sure that the keys match the same name you typed for your CPs in the label box in ZeroEditor (You can also rename CP1label and CP2Label if needed).
Select "CP1Label" and give your command post a proper name. To do this write the name of the command post in the middle window below "Level.Bounty1.CP1Label". By default it is called "Barracks". Rename it.
Do it again with the second "CP2Label". If you need more command posts just right click on your modID "Bounty1" in the left window and choose "add key".
Now we want to add and name weapons.
In this example we will add the "imp_weap_inf_grapplinghook" as a new weapon.
Select root level scope "weapons" you find in the left window and add a new scope called "imp". To do this right click on "weapons" and choose "add scope" from the context menu. Add another scope called "weap" under "imp". Now add a key under "weap" called " inf_grapplinghook". Name it in the middle window the same way you did with the Command posts.
at last we will name a new unit from our new side.
In this example we will name the IG-88 Droid which is called "cis_Inf_ig88" (the ODF name) in the class *.req file.
First right click in an empty place in the left window and choose "Add Root Level Scope".
Name it "entity".
Next add a scope called "cis". At last add a key called "inf_ig88". Now give the unit a proper name in the middle window below entity.cis.inf_ig88 (See screenshot)
Now you know how to add and name CPs, weapons and new units.
Hope this helps.
For more information have a look at Psych0fred's board at http://www.secretsociety.com/forum/disp ... .asp?fid=4