Page 1 of 1
Naming Units.
Posted: Sat Dec 24, 2005 3:18 pm
by Ace_Azzameen_5
Can somebody give me the Info on naming units, especially heros?
I'm tired of Luke being called Jayce Sulvara
Note: This is not spawn screen localization.
RE: Naming Units.
Posted: Sat Dec 24, 2005 4:19 pm
by Emperor_Syndacyte
wha?
RE: Naming Units.
Posted: Sat Dec 24, 2005 4:37 pm
by Teancum
Let's take Luke for example -- all_inf_luke
Heros are named via localization:
Entity > all > inf_luke
--- that's what you'd change. However, you can't 'overwrite' an existing localization string, so you'd have to rename him to something like all_inf_luke2
And them to localize him:
1-Add a root scope 'Entity'
2-Add a scope to that called all
3-Add a key to that called inf_luke2
4-Input the new name on the righthand side, in both boxes
RE: Naming Units.
Posted: Sun Dec 25, 2005 3:08 pm
by Leviathan
For those who are interested in modifying existing localization labels, they must copy all *.CFG files contained in "
BFBuilder\Data\Localize" (And not "
localize.req" !) into the "
Data[ModID]\_SOURCE_PC\Common\Localize" path. After, they'll just have to load the "
edit_pc_addon_localize.bat" file, present at the root of their Mod's folder...
Once all changes are done, place all tweaked *.CFG files in the directory where you got them from...

RE: Naming Units.
Posted: Sun Dec 25, 2005 8:36 pm
by Teancum
It doesn't work for everything, though. For instance, you can't re-localize era names.
RE: Naming Units.
Posted: Mon Dec 26, 2005 11:42 am
by Leviathan
Yes, of course, as SWBF Shell does not belong to the "Add-On structure"... However, you can re-localize shipping units or change the labels of the options available through the "Pause" menu (For a custom map) throught this process...
Moreover, if DFYX's method to add more bytes to an hex-edited file could work with "core.lvl", then changing some SWBF's main menu's strings or other stuffs would become possible.
Re: RE: Naming Units.
Posted: Wed Dec 28, 2005 12:11 am
by Ace_Azzameen_5
Teancum wrote:Let's take Luke for example -- all_inf_luke
Heros are named via localization:
Entity > all > inf_luke
--- that's what you'd change. However, you can't 'overwrite' an existing localization string, so you'd have to rename him to something like all_inf_luke2
And them to localize him:
1-Add a root scope 'Entity'
2-Add a scope to that called all
3-Add a key to that called inf_luke2
4-Input the new name on the righthand side, in both boxes
I tried all that before this post. Isn't that just spawn screen stuff? Maybe it's a typo, but SPTEST doesn't say anything about a missing localization for my new luke. And there is no localization for him already, he's an entire new unit. (hehe, I give him "force heal">fusion cutter+soldier health-(vehicle health+building health+unbuilt Health)-".".msh-sound+("unittype=pilot"instead of soldier)=force heal
RE: Re: RE: Naming Units.
Posted: Wed Dec 28, 2005 12:11 pm
by Leviathan
Have you tried what I've written in my first post ? If you know seeking, you'll find the proper address you need to edit in order to change your character's name from "Jayce Sulvara" to the one you want... ("Luke Skywalker", in your case...)
RE: Re: RE: Naming Units.
Posted: Thu Dec 29, 2005 7:18 pm
by Lord-Bandu
Theres a sticky in this forum called 'how to' .... look at the localization tutorial by Rends.
RE: Re: RE: Naming Units.
Posted: Fri Dec 30, 2005 12:12 pm
by Leviathan
Well, I've found a key whose value is "Luke Skywalker", but its name isn't the same as the Rebel Alliance's Hero *.ODF file... (Indeed, it is called "hero", and not "all_inf_lukeskywalker"...)
However, I continue seeking...