changing the names in a sides mod

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
battlwfrontfreak

changing the names in a sides mod

Post 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.
Abiter_b

Post by Abiter_b »

when you localize something it saves the name in the map not on the side.
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Another question about sides.

Post by RepSharpshooter »

See my other post.
Last edited by RepSharpshooter on Tue Jul 24, 2007 1:22 pm, edited 3 times in total.
battlwfrontfreak

Post 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...
Syth
General
General
Posts: 784
Joined: Thu Apr 13, 2006 8:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: happy fun island

Post by Syth »

you have to replace the CORE.lvl to over-wright localize stuff.
battlwfrontfreak

Post by battlwfrontfreak »

I will try that! Thanks.
VF501
Lieutenant Colonel
Lieutenant Colonel
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious
Location: Terra Firma, Sol System; Milky Way

Post 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).
battlwfrontfreak

Post 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?
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Post 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.
Last edited by RepSharpshooter on Tue Jul 24, 2007 1:27 pm, edited 1 time in total.
Commander_Cody771
Vader's Apprentice
Posts: 1069
Joined: Thu Jun 07, 2007 5:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Looking for a new CPU
Contact:

Post by Commander_Cody771 »

Cool. I never knew that. :D
Post Reply