Localizing completetly one unit's name [Solved]

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
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Localizing completetly one unit's name [Solved]

Post by CdtFox »

I want to know how to localize completly the unit's names, not the class name, the one showing up at the top left when you kill a bot.

In fact I already tried and succesfuly changed the clones's names: Kappa...blabla, Epsilon..bla..bla to clone 10 for exemple, but there is still a number behind the new name.

See here after CT-2308 there is still the stock number: "332"
Hidden/Spoiler:
Image
Thx for the help :)
Last edited by CdtFox on Thu Oct 20, 2016 5:19 pm, edited 1 time in total.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Localizing completetly one unit's name

Post by Teancum »

If I remember right you need to localize the first and last "name". So basically you could make the first names:

"CT -"
or
"CX -"
etc

or something similar (leave the space or it'll look weird). And then the last names the number part. You'll have to do that for ALL units if you want just generic units to have that name. Heroes are different.
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Re: Localizing completetly one unit's name

Post by CdtFox »

Teancum wrote:If I remember right you need to localize the first and last "name". So basically you could make the first names:

"CT -"
or
"CX -"
etc

or something similar (leave the space or it'll look weird). And then the last names the number part. You'll have to do that for ALL units if you want just generic units to have that name. Heroes are different.
Well, there is nothing in the last name part - in the first name there is Kappa and all the other names...but nothing in last name :o no '+' button to click on.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Localizing completetly one unit's name

Post by Teancum »

Then the game probably uses auto-generated numbers from the engine. I could totally see a programmer doing that so that someone doesn't have to localize tons of random "last name" numbers. I'd try putting one lastname entry (check the rebels for an example) with nothing in it. That might essentially give all units an "empty" last name.
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Re: Localizing completetly one unit's name

Post by CdtFox »

Teancum wrote:Then the game probably uses auto-generated numbers from the engine. I could totally see a programmer doing that so that someone doesn't have to localize tons of random "last name" numbers. I'd try putting one lastname entry (check the rebels for an example) with nothing in it. That might essentially give all units an "empty" last name.
Thx, it worked perfectly :)

But now I can't find the key that contains the "[TK]" part, cuz I want to delete those letters I hope that's possible :)
Last edited by CdtFox on Thu Oct 20, 2016 5:15 pm, edited 1 time in total.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Localizing completetly one unit's name

Post by thelegend »

You can find them in game.infomsg.teamkill
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Re: Localizing completetly one unit's name

Post by CdtFox »

thelegend wrote:You can find them in game.infomsg.teamkill
Perfect thanks Teancum and the legend :D
Post Reply