Page 1 of 1

Tutorial : Changing the name of a weapon the easy way

Posted: Mon Apr 14, 2003 2:13 pm
by MPowell1944
For those of you who have been wondering how you can change the weaponname without editing the localization.txt file, here is a tutorial for you :

(Using BAR as an example)

1. Open the Pak0/ui folder and make a copy of the hud_ammo_bar.urc file. Make sure to copy it into your own /ui folder. (Of course if you have another weapon, the .urc file will be named for that weapon.)

2. Now, open your copy of hud_ammo_bar.urc and scroll down to the last section, which should be the weaponname section.

3. Right below the line that says name "weaponname", add in this line, replacing WeaponNameHere with the name you want to use for the weapon :

title "WeaponNameHere"

4. Now, below your new line you will see a line that says itemstat 1. Delete that line, as that line is what tells the game to show the real name of the gun you are using, which in this case would be BAR.

5. Now, save the .urc file and pack it up with the rest of your mod and your new weapon will have it's own name without messing around with anything complicated.

Oh and no worries. This is a clientside change, so no need to worry about the server having it as well.

If you are having any problems with this, add me to your MSN Messenger by adding MPowell1944@hotmail.com to your contactlist.

I will be making an official tutorial covering this and hopefully it will be posted on a couple of sites shortly. Thanks and good luck.

Posted: Mon Apr 14, 2003 2:20 pm
by jv_map
Yum yum new tutorial. Very interesting. ;)

Posted: Mon Apr 14, 2003 2:38 pm
by MPowell1944
I used this with the dynamite I made, so I figured why not allow others to improve upon their weapons as well.

Posted: Sat Apr 19, 2003 6:02 am
by m4rine
u can change both the weapon and taunts and everybit of dialogue you want in the global --> localization. I got the file of modtheater it lets u change everything they say to really runny things. (in text not in sound)



i cnt find where the file is so open up notepad and add (you can edit them to say anything) once done, create a new folder in main called 'global and save them in there. simple.

8)

Posted: Sat Apr 19, 2003 6:30 am
by jv_map
It's in pak0.pk3 in the global folder.

Sorry m4rine, I had to remove some of the stuff you posted to keep this thread readable.

Posted: Sat Apr 19, 2003 7:26 am
by m4rine
ok, ill try and find the link to the download instead of typing it all out, its quite good you can change every bit of text in the game. geat fun

8)

Posted: Thu Apr 24, 2003 6:47 am
by MPowell1944
Yes, you can edit the localization.txt file to get the same effect, but what if you are playing on a server that is running a modified localization.txt file? Then yours will be cancelled out. With my method you don't have to worry about this.

Posted: Wed May 28, 2003 11:49 am
by m4rine
well i don't play multiplayer, so i woudnt now. i try to play but i get disconnected after 15 secs.

It works well with bot multiplayer, though i guess ur way is better vecause its fool-proof ;)