Baseball Cap

From PZwiki
Project ZomboidItemsClothingHeadwearHatsBaseball Cap
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.
Baseball Cap
BaseballCapBlue Model.png
BaseballCapGreen Model.png
BaseballCapRed Model.png
BaseballCapCamo Model.png
BaseballCapBlueKY Model.png
BaseballCapGreenKY Model.png
BaseballCapRedKY Model.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Equipped
Hat
Properties
Insulation
10%
Technical
Item ID
Base.Hat_BaseballCap
Base.Hat_BaseballCap_Reverse
Base.Hat_BaseballCapKY
Base.Hat_BaseballCapKY_Reverse
Base.Hat_BaseballCapKY_Red
Base.Hat_BaseballCapBlue
Base.Hat_BaseballCapBlue_Reverse
Base.Hat_BaseballCapRed
Base.Hat_BaseballCapRed_Reverse
Base.Hat_BaseballCapGreen
Base.Hat_BaseballCapGreen_Reverse
Base.Hat_BaseballCapArmy

The baseball cap is a hat with three different color variations: Blue, Green and Red. The baseball cap can be equipped in the character creation menu.

Usage

Baseball caps are best suited to be worn during warm temperatures due to it providing a very minor amount of insulation. Baseball caps have a very high chance of knocked off of the wearer's head when they're attacked.

Baseball caps can alternatively be worn as a backwards cap if the wearer selects the Visor Backward option in their inventory.

Distribution

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

Hat_BaseballCap 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_DuffelBag Bag_DuffelBag 1.01%
Bag_DuffelBagTINT Bag_DuffelBagTINT 1.01%
all locker 1.87%
all wardrobe 1.87%
baseballstore shelves 23.28%
bathroom locker 1.87%
bedroom wardrobe 1.87%
changeroom locker 1.87%
closet metal_shelves 1.87%
clothingstorage crate 19.27%
clothingstorage metal_shelves 19.27%
clothingstore counter 23.28%
clothingstore crate 19.27%
clothingstore metal_shelves 19.27%
daycare wardrobe 1.87%
departmentstorage crate 19.27%
departmentstorage metal_shelves 19.27%
hall locker 1.87%
livingroom wardrobe 1.87%
shoestore counter 23.28%
sportstorage counter 23.28%
sportstore counter 23.28%
Vehicles
Type Container Effective chance
Clothing Trunk 3.51%

Baseball caps can be found inside of bedroom wardrobes, corpses and on zombies.

Body location

Protection Hat.png
  • Head

Code

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_BaseballCap
	{
	    DisplayCategory = Accessory,
		Type = Clothing,
		DisplayName = Baseball Cap,
		ClothingItem = Hat_BaseballCap,
		ClothingItemExtra = Hat_BaseballCap_Reverse,
        ClothingItemExtraOption = ReverseCap,
        clothingExtraSubmenu = ForwardCap,
		BodyLocation = Hat,
		IconsForTexture = BaseballCapRed;BaseballCapGreen;BaseballCapBlue,
		CanHaveHoles = false,
		ChanceToFall = 60,
		Insulation = 0.10,
		Weight = 0.5,
	}

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

Retrieved: Build 41.78.16
item Hat_BaseballCapKY
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = KY Baseball Cap,
        ClothingItem = Hat_BaseballCapKY,
        ClothingItemExtra = Hat_BaseballCapKY_Reverse,
        ClothingItemExtraOption = ReverseCap,
        clothingExtraSubmenu = ForwardCap,
        BodyLocation = Hat,
        IconsForTexture = BaseballCapRed;BaseballCapGreen;BaseballCapBlue,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.5,
    }

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

Retrieved: Build 41.78.16
item Hat_BaseballCapKY_Reverse
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = KY Baseball Cap,
        ClothingItem = Hat_BaseballCapKY_Reverse,
        ClothingItemExtra = Hat_BaseballCapKY,
        ClothingItemExtraOption = ForwardCap,
        clothingExtraSubmenu = ReverseCap,
        BodyLocation = Hat,
        IconsForTexture = BaseballCapRed;BaseballCapGreen;BaseballCapBlue,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.5,
    }

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

Retrieved: Build 41.78.16
item Hat_BaseballCapKY_Red
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = KY Baseball Cap,
        ClothingItem = Hat_BaseballCapKY_Red,
        ClothingItemExtra = Hat_BaseballCapKY_Reverse,
        ClothingItemExtraOption = ReverseCap,
        clothingExtraSubmenu = ForwardCap,
        BodyLocation = Hat,
        Icon = BaseballCapRed,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.15,
        Weight = 0.5,
    }

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

Retrieved: Build 41.78.16
item Hat_BaseballCapBlue
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Baseball Cap,
        ClothingItem = Hat_BaseballCapBlue,
        ClothingItemExtra = Hat_BaseballCapBlue_Reverse,
        ClothingItemExtraOption = ReverseCap,
        clothingExtraSubmenu = ForwardCap,
        BodyLocation = Hat,
        Icon = BaseballCapBlue,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.5,
    }

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

Retrieved: Build 41.78.16
item Hat_BaseballCapBlue_Reverse
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Baseball Cap,
        ClothingItem = Hat_BaseballCapBlue_Reverse,
        ClothingItemExtra = Hat_BaseballCapBlue,
        ClothingItemExtraOption = ForwardCap,
        clothingExtraSubmenu = ReverseCap,
        BodyLocation = Hat,
        Icon = BaseballCapBlue,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.5,
    }

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

Retrieved: Build 41.78.16
item Hat_BaseballCapRed
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Baseball Cap,
        ClothingItem = Hat_BaseballCapRed,
        ClothingItemExtra = Hat_BaseballCapRed_Reverse,
        ClothingItemExtraOption = ReverseCap,
        clothingExtraSubmenu = ForwardCap,
        BodyLocation = Hat,
        Icon = BaseballCapRed,
        CanHaveHoles = false,
        ChanceToFall = 80,
        Insulation = 0.10,
        Weight = 0.5,
    }

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

Retrieved: Build 41.78.16
item Hat_BaseballCapRed_Reverse
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Baseball Cap,
        ClothingItem = Hat_BaseballCapRed_Reverse,
        ClothingItemExtra = Hat_BaseballCapRed,
        ClothingItemExtraOption = ForwardCap,
        clothingExtraSubmenu = ReverseCap,
        BodyLocation = Hat,
        Icon = BaseballCapRed,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.5,
    }

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

Retrieved: Build 41.78.16
item Hat_BaseballCapGreen
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Baseball Cap,
        ClothingItem = Hat_BaseballCapGreen,
        ClothingItemExtra = Hat_BaseballCapGreen_Reverse,
        ClothingItemExtraOption = ReverseCap,
        clothingExtraSubmenu = ForwardCap,
        BodyLocation = Hat,
        Icon = BaseballCapGreen,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.5,
    }

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

Retrieved: Build 41.78.16
item Hat_BaseballCapGreen_Reverse
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Baseball Cap,
        ClothingItem = Hat_BaseballCapGreen_Reverse,
        ClothingItemExtra = Hat_BaseballCapGreen,
        ClothingItemExtraOption = ForwardCap,
        clothingExtraSubmenu = ReverseCap,
        BodyLocation = Hat,
        Icon = BaseballCapGreen,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.5,
    }

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

Retrieved: Build 41.78.16
item Hat_BaseballCapArmy
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Army Baseball Cap,
        ClothingItem = Hat_BaseballCapArmy,
        ClothingItemExtra = Hat_BaseballCapArmy_Reverse,
        ClothingItemExtraOption = ReverseCap,
        clothingExtraSubmenu = ForwardCap,
        BodyLocation = Hat,
        Icon = BaseballHat_CamoGreen,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.5,
    }

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

Retrieved: Build 41.78.16
item Hat_BaseballCapArmy_Reverse
    {
        DisplayCategory = Accessory,
        Type = Clothing,
        DisplayName = Army Baseball Cap,
        ClothingItem = Hat_BaseballCapArmy_Reverse,
        ClothingItemExtra = Hat_BaseballCapArmy,
        ClothingItemExtraOption = ForwardCap,
        clothingExtraSubmenu = ReverseCap,
        BodyLocation = Hat,
        Icon = BaseballHat_CamoGreen,
        CanHaveHoles = false,
        ChanceToFall = 60,
        Insulation = 0.10,
        Weight = 0.5,
    }

See also