Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   Tutorial : Changing the name of a weapon the easy way (alliedassault.us/showthread.php?t=22993)

MPowell1944 04-14-2003 09:22 AM

Tutorial : Changing the name of a weapon the easy way
 
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.

Dr. Deleto 04-22-2003 08:05 AM

this actually works well. I used it to make my M2 grenades into "tiny nukes". thanks powell (and whoever made this a sticky, G?)

guarnere 04-22-2003 08:10 AM

yea i did it wink: any good tutorial deserves some show-time biggrin:

k-i-a 04-22-2003 04:38 PM

Thanks a lot i change my weapon names now. Just they are now so cool! evil: zooka: M16:

MPowell1944 04-22-2003 08:49 PM

lol. No problem. I know how much of a pain is was to mess with renaming in the .tiki files and having the hand viewmodel disappear and whatnot. This just struck me and I smacked myself for not realizing it earlier.

k-i-a 04-23-2003 07:11 AM

Lol yeah, i think it's cool being able to make your own skins and stuff like that hehehehehehehe biggrin:

Simo Häyhä 04-24-2003 12:15 PM

too bad i made the same tutorial here, but it dropped like a rock to the bottom =[
http://www.alliedassault.com/phpBB2/vie ... ion#343195

mind some of you take a look at mine =]


sorry didnt mean to hijack your thread, nice tut powell.

k-i-a 04-24-2003 02:47 PM

Well i need some name's for my weapon's(all mine were s**t)
Any one got any idea's? bigzooka:

04-24-2003 02:48 PM

lol...... oOo:

thumper 04-24-2003 03:54 PM

idea? n00b t00b
bigzooka:

MPowell1944 04-25-2003 01:17 AM

You didnt copy mine. Yours has to do with the localization.txt file, mine has to do with hud .urc files. Silly Simo. biggrin:

k-i-a 04-25-2003 09:18 AM

I just want some good idea's for a sniper rifle. {Please can u help?

MPowell1944 04-25-2003 04:07 PM

1. 1shot1kill
2. InstantDeath
3. ScopedVictory

Hell if I know. I have no imagination. biggrin:

Simo Häyhä 04-25-2003 09:33 PM

Quote:

Originally Posted by MPowell1944
You didnt copy mine. Yours has to do with the localization.txt file, mine has to do with hud .urc files. Silly Simo. biggrin:

heh yeah i said that wrong.. my fault


damn edit oOo:

k-i-a 04-26-2003 02:27 AM

Ow yeah thank's for the name's!


All times are GMT -6. The time now is 11:06 AM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.