Gear Assets

The ItemGearAsset class is a base class that other classes are derived from. It is unusable on its own.

Game Data File

The ItemGearAsset class inherits properties from the ItemClothingAsset class.

Properties

Property Name

Type

Default Value

Beard

flag

Beard_Override

string

Beard_Override_NonGoldColor

Color

Hair

flag

Hair_Override

string

Hair_Override_NonGoldColor

Color

Some inherited properties behave differently when used by this class. Notably, these are:

  1. Beard_Visible (from ItemClothingAsset). This property’s default behavior is altered. Refer to this class’s Beard property instead.
  2. Hair_Visible (from ItemClothingAsset). This property’s default behavior is altered. Refer to this class’s Hair property instead.

Property Descriptions

Beard flag

When this flag is not included, the parent class’s Beard_Visible property is set to false. This flag must be included if the character’s facial hair should be visible.


Beard_Override string

When this property is set, the game will look for a child Mesh Renderer component in Unity that has the same name as this property’s value. If a matching Mesh Renderer is found, its material will be changed to the character’s hbeardair material. This property is used by certain cosmetics that entirely cover the character’s beard, so that the player’s selected beard color can still be used for customization.


Beard_Override_NonGoldColor Color

For items using BeardOverride, the beard material color will default to this for players without the Gold Upgrade. (Since the Gold Upgrade is required for full RGB control, the default beard colors may look boring for items that cover the beard but aren’t beards in of themselves.) Also used as the color in the cosmetic preview.


Hair flag

When this flag is not included, the parent class’s Hair_Visible property is set to false. This flag must be included if the character’s hair should be visible.


Hair_Override string

When this property is set, the game will look for a child Mesh Renderer component in Unity that has the same name as this property’s value. If a matching Mesh Renderer is found, its material will be changed to the character’s hair material. This property is used by certain cosmetics that entirely cover the character’s hair, so that the player’s selected hair color can still be used for customization.


Hair_Override_NonGoldColor Color

For items using hairOverride, the hair material color will default to this for players without the Gold Upgrade. (Since the Gold Upgrade is required for full RGB control, the default hair colors may look boring for items that cover the hair but aren’t hair in of themselves.) Also used as the color in the cosmetic preview.