Blockland Forums > Modification Help

Item Name Change

Pages: (1/4) > >>

Joffrey:

Okay, so I was wondering, how do you change the name of a weapon?

Is this the right area?


--- Code: ---uiName = "Classic A.Rifle";
--- End code ---


FFSO:

uiName refers to the name that it appears as in your inventory, I think you have to change more than just that for it to be fully changed...there should be an event name for the addon that you can change.

otto-san:

I'm pretty sure just changing the uiName works.

Joffrey:


--- Quote from: FFSO on December 20, 2011, 10:55:17 PM ---uiName refers to the name that it appears as in your inventory, I think you have to change more than just that for it to be fully changed...
--- End quote ---

Well, I looked at the file, and found that everyting else with the "Classic A. Rifle" name has to do with projectiles, damage, icons, etc.

Okay, so I'll try this. Hopefully I won't have to go deep into the script and do a mass overhaul just for a name rewrite.

FFSO:

if you're using notepad just use the replace function and replace the name of everything with yours

Pages: (1/4) > >>

Go to full version