Page 1 of 1

changing the names in a sides mod

Posted: Mon Jul 09, 2007 10:50 am
by battlwfrontfreak
Does anybody know how to change the names of units in a sides mod?


Heres my problem: I make the map and i change the name of the ep3 officer(using the localize tool) to "Battle Raveged ARC"(that is also the comment) and the lua script has the "dc:" bit sp that it uses my custom side. when i play the map, the name is changed. but when i take the side files(rep and repshell) and replace the MAIN originals with those, just skins and weapon changes and such show up. everything shows up. exept the new names. Any awnsers?? please reply if you have ANY idea.

Posted: Mon Jul 09, 2007 11:11 am
by Abiter_b
when you localize something it saves the name in the map not on the side.

Another question about sides.

Posted: Fri Jul 13, 2007 6:43 pm
by RepSharpshooter
See my other post.

Posted: Fri Jul 13, 2007 7:37 pm
by battlwfrontfreak
@Abiter_b AS i said in my first post i know that the names go with the map, not the side. I was asking if there wan any way around this.

@RepSharshooter I am just asking you that if you want to ask that question please make your own thread. I whould like to get this awnser ASAP for my mod. I don't want htis thread filling up with things that are useless to me when i started it...

Posted: Fri Jul 13, 2007 11:00 pm
by Syth
you have to replace the CORE.lvl to over-wright localize stuff.

Posted: Sat Jul 14, 2007 5:10 pm
by battlwfrontfreak
I will try that! Thanks.

Posted: Sat Jul 14, 2007 8:03 pm
by VF501
Make sure you write a full core.lvl with the localize tool though. As the shipped one from the game is huge and has names for nearly every unit, weapon, vehicle and command post. It is kinda hard to do though.

Alternatively you might beable to hexedit the core.lvl t use new names of the smae length (add spaces at the end if the name is shorter but do not make a longer name).

Posted: Mon Jul 23, 2007 6:59 pm
by battlwfrontfreak
i was not able to find there names in the cor.lvl in a HEX edit. but iwill try. and how whould i write a full core.lvl?

Posted: Tue Jul 24, 2007 11:35 am
by RepSharpshooter
I believe I have found the answer. In the CORE.LVL all the characters have 00 between them. Ex. I searched for "Clone", which in hexadecimal is:
43 6C 6F 6E 65
However it will appear in the CORE.LVL like this:
43 00 6C 00 6F 00 6E 00 65
They use this to incorporate the extended character set, for other languages.
If you go in microsoft word, insert symbol, and go to "C" it will show the hex value is 0043, not just 43. The hex-editor interperts this as two seperate entries, 00 and 43.

Oh duh, my hex editor had a Unicode UTF-16 button, if you check that, all you have to do is type in "Clone trooper" and it will find it.

Posted: Tue Jul 24, 2007 12:07 pm
by Commander_Cody771
Cool. I never knew that. :D