Author Topic: Help recoloring a weapon?  (Read 1471 times)

I'm recoloring a few things and renaming them, but I suck at scripting
Could someone show me how?
« Last Edit: September 17, 2013, 07:53:24 PM by Legoboss »

Recoloring has nothing to do with scripting. just change the small little color file's colors.

Renaming: Assuming that the package name is different from what you're editing, just Ctrl + F for uiName and change the value.
Recoloring: If you're doing an edit of the default gun, pushbroom, or various other weapons, you might not have to do much. Ctrl + F for colorShift, and if doColorShift is true, then change this line:
Code: [Select]
colorShiftColor = "r g b a";to your liking.

If doColorShift is false or missing, insert that line as well as the doColorShift one under the item datablock.

Recoloring has nothing to do with scripting. just change the small little color file's colors.
don't do this, people who already have the addon won't download the modified colors and it won't turn out good
and it will be inconsistent with wrongly named colors, people without download textures on will use the name of the color as it

Renaming: Assuming that the package name is different from what you're editing, just Ctrl + F for uiName and change the value.
Recoloring: If you're doing an edit of the default gun, pushbroom, or various other weapons, you might not have to do much. Ctrl + F for colorShift, and if doColorShift is true, then change this line:
Code: [Select]
colorShiftColor = "r g b a";to your liking.

If doColorShift is false or missing, insert that line as well as the doColorShift one under the item datablock.
Thanks, is there a way I can change an individual part of the items color?

Thanks, is there a way I can change an individual part of the items color?
Not unless you want to do what swollow said is a bad idea.

Wait, so do what TrisiantLuigi said, and NOT what Pyndul said?