Visor

From PZwiki
Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Visor
Hat VisorBlack model.png
Hat VisorRed model.png
Hat Visor White model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Equipped
Hat
Technical
Item ID
Base.Hat_VisorBlack
Base.Hat_VisorRed
Base.Hat_Visor_WhiteTINT

A visor is an item of clothing that provides no protection or insulation.

Usage

A visor provides no insulation or protection, but it can be used a cosmetic item.

Body location

Protection Hat.png
  • Head

Distribution

The loot distributions can be found in the table(s) below.

Hat_VisorBlack distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_GolfBag Bag_GolfBag 1.61%
clothingstorage crate 19.27%
clothingstorage metal_shelves 19.27%
clothingstore counter 15.1%
clothingstore crate 19.27%
clothingstore metal_shelves 19.27%
departmentstorage crate 19.27%
departmentstorage metal_shelves 19.27%
shoestore counter 15.1%
sportstorage counter 15.1%
sportstore counter 15.1%
Vehicles
Type Container Effective chance
Clothing Trunk 3.51%

A visor can be found in clothing stores, inside golf bags, and on certain zombies.

Code

Visor (Black) Visor (Black)

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt

Retrieved: Build 41.78.16
item Hat_VisorBlack
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Visor,
        ClothingItem = Hat_VisorBlack,
        BodyLocation = Hat,
        Icon = HatVisorBlack,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Weight = 0.3,
    }

Visor (Red) Visor (Red)

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt

Retrieved: Build 41.78.16
item Hat_VisorRed
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Visor,
        ClothingItem = Hat_VisorRed,
        BodyLocation = Hat,
        Icon = HatVisorRed,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Weight = 0.3,
    }

Visor (Colored) Visor (Colored)

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\clothing\clothing_hats.txt

Retrieved: Build 41.78.16
item Hat_Visor_WhiteTINT
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Visor,
        ClothingItem = Hat_Visor_WhiteTINT,
        BodyLocation = Hat,
        Icon = HatVisorWhite,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Weight = 0.3,
    }

See also