Double Barrel Shotgun: Difference between revisions

From PZwiki
m (small edit to pros and cons.)
m (Distribution table update)
(39 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Weapons|Firearms}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=52}}
{{Page version|41.78.16}}
{{Testing|build=[[Build 41]]}}
{{Infobox item
{{Infobox weapon
|name=Double Barrel Shotgun
|display_name=Double Barrel Shotgun
|model=ShotgunDoublebarrel_Model.png
|name_colour=Weapon
|icon=ShotgunDoublebarrel.png
|name_text_colour=Weapon
|icon_name=Double Barrel Shotgun
|image=ShotgunDoublebarrel.png
|image_width=200px
|alternate_image=ShotgunDoublebarrelSawn.png
|alternate_name=Sawn-off Double Barrel Shotgun
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Weapon
Line 19: Line 15:
|ammo=Shotgun Shells
|ammo=Shotgun Shells
|clip_size=2
|clip_size=2
|sound_radius=200
|sound_radius=100
|recoil_delay=50
|recoil_delay=50
|reload_time=25
|reload_time=25
Line 25: Line 21:
<!--DAMAGE-->
<!--DAMAGE-->
|type=Gunshot
|type=Gunshot
|skill_type=Firearm
|min_range=0.61
|min_range=0.61
|max_range=9
|max_range=9
Line 33: Line 30:
|knockdown=8
|knockdown=8
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=item Double Barrel Shotgun
|item_id=Base.DoubleBarrelShotgun
}}A '''Double Barrel Shotgun''' is a firearm that only fires two shots. The double barrel shotgun can be attached to the character's back for quick access and weight reduction.
}}
A '''double barrel shotgun''' is a firearm that only fires two shots. The double barrel shotgun can be attached to the character's back for quick access and weight reduction.


==Usage==
==Usage==
The double barrel shotgun uses [[Shotgun Shells|shotgun shells]] as its ammunition, which fire pellets in a spread pattern. These pellets have the potential to kill multiple targets in a single shot. Due to this spread, the double barrel shotgun will generally kill zombies in one or two hits, regardless of the [[player|player's]] [[skill]]. The double barrel shotgun functions differently from the [[JS-2000 Shotgun]], the JS-2000 has a wider spread and fires an additional pellet, the double barrel is more accurate and has a more narrow spread. [[Shotgun Shells|Shotgun shells]] aren't required to be in the secondary slot and can remain in the player's inventory.
The double barrel shotgun uses [[Shotgun Shells|shotgun shells]] as its ammunition and fires 5 pellets per shot in a spread pattern. These pellets have the potential to kill multiple targets in a single shot. Due to the spread, the double barrel shotgun will generally kill zombies in one or two shots, regardless of the [[player|player's]] [[skill]]. The closer the target is to the player, the more damage that will be inflicted. [[Shotgun Shells|Shotgun shells]] aren't required to be in the secondary slot and can remain in the player's inventory.
{{pros-cons
{{Pros-cons
<!-- #PROS# - below this line -->
|pros1 = Capable of hitting and killing several targets in one shot.
|pros1 = Capable of hitting and killing several targets in one shot.
|pros2 = Higher accuracy and a more narrow spread than the JS-2000 shotgun. Which means it's easier to clear cramped choke-points like most hallways or an alley.
|pros2 = Higher accuracy and a more narrow spread than the JS-2000 shotgun. Which means it's easier to clear cramped choke-points like most hallways or an alley.
Line 48: Line 45:
|pros7 = Gun and ammo aren't too hard to find.
|pros7 = Gun and ammo aren't too hard to find.
|pros8 = Loudness can be used to your advantage, if you want to lure a large amount of zombies out of an area.
|pros8 = Loudness can be used to your advantage, if you want to lure a large amount of zombies out of an area.
<!-- #CONS# - below this line -->
|cons1 = One of the loudest firearms in the game, can be heard by [[zombie]]s from up to 100 tiles away.
|cons1 = One of the loudest firearms in the game, can be heard by [[zombie]]s from up to 200 tiles away.
|cons2 = Lowest bullet capacity of any firearm in the game.
|cons2 = Lowest bullet capacity of any firearm in the game.
|cons3 = Fires less pellets than the JS-2000 shotgun(5 to 6)
|cons3 = Only one attachment type.
|cons4 = Only one attachment type.
|cons4 = Heavy, takes up the back attachment slot which can inconvenience survivors using a melee weapon that needs to be attached to their back.
|cons5 = Heavy, takes up the back attachment slot which can inconvenience survivors using a melee weapon that needs to be attached to their back.
}}
}}
===Reloading===
===Reloading===
Double barrel shotguns can hold 2 shells. Like other firearms, the shotgun can be reloaded with {{key|R}}. To avoid using the contextual menu in the inventory, the shotgun can be reloaded or unloaded by holding {{key|R}} and selecting the desired action.  
Double barrel shotguns can hold 2 shells. Like other firearms, the shotgun can be reloaded with {{key|R}}. To avoid using the contextual menu in the inventory, the shotgun can be reloaded or unloaded by holding {{key|R}} and selecting the desired action.
===Special Ability: Drive-by Shooting===
 
===Drive-by shooting===
All guns have the ability to shoot from vehicles. First press {{key|V}}, which opens the vehicle radial menu and open your window. Aim and fire. Drivers and passengers are all able to use this ability at the cost of reduced accuracy while the vehicle is moving. The driver cannot control the vehicle while aiming, it's recommended to cruise at a safe speed and make sure there are no obstacles that can cause a crash while you're driving and shooting.
All guns have the ability to shoot from vehicles. First press {{key|V}}, which opens the vehicle radial menu and open your window. Aim and fire. Drivers and passengers are all able to use this ability at the cost of reduced accuracy while the vehicle is moving. The driver cannot control the vehicle while aiming, it's recommended to cruise at a safe speed and make sure there are no obstacles that can cause a crash while you're driving and shooting.
===Attachments===
===Attachments===
There is only one attachment that works with the double barrel shotgun.
There are currently no attachments that works with the double barrel shotgun.
*[[Ammo Straps]] bandolier: Increased reload speed.
 
==Condition==
==Condition==
The double barrel shotgun is a [[Skills#Firearm|firearm]], therefore being influenced by the firearm skills: aiming and reloading. It has a maximum condition of 10 and will be damaged depending on the player's aiming skill. The chance of losing durability is: <code>1 in (60 + aiming x 2)</code>.  
The double barrel shotgun is a [[Skills#Firearm|firearm]], therefore being influenced by the firearm skills: aiming and reloading. It has a maximum condition of 10 and will be damaged depending on the player's aiming skill. The chance of losing durability is: <code>1 in (60 + aiming x 2)</code>.
=== Repairing ===
 
Double barrel shotgun requires a minimum of 2 aiming, and requires another double barrel shotgun to repair. The aiming skill determines how much will be repaired and chance of being successful.  
===Repairing===
Double barrel shotgun requires a minimum of 2 aiming, and requires another double barrel shotgun to repair. The aiming skill determines how much will be repaired and chance of being successful.


It should be noted that repairing the Double Barrel shotgun makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
It should be noted that repairing the Double Barrel shotgun makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|DoubleBarrelShotgun|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>DoubleBarrelShotgun distribution
        <span class="mw-customtoggle-togglebox-DoubleBarrelShotgun" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-DoubleBarrelShotgun">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | all
    | {{ll|Bag_DuffelBagTINT}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|Bag_ShotgunDblBag}}
    | 1
    | 200.0
    |-
    | all
    | {{ll|Bag_SurvivorBag}}
    | 2
    | 8.0
    |-
    | all
    | {{ll|wardrobe}}
    | 4
    | 0.01
    |-
    | armysurplus
    | {{ll|displaycase}}
    | 4
    | 8.0
    |-
    | changeroom
    | {{ll|locker}}
    | 4
    | 0.02
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 0.01
    |-
    | closet
    | {{ll|metal_shelves}}
    | 4
    | 0.01
    |-
    | druglab
    | {{ll|metal_shelves}}
    | 4
    | 8.0
    |-
    | drugshack
    | {{ll|crate}}
    | 4
    | 8.0
    |-
    | garagestorage
    | {{ll|locker}}
    | 4
    | 8.0
    |-
    | pawnshop
    | {{ll|displaycase}}
    | 4
    | 8.0
    |-
    | pawnshopoffice
    | {{ll|locker}}
    | 4
    | 8.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-DoubleBarrelShotgun" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|DoubleBarrelShotgun|41.78.16-->
===Buildings===
===Buildings===
Double Barrel shotguns can usually be found in various containers and cabinets, including crates and wardrobes. Shotgun shells can be found in kitchen cabinets, warehouses or wardrobes. The best locations to find a double barrel would be police departments, gun-shops such as the one located in [[West Point]] and barricaded buildings.
Double Barrel shotguns can usually be found in various containers and cabinets, including crates and wardrobes. Shotgun shells can be found in kitchen cabinets, warehouses, or wardrobes. The best locations to find a double barrel would be police departments, gun-shops such as the one located in [[West Point]] and barricaded buildings.
 
===Corpses===
===Corpses===
Shotguns can also be found on the corpses of suicide victims. Suicide victims are usually found inside of bathrooms inside of houses.
Shotguns can also be found on the corpses of suicide victims. Suicide victims are usually found inside of bathrooms inside of houses.
===Zombies===
===Zombies===
Double barrel shotguns can sometimes be found attached to the backs of police officer zombies. Police zombies can usually be found at police departments, police barricade vehicle stories, crashed police cars and occasionally in a crowd of zombies.  
Double barrel shotguns can sometimes be found attached to the backs of police officer zombies. Police zombies can usually be found at police departments, police barricade vehicle stories, crashed police cars and occasionally in a crowd of zombies.
 
==Gallery==
==Gallery==
<gallery>
<gallery>
File:HoldingDoubleBarrelShotgun.jpg|Survivor holding the double barrel shotgun.
HoldingDoubleBarrelShotgun.jpg|Survivor holding the double barrel shotgun
</gallery>
</gallery>
==Trivia==
==Trivia==
*For some reason, the double barrel shotgun doesn't fire two shots rapidly. There is a brief delay between shots, similar to how the JS-2000 functions. It's currently unknown whether this is a bug, an oversight or a balancing decision.
*For some reason, the double barrel shotgun doesn't fire two shots rapidly. There is a brief delay between shots, similar to how the JS-2000 functions. It's currently unknown whether this is a bug, an oversight, or a balancing decision.
== Code ==
 
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
==Code==
{{Retrieved|version=41|incver=52}}
{{CodeBox
<pre> tem DoubleBarrelShotgun
| {{CodeSnip
  | lang = java
  | line = true
  | start = 5375
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item DoubleBarrelShotgun
     {
     {
        DisplayCategory = Weapon,
         ImpactSound = null,
         ImpactSound = null,
         MaxRange = 9,
         MaxRange = 9,
Line 117: Line 220:
BringToBearSound = DoubleBarrelShotgunBringToBear,
BringToBearSound = DoubleBarrelShotgunBringToBear,
         SwingSound = DoubleBarrelShotgunShoot,
         SwingSound = DoubleBarrelShotgunShoot,
        HitSound = BulletHitBody,
ClickSound = DoubleBarrelShotgunJam,
ClickSound = DoubleBarrelShotgunJam,
         SoundRadius = 200,
         SoundRadius = 100,
         MinDamage = 2,
         MinDamage = 2,
         MaxDamage = 2.7,
         MaxDamage = 2.7,
Line 158: Line 262:
         StopPower = 40,
         StopPower = 40,
     }
     }
</pre>
}}
}}


==See also==
==See also==
* [[JS-2000 Shotgun]]
*[[JS-2000 Shotgun]]
* [[Sawed-off Double Barrel Shotgun]]
*[[Sawed-off Double Barrel Shotgun]]
* [[Sawed-off JS-2000 Shotgun]]
*[[Sawed-off JS-2000 Shotgun]]


{{Navbox/Weapons}}
{{Navbox items|firearms}}
{{Navbox_weapons}}

Revision as of 15:22, 24 April 2024

Project ZomboidItemsWeaponsFirearmsDouble Barrel Shotgun
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Double Barrel Shotgun
ShotgunDoublebarrel Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
4
Equipped
Two-handed
Slot attached
Back
Skill
Ammunition
Magazine size
2
Properties
Max condition
10
Performance
Damage
2–2.7
Range
0.61–9
Accuracy
80
Recoil
50
Noise radius
100
Knockback
0.8
Knockdown
8
Aiming time
20
Reload time
25
Technical
Item ID
Base.DoubleBarrelShotgun

A double barrel shotgun is a firearm that only fires two shots. The double barrel shotgun can be attached to the character's back for quick access and weight reduction.

Usage

The double barrel shotgun uses shotgun shells as its ammunition and fires 5 pellets per shot in a spread pattern. These pellets have the potential to kill multiple targets in a single shot. Due to the spread, the double barrel shotgun will generally kill zombies in one or two shots, regardless of the player's skill. The closer the target is to the player, the more damage that will be inflicted. Shotgun shells aren't required to be in the secondary slot and can remain in the player's inventory.

Pros Cons
  • Capable of hitting and killing several targets in one shot.
  • Higher accuracy and a more narrow spread than the JS-2000 shotgun. Which means it's easier to clear cramped choke-points like most hallways or an alley.
  • Suitable for survivors with a low aiming skill.
  • Fast reload speed.
  • Incapable of jamming.
  • Doesn't require magazines to operate.
  • Gun and ammo aren't too hard to find.
  • Loudness can be used to your advantage, if you want to lure a large amount of zombies out of an area.
  • One of the loudest firearms in the game, can be heard by zombies from up to 100 tiles away.
  • Lowest bullet capacity of any firearm in the game.
  • Only one attachment type.
  • Heavy, takes up the back attachment slot which can inconvenience survivors using a melee weapon that needs to be attached to their back.

Reloading

Double barrel shotguns can hold 2 shells. Like other firearms, the shotgun can be reloaded with R. To avoid using the contextual menu in the inventory, the shotgun can be reloaded or unloaded by holding R and selecting the desired action.

Drive-by shooting

All guns have the ability to shoot from vehicles. First press V, which opens the vehicle radial menu and open your window. Aim and fire. Drivers and passengers are all able to use this ability at the cost of reduced accuracy while the vehicle is moving. The driver cannot control the vehicle while aiming, it's recommended to cruise at a safe speed and make sure there are no obstacles that can cause a crash while you're driving and shooting.

Attachments

There are currently no attachments that works with the double barrel shotgun.

Condition

The double barrel shotgun is a firearm, therefore being influenced by the firearm skills: aiming and reloading. It has a maximum condition of 10 and will be damaged depending on the player's aiming skill. The chance of losing durability is: 1 in (60 + aiming x 2).

Repairing

Double barrel shotgun requires a minimum of 2 aiming, and requires another double barrel shotgun to repair. The aiming skill determines how much will be repaired and chance of being successful.

It should be noted that repairing the Double Barrel shotgun makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.

Distribution

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

DoubleBarrelShotgun distribution Show / Hide
Containers
Building / Room Container Rolls Chance
SafehouseLoot counter 4 10.0
all Bag_DuffelBagTINT 4 8.0
all Bag_ShotgunDblBag 1 200.0
all Bag_SurvivorBag 2 8.0
all wardrobe 4 0.01
armysurplus displaycase 4 8.0
changeroom locker 4 0.02
closet crate 4 0.01
closet metal_shelves 4 0.01
druglab metal_shelves 4 8.0
drugshack crate 4 8.0
garagestorage locker 4 8.0
pawnshop displaycase 4 8.0
pawnshopoffice locker 4 8.0

Buildings

Double Barrel shotguns can usually be found in various containers and cabinets, including crates and wardrobes. Shotgun shells can be found in kitchen cabinets, warehouses, or wardrobes. The best locations to find a double barrel would be police departments, gun-shops such as the one located in West Point and barricaded buildings.

Corpses

Shotguns can also be found on the corpses of suicide victims. Suicide victims are usually found inside of bathrooms inside of houses.

Zombies

Double barrel shotguns can sometimes be found attached to the backs of police officer zombies. Police zombies can usually be found at police departments, police barricade vehicle stories, crashed police cars and occasionally in a crowd of zombies.

Gallery

Trivia

  • For some reason, the double barrel shotgun doesn't fire two shots rapidly. There is a brief delay between shots, similar to how the JS-2000 functions. It's currently unknown whether this is a bug, an oversight, or a balancing decision.

Code

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

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item DoubleBarrelShotgun
    {
        DisplayCategory = Weapon,
        ImpactSound	=	null,
        MaxRange	=	9,
        RangeFalloff	=	TRUE,
        WeaponSprite	=	DoubleBarrelShotgun,
        SoundVolume	=	200,
        MinAngle	=	0.9,
        Type	=	Weapon,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        ProjectileCount	=	5,
        ConditionLowerChanceOneIn	=	60,
        Weight	=	4,
        SplatNumber	=	5,
        PushBackMod	=	0.8,
        SubCategory	=	Firearm,
        AimingMod	=	2,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	4,
        IsAimedHandWeapon	=	TRUE,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	30,
        UseEndurance	=	FALSE,
        DisplayName	=	Double Barrel Shotgun,
        MinRange	=	0.67,
        SwingTime	=	2,
        AngleFalloff	=	TRUE,
        MultipleHitConditionAffected	=	FALSE,
		BringToBearSound = DoubleBarrelShotgunBringToBear,
        SwingSound	=	DoubleBarrelShotgunShoot,
        HitSound = BulletHitBody,
		ClickSound = DoubleBarrelShotgunJam,
        SoundRadius	=	100,
        MinDamage	=	2,
        MaxDamage	=	2.7,
        KnockdownMod	=	8,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	ShotgunDoublebarrel,
        RunAnim	=	Run_Weapon2,
        CriticalChance = 80,
        CritDmgMultiplier = 2,
        AimingPerkCritModifier = 4,
        HitChance = 80,
        AimingPerkHitChanceModifier = 5,
        RecoilDelay = 50,
        SoundGain = 2,
        ReloadTime = 25,
        AimingTime = 20,
        RequiresEquippedBothHands = TRUE,
        BreakSound  =   DoubleBarrelShotgunBreak,
        MetalValue = 45,
        TwoHandWeapon = TRUE,
        AmmoBox = ShotgunShellsBox,
        MaxAmmo = 2,
		EquipSound = DoubleBarrelShotgunEquip,
		UnequipSound = DoubleBarrelShotgunUnEquip,
        InsertAmmoSound = DoubleBarrelShotgunInsertAmmo,
        EjectAmmoSound = DoubleBarrelShotgunEjectAmmo,
		InsertAmmoStartSound = DoubleBarrelShotgunInsertAmmoStart,
		InsertAmmoStopSound = DoubleBarrelShotgunInsertAmmoStop,
		EjectAmmoStartSound = DoubleBarrelShotgunEjectAmmoStart,
		EjectAmmoStopSound = DoubleBarrelShotgunEjectAmmoStop,
        ShellFallSound = DoubleBarrelShotgunCartridgeFall,
        AmmoType = Base.ShotgunShells,
        WeaponReloadType = doublebarrelshotgun,
        JamGunChance = 0,
        AttachmentType = Rifle,
        InsertAllBulletsReload = TRUE,
        RackAfterShoot = FALSE,
        haveChamber = FALSE,
        StopPower = 40,
    }

See also