Change name of new items? [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
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Change name of new items? [Solved]

Post by SkinnyODST »

Simple question, how do I change the name of new items such as new weapons so they don't read something like "rep_weap_inf_new_rifle" in the game?
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: Change name of shipped items?

Post by Samee3 »

Use the localization tool. In data_***, look for editlocalize.bat
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Change name of shipped items?

Post by SkinnyODST »

Samee3 wrote:Use the localization tool. In data_***, look for editlocalize.bat
Will that work with modded weapons?
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: Change name of new items?

Post by Samee3 »

Yes; under weapons (which is a 'scope'), find your team. Under that team's scope, add a new key (right-click on the team name).

Everything else is pretty self explanatory.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Change name of shipped items?

Post by Marth8880 »

SkinnyODST wrote:Will that work with modded weapons?
Instead of asking whether or not it will work, why not first try it out to see for yourself? :p
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Change name of new items?

Post by SkinnyODST »

Samee3 wrote:Yes; under weapons (which is a 'scope'), find your team. Under that team's scope, add a new key (right-click on the team name).

Everything else is pretty self explanatory.
It didn`t do anything. I have the modded weapons that in game have the same names as their odf`s. I tried adding a new key, put in the name of the weapon I want to have a REAL name, but no changes were there.
I`ve never done anything like this before apart from changing the names of a couple things, nothing like adding new keys and stuff
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: Change name of new items?

Post by Samee3 »

If it's not working, you're not doing it correctly. You can read more on it here.

Also, if you are expecting it to work right off the bat for stock maps, it doesn't. Read more here.
User avatar
CT108
Rebel Sergeant
Rebel Sergeant
Posts: 186
Joined: Mon Aug 22, 2016 6:20 am
Projects :: None
Games I'm Playing :: CS2
xbox live or psn: Captain CT108
Location: Xanadu

Re: Change name of new items?

Post by CT108 »

@SkinnyODST

I have the solution :

Open editlocalization.bat
Go to weapons
Go to rep if you want to add the weapon for the republic (also all for the rebels, cis for the cis...)
Go to weap
Click on weap
Add a key - The name of the key is the name of your weapon. So for your gun the name of the key is "inf_new_rifle"
Click on "inf_new_rifle" and write the name of your weapon
Save and Close
Go munge (you should select common in mod tool visualmunge or that will not work)

That's all ! :wink:
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Change name of new items?

Post by SkinnyODST »

CT108 wrote:@SkinnyODST

I have the solution :

Open editlocalization.bat
Go to weapons
Go to rep if you want to add the weapon for the republic (also all for the rebels, cis for the cis...)
Go to weap
Click on weap
Add a key - The name of the key is the name of your weapon. So for your gun the name of the key is "inf_new_rifle"
Click on "inf_new_rifle" and write the name of your weapon
Save and Close
Go munge (you should select common in mod tool visualmunge or that will not work)

That's all ! :wink:
It worked! Thanks!
Post Reply