![]() |
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. |
this actually works well. I used it to make my M2 grenades into "tiny nukes". thanks powell (and whoever made this a sticky, G?)
|
yea i did it wink: any good tutorial deserves some show-time biggrin:
|
Thanks a lot i change my weapon names now. Just they are now so cool! evil: zooka: M16:
|
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.
|
Lol yeah, i think it's cool being able to make your own skins and stuff like that hehehehehehehe biggrin:
|
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. |
Well i need some name's for my weapon's(all mine were s**t)
Any one got any idea's? bigzooka: |
lol...... oOo:
|
idea? n00b t00b
bigzooka: |
You didnt copy mine. Yours has to do with the localization.txt file, mine has to do with hud .urc files. Silly Simo. biggrin:
|
I just want some good idea's for a sniper rifle. {Please can u help?
|
1. 1shot1kill
2. InstantDeath 3. ScopedVictory Hell if I know. I have no imagination. biggrin: |
Quote:
damn edit oOo: |
Ow yeah thank's for the name's!
|
the ammo.urc file is calling to the name in your weapons .tik file
Just edit this line in your weapons .tik file: classname Weapon weapontype mg name "BAR" <--- right there just change that to your weapons name and then include your new weapons hud_ammo_.urc file example for a M3A1 greasegun m3a1.tik file: classname Weapon weapontype smg name "M3A1" then make a .urc file named hud_ammo_m3a1.urc and edit the toplinein the urc menu "hud_ammo_M3A1" |
Yes, while this does create its own .urc file, the game then dosen't recognize the gun and does not draw the hand or gun model. How would we remedy this situation?
|
just pour some tussin on it! itll be fixed in no time!
|
Damn you DeL, you drunk monkey! Stay outta my thread! lmao jk. biggrin:
|
Yeah i changed my sniper to one shot etc
|
I tried changing the name Mpowell's way but instad of the name being different there's no name at all it is blank .. do you know how to fix this ? i'll paste the line from the .urc
//================================================== // Weapon Name Display resource Label { name "Famas" //rect 0 95 200 22 rect 0 207 200 22 fgcolor 0.00 0.00 0.00 0.00 bgcolor 0.00 0.00 0.00 0.00 borderstyle "NONE" textalign right font facfont-20 } end. |
wow, weird. I have no idea what to say. But try and try again or something like that, im tired to im a bit oOo: today
|
I already fixed this for him over MSN.
|
Yeah lol is still doesn't work lol
|
Weird again. But have you deleted anything in the file maybe by mistake?
|
Well I sent you the exact thing I been doing, so its on your end.
|
Maybe his pc is oOo: and sucks
|
what program to u open the .urc's with?
~Apev8 |
notepad
|
or WORDPAD lol!
|
Thank you Powell and RUNGSI oOo:
|
omg how do u guys figure it out ssssooooeasilly i cant even get hte first step down let alone the whole thing
|
Its a simple step by step tutorial. What is so hard about that?
|
All times are GMT -6. The time now is 04:47 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.