Sawed-off Double Barrel Shotgun: Difference between revisions

From PZwiki
(Page contents largely auto-generated using ItemZed)
m (added ammo type)
 
(27 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<!-- This page has been auto-generated using ItemZed with a custom Lua script -->
{{Header|Project Zomboid|Items|Weapons|Firearms}}
{{Languages}}
{{Page version|41.78.16}}
{{Header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=68}}
{{Infobox item
{{Infobox weapon
|name=Sawed-off Double Barrel Shotgun
|display_name=Sawed-off Double Barrel Shotgun
|model=ShotgunDoubleBarrelSawn_Model.png
|image=ShotgunDoubleBarrelSawn_Model.png
|icon=ShotgunDoublebarrelSawn.png
|image_width=200px
|icon_name=Sawn Off Double Barrel Shotgun
|alternate_image=ShotgunDoublebarrel.png
|alternate_name=Sawn Off Double Barrel Shotgun
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Weapon
Line 16: Line 13:
|attachment_type=Rifle
|attachment_type=Rifle
<!--CHARACTERISTICS-->
<!--CHARACTERISTICS-->
|ammo=ShotgunShells
|ammo=Shotgun Shells
|clip_size=2
|clip_size=2
|sound_radius=100
|sound_radius=100
Line 36: Line 33:
|knockdown=8
|knockdown=8
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|ingredients=
|item_id=Base.DoubleBarrelShotgunSawnoff
|class_name=Base.DoubleBarrelShotgunSawnoff
}}
}}
A <b>sawed-off double barrel shotgun</b> is a firearm [[weapon]].
A '''sawed-off double barrel shotgun''' is a firearm [[weapon]].
 
==Usage==
==Usage==
===Weapon===
This weapon has less range than the double barrel shotgun, but is less encumbering.
This version has less range, but packs a bit more kick.  
 
===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.
 
===Breaking doors===
===Breaking doors===
It is very effective at bashing down [[Door|doors]], dealing 30 damage per hit.  
It is very effective at bashing down [[door]]s, dealing 30 damage per hit.
 
==Condition==
==Condition==
Below is an example of the chance of losing durability at different levels of [[Skills|maintenance]] and [[Skills|firearm]] levels.
Below is an example of the chance of losing durability at different levels of [[Skills|maintenance]] and [[Skills|firearm]] levels.
{{Durability weapon|60}}
{{Durability weapon|60}}
===Repairing===
 
Materials that can be used to repair the sawed-off double barrel shotgun, based on first time repairing. Repairing the sawed-off double barrel shotgun makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
<!-- {{Fixing weapon
|item=Sawed-off Double Barrel Shotgun
|woodglue=2
|woodgluerepairs=20
|woodgluechance=35
|woodwork=2
|ducttape=2
|ducttaperepairs=10
|ducttapechance=95
|glue=2
|gluerepairs=10
|gluechance=95
|scotchtape=4
|scotchtaperepairs=10
|scotchtapechance=95
}}-->
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|DoubleBarrelShotgunSawnoff|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>DoubleBarrelShotgunSawnoff distribution
        <span class="mw-customtoggle-togglebox-DoubleBarrelShotgunSawnoff" 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-DoubleBarrelShotgunSawnoff">
    <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
    |-
    | all
    | {{ll|Bag_ShotgunDblSawnoffBag}}
    | 1
    | 200.0
    |-
    | bar
    | {{ll|counter}}
    | 4
    | 0.1
    |-
    | druglab
    | {{ll|metal_shelves}}
    | 4
    | 8.0
    |-
    | drugshack
    | {{ll|crate}}
    | 4
    | 8.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-DoubleBarrelShotgunSawnoff" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|DoubleBarrelShotgunSawnoff|41.78.16-->
{{Stub|section=true}}
==Crafting==
==Crafting==
Can be crafted using a [[Double Barrel Shotgun|double barrel shotgun]] and a [[saw]].
Can be crafted using a [[Double Barrel Shotgun|double barrel shotgun]] and a [[saw]].
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting general|046|ing=2}}
|sawed-off_double_barrel_shotgun
|}
}}
<!-- ==Trivia== -->
 
==Gallery==
<gallery>
File:ShotgunDoublebarrel.png|Item icon
File:ShotgunDoubleBarrelSawn_Model.png|Item model
</gallery>
==Code==
==Code==
<b><i>From items_weapons.txt (Project Zomboid directory/media/scripts/)</i></b>
{{CodeBox
{{Retrieved|version=41|incver=68}}
| {{CodeSnip
<pre> item DoubleBarrelShotgunSawnoff
  | lang = java
  | line = true
  | start = 5451
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item DoubleBarrelShotgunSawnoff
     {
     {
         DisplayCategory = Weapon,
         DisplayCategory = Weapon,
Line 95: Line 123:
         ProjectileCount = 5,
         ProjectileCount = 5,
         ConditionLowerChanceOneIn = 60,
         ConditionLowerChanceOneIn = 60,
         Weight = 4,
         Weight = 3.5,
         SplatNumber = 5,
         SplatNumber = 5,
         PushBackMod = 0.8,
         PushBackMod = 0.8,
Line 113: Line 141:
         MultipleHitConditionAffected = FALSE,
         MultipleHitConditionAffected = FALSE,
         SwingSound = SawnOffDoubleBarrelShotgunShoot,
         SwingSound = SawnOffDoubleBarrelShotgunShoot,
ClickSound = SawnOffDoubleBarrelShotgunJam,
ClickSound = SawnOffDoubleBarrelShotgunJam,
         SoundRadius = 100,
         SoundRadius = 100,
         MinDamage = 2,
         MinDamage = 2,
Line 136: Line 164:
         AmmoBox = ShotgunShellsBox,
         AmmoBox = ShotgunShellsBox,
         MaxAmmo = 2,
         MaxAmmo = 2,
EquipSound = SawnOffDoubleBarrelShotgunEquip,
EquipSound = SawnOffDoubleBarrelShotgunEquip,
UnequipSound = SawnOffDoubleBarrelShotgunUnEquip,
UnequipSound = SawnOffDoubleBarrelShotgunUnEquip,
         InsertAmmoSound = SawnOffDoubleBarrelShotgunInsertAmmo,
         InsertAmmoSound = SawnOffDoubleBarrelShotgunInsertAmmo,
         EjectAmmoSound = SawnOffDoubleBarrelShotgunEjectAmmo,
         EjectAmmoSound = SawnOffDoubleBarrelShotgunEjectAmmo,
InsertAmmoStartSound = SawnOffDoubleBarrelShotgunInsertAmmoStart,
InsertAmmoStartSound = SawnOffDoubleBarrelShotgunInsertAmmoStart,
InsertAmmoStopSound = SawnOffDoubleBarrelShotgunInsertAmmoStop,
InsertAmmoStopSound = SawnOffDoubleBarrelShotgunInsertAmmoStop,
EjectAmmoStartSound = SawnOffDoubleBarrelShotgunEjectAmmoStart,
EjectAmmoStartSound = SawnOffDoubleBarrelShotgunEjectAmmoStart,
EjectAmmoStopSound = SawnOffDoubleBarrelShotgunEjectAmmoStop,
EjectAmmoStopSound = SawnOffDoubleBarrelShotgunEjectAmmoStop,
         ShellFallSound = SawnOffDoubleBarrelShotgunCartridgeFall,
         ShellFallSound = SawnOffDoubleBarrelShotgunCartridgeFall,
         AmmoType = Base.ShotgunShells,
         AmmoType = Base.ShotgunShells,
Line 153: Line 181:
         haveChamber = FALSE,
         haveChamber = FALSE,
         StopPower = 40,
         StopPower = 40,
     }</pre>
     }
}}
}}
 
==Trivia==
*In many places, sawing the barrel off a shotgun is illegal due to firearm restrictions and safety concerns. Specifically, owning a [https://en.wikipedia.org/wiki/Sawed-off%20shotgun sawed-off shotgun] without certain permissions may be in violation of the law. Good thing all the cops are zombified.
 
==See also==
==See also==
* [[JS-2000 Shotgun]]
*[[JS-2000 Shotgun]]
* [[Double Barrel Shotgun]]
*[[Double Barrel Shotgun]]
* [[Sawed-off JS-2000 Shotgun]]
*[[Sawed-off JS-2000 Shotgun]]


{{Navbox weapons}}
{{Navbox items|firearms}}
{{clear}}

Latest revision as of 15:05, 27 April 2024

Project ZomboidItemsWeaponsFirearmsSawed-off Double 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]
Sawed-off Double Barrel Shotgun
ShotgunDoubleBarrelSawn 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
Door damage
30
Range
0.67–8
Accuracy
80
Recoil
50
Noise radius
100
Knockback
0.8
Knockdown
8
Aiming time
20
Reload time
25
Crit chance
80%
Technical
Item ID
Base.DoubleBarrelShotgunSawnoff

A sawed-off double barrel shotgun is a firearm weapon.

Usage

This weapon has less range than the double barrel shotgun, but is less encumbering.

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.

Breaking doors

It is very effective at bashing down doors, dealing 30 damage per hit.

Condition

Below is an example of the chance of losing durability at different levels of maintenance and firearm levels.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Durability lower chance
0 0 1/60 (2%)
0 4 1/62 (2%)
0 8 1/64 (2%)
4 0 1/64 (2%)
8 0 1/68 (1%)
4 4 1/66 (2%)
4 8 1/68 (1%)
8 8 1/72 (1%)
10 10 1/74 (1%)

Distribution

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

DoubleBarrelShotgunSawnoff distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Bag_ShotgunDblSawnoffBag 1 200.0
bar counter 4 0.1
druglab metal_shelves 4 8.0
drugshack crate 4 8.0
Notebook.png
This section may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.

Crafting

Can be crafted using a double barrel shotgun and a saw.

Product Ingredients Tools Requirements Workstation XP
ShotgunDoublebarrel.png
Sawed-off Double Barrel Shotgun
ShotgunDoublebarrel.png Double Barrel Shotgun ×1
Handsaw.png
Saw (tag)
none none none

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 DoubleBarrelShotgunSawnoff
    {
        DisplayCategory = Weapon,
        ImpactSound	=	null,
        MaxRange	=	8,
        RangeFalloff	=	TRUE,
        WeaponSprite	=	ShotgunDoubleBarrelSawn,
        SoundVolume	=	200,
        MinAngle	=	0.657,
        Type	=	Weapon,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        ProjectileCount	=	5,
        ConditionLowerChanceOneIn	=	60,
        Weight	=	3.5,
        SplatNumber	=	5,
        PushBackMod	=	0.8,
        SubCategory	=	Firearm,
        AimingMod	=	2,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	4,
        IsAimedHandWeapon	=	TRUE,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	30,
        UseEndurance	=	FALSE,
        DisplayName	=	Sawn Off Double Barrel Shotgun,
        MinRange	=	0.67,
        SwingTime	=	2,
        AngleFalloff	=	TRUE,
        MultipleHitConditionAffected	=	FALSE,
        SwingSound	=	SawnOffDoubleBarrelShotgunShoot,
		ClickSound = SawnOffDoubleBarrelShotgunJam,
        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  =   SawnOffDoubleBarrelShotgunBreak,
        MetalValue = 45,
        TwoHandWeapon = TRUE,
        AmmoBox = ShotgunShellsBox,
        MaxAmmo = 2,
		EquipSound = SawnOffDoubleBarrelShotgunEquip,
		UnequipSound = SawnOffDoubleBarrelShotgunUnEquip,
        InsertAmmoSound = SawnOffDoubleBarrelShotgunInsertAmmo,
        EjectAmmoSound = SawnOffDoubleBarrelShotgunEjectAmmo,
		InsertAmmoStartSound = SawnOffDoubleBarrelShotgunInsertAmmoStart,
		InsertAmmoStopSound = SawnOffDoubleBarrelShotgunInsertAmmoStop,
		EjectAmmoStartSound = SawnOffDoubleBarrelShotgunEjectAmmoStart,
		EjectAmmoStopSound = SawnOffDoubleBarrelShotgunEjectAmmoStop,
        ShellFallSound = SawnOffDoubleBarrelShotgunCartridgeFall,
        AmmoType = Base.ShotgunShells,
        WeaponReloadType = doublebarrelshotgunsawn,
        JamGunChance = 0,
        AttachmentType = Rifle,
        InsertAllBulletsReload = TRUE,
        RackAfterShoot = FALSE,
        haveChamber = FALSE,
        StopPower = 40,
    }

Trivia

  • In many places, sawing the barrel off a shotgun is illegal due to firearm restrictions and safety concerns. Specifically, owning a sawed-off shotgun without certain permissions may be in violation of the law. Good thing all the cops are zombified.

See also