Blockland Forums > Suggestions & Requests

Help recoloring a weapon?

Pages: (1/2) > >>

Legoboss:

I'm recoloring a few things and renaming them, but I suck at scripting
Could someone show me how?

Pyndul:

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

TristanLuigi:

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: ---colorShiftColor = "r g b a";
--- End code ---
to your liking.

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

Swollow:


--- Quote from: Pyndul on September 16, 2013, 09:49:07 PM ---Recoloring has nothing to do with scripting. just change the small little color file's colors.

--- End quote ---
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

Legoboss:


--- Quote from: TristanLuigi on September 16, 2013, 09:55:19 PM ---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: ---colorShiftColor = "r g b a";
--- End code ---
to your liking.

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

--- End quote ---
Thanks, is there a way I can change an individual part of the items color?

Pages: (1/2) > >>

Go to full version