Gun Case (large)

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
PlushSpiffo.pngThis article is about large gun case. For small gun case, see Gun Case.
Gun Case (large)
GuitarCase02 Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
1 (empty)
5.9 (full)
Equipped
One-handed
Properties
Capacity
7
Run speed
97% (disabled)
Technical
Item ID

A gun case (large) is a container item that can spawn with a firearm stored inside it.

Usage

The gun case (large) is a small (in capacity) container item that can be used to hold items. It has a low capacity and encumbrance reduction. It cannot be equipped on the player's back. It is mostly useful to find a weapon stored inside.

Types

The 'Gun Case (large)' can spawn as one of 5 variants (Not including the gun case (small) and it's variants). Each variant has its own gun type, and will only spawn with ammunition and magazines (where applicable) for that weapon type. All possible types are as follows:

Item ID Weapon Magazine Ammo type
Base.RifleCase1 MSR700 Rifle MSR700 Magazine .223 Round
Base.RifleCase2 MSR788 Rifle MSR788 Magazine .308 Round
Base.RifleCase3 M14 Rifle M14 Magazine .308 Round
Base.ShotgunCase1 JS-2000 Shotgun - Shotgun Shells
Base.ShotgunCase2 Double Barrel Shotgun - Shotgun Shells

Distribution

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

RifleCase1 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
all wardrobe 1.64%
bedroom wardrobe 1.64%
changeroom locker 1.65%
closet crate 1.64%
closet metal_shelves 1.64%
garagestorage crate 1.64%
garagestorage locker 3.51%
livingroom wardrobe 1.64%
storageunit crate 1.64%
Vehicles
Type Container Effective chance
Hunter Trunk 30.41%
RifleCase2 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
all wardrobe 1.63%
bedroom wardrobe 1.63%
changeroom locker 1.64%
closet crate 1.63%
closet metal_shelves 1.63%
garagestorage crate 1.63%
garagestorage locker 3.04%
livingroom wardrobe 1.63%
storageunit crate 1.63%
Vehicles
Type Container Effective chance
Hunter Trunk 12.41%
RifleCase3 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
all wardrobe 1.63%
bedroom wardrobe 1.63%
changeroom locker 1.63%
closet metal_shelves 1.63%
garagestorage locker 2.1%
livingroom wardrobe 1.63%
Vehicles
Type Container Effective chance
Hunter Trunk 6.41%
ShotgunCase1 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
all wardrobe 1.64%
bedroom wardrobe 1.64%
changeroom locker 1.65%
closet crate 1.64%
closet metal_shelves 1.64%
garagestorage crate 1.64%
garagestorage locker 3.51%
livingroom wardrobe 1.64%
storageunit crate 1.64%
Vehicles
Type Container Effective chance
Hunter Trunk 12.41%
Ranger Trunk 6.41%
ShotgunCase2 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
all wardrobe 1.64%
bedroom wardrobe 1.64%
changeroom locker 1.65%
closet crate 1.64%
closet metal_shelves 1.64%
garagestorage crate 1.64%
garagestorage locker 3.51%
livingroom wardrobe 1.64%
storageunit crate 1.64%
Vehicles
Type Container Effective chance
Hunter Trunk 6.41%
Ranger Trunk 5.21%

Code

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

Base.RifleCase1
Source: ProjectZomboid\media\scripts\newBags.txt

Retrieved: Build 41.78.16
item RifleCase1
    {
        DisplayCategory = Container,
        WeightReduction	=	20,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	7,
        DisplayName	=	Gun Case,
        Icon	=	GuitarCase02,
        RunSpeedModifier = 0.97,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        ReplaceInSecondHand = Bag_FlightCase_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_FlightCase_RHand holdingbagright,
        WorldStaticModel = GuitarCase_Ground,
    }

Base.RifleCase2
Source: ProjectZomboid\media\scripts\newBags.txt

Retrieved: Build 41.78.16
item RifleCase2
    {
        DisplayCategory = Container,
        WeightReduction	=	20,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	7,
        DisplayName	=	Gun Case,
        Icon	=	GuitarCase02,
        RunSpeedModifier = 0.97,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        ReplaceInSecondHand = Bag_FlightCase_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_FlightCase_RHand holdingbagright,
        WorldStaticModel = GuitarCase_Ground,
    }

Base.RifleCase3
Source: ProjectZomboid\media\scripts\newBags.txt

Retrieved: Build 41.78.16
item RifleCase3
    {
        DisplayCategory = Container,
        WeightReduction	=	20,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	7,
        DisplayName	=	Gun Case,
        Icon	=	GuitarCase02,
        RunSpeedModifier = 0.97,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        ReplaceInSecondHand = Bag_FlightCase_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_FlightCase_RHand holdingbagright,
        WorldStaticModel = GuitarCase_Ground,
    }

Base.ShotgunCase1
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item RevolverCase1
    {
        DisplayCategory = Container,
        WeightReduction	=	5,
        Weight	=	0.5,
        Type	=	Container,
        Capacity	=	4,
        DisplayName	=	Gun Case,
        Icon	=	PistolCase,
        RunSpeedModifier = 0.99,
        MetalValue = 15,
        ReplaceInSecondHand = Bag_PistolCase_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_PistolCase_RHand holdingbagright,
        WorldStaticModel = GunCase_Ground,
    }

Base.ShotgunCase2
Source: ProjectZomboid\media\scripts\newBags.txt

Retrieved: Build 41.78.16
item ShotgunCase2
    {
        DisplayCategory = Container,
        WeightReduction	=	20,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	7,
        DisplayName	=	Gun Case,
        Icon	=	GuitarCase02,
        RunSpeedModifier = 0.97,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        ReplaceInSecondHand = Bag_FlightCase_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_FlightCase_RHand holdingbagright,
        WorldStaticModel = GuitarCase_Ground,
    }

See also