How To Change The Color Of A Crystal Item

How to change the color of a crystal item

Navigate to lua/wos/advswl/crafting/items and open the item you wish to edit

You need to find the "ITEM.OnEquip" value

What you need to do is edit "wep.UseColor" located within the "ITEM.OnEquip" value, if "wep.UseColor" is not already here, them add it. What you should have should look something like this:

 

ITEM.OnEquip = function( wep )

wep.UseColor = Color( 255, 0, 0 )

end

 

You need to edit the RGB value within "Color(255,0,0)", to easily choose an RGB color, use this link: https://www.google.com/search?q=color+picker

 

Example

This example sets the saber color to green (0,255,0)

 

ITEM.OnEquip = function( wep )

wep.UseColor = Color( 0, 255, 0 )

end

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Creating Your Own Item

How to create your own items   local ITEM = {}   ITEM.Name = "Enter Item Name"...

Change Max Inventory Slots

How to change the max inventory slots Navigate to...

Setting Blade Type

Setting blade type of weapon/item How to set the blade type of a weapon/item including...

Change Item Spawn Rates, And Data Saving Occurency

How to change loot spawn percentage/frequency, and inventory/crafting data saving Navigate to...

Enable/Disable Zhrom/Clone Adventures Pack

How to configure enabling/disabling extra content Navigate to...