Glasses Assets
Glasses can be worn by players and zombies.
This inherits the GearAsset class.
Item Asset Properties
GUID 32-digit hexadecimal: Refer to GUID documentation.
Type enum (Glasses)
Useable enum (Clothing)
ID uint16: Must be a unique identifier.
Glasses Asset Properties
Blindfold flag: Specified if glasses should blacken the player’s screen.
Nightvision_Color color: Overrides the default color when using Vision Military. When using the legacy color parsing, the _R, _G, and _B keys are unsigned bytes. The default value for Vision Civilian is equivalent to #666666. The default value for Vision Military is equivalent to #507814.
Nightvision_Fog_Intensity float: Intensity of fog while nightvision is active. Default value for Vision Civilian is 0.5. Default value for Vision Military is 0.25.
Vision enum (None, Military, Civilian, Headlamp): Type of unique lighting vision effect to use. Defaults to “None”, which has no vision effect. Use the “Military” enumerator to use its default nightvision configuration, or when intending to assign a custom nightvision color via the color component properties. Use “Civilian” to use its default nightvision configuration. Use “Headlamp” to enable a toggleable light source, and allows for using PlayerSpotLightConfig properties.