D-E Pistol: Difference between revisions

From PZwiki
No edit summary
m (Distribution table fix)
 
(50 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Languages|D-E Pistol}}
{{Header|Project Zomboid|Items|Weapons|Firearms}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=39}}
{{Page version|41.78.16}}
{{Infobox weapon
{{Infobox item
|display_name=D-E Pistol
|name=D-E Pistol
|name_colour=Weapon
|model=Handgun_Model.png
|name_text_colour=Weapon
|icon=HandGun.png
|image=HandGun3.png
|icon_name=D-E Pistol
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Weapon
|weight=2
|weight=1.5
|equipped=One-handed
|equipped=One-handed
|condition_max=10
|condition_max=10
|attachment_type=Holster
<!--CHARACTERISTICS-->
<!--CHARACTERISTICS-->
|ammo_type=[[.44 Ammo]]
|ammo=.44 Magnum Round
|clip_size=15
|clip_size=8
|sound_radius=100
|sound_radius=70
|recoil_delay=30
|recoil_delay=30
|reload_time=30
|reload_time=30
Line 20: Line 21:
<!--DAMAGE-->
<!--DAMAGE-->
|type=Gunshot
|type=Gunshot
|skill_type=Firearm
|min_range=0.61
|min_range=0.61
|max_range=10
|max_range=10
Line 28: Line 30:
|knockdown=2
|knockdown=2
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=base.Pistol3
|item_id=Base.Pistol3
}}
}}
D-E stands for Desert Eagle
A '''D-E pistol''', is a handgun chambered in [[.44 Magnum Round|.44 Magnum rounds]].
== Code ==
 
{{Retrieved|version=41|incver=39}}
==Usage==
<nowiki>
The '''D-E pistol''' gun can be attached to a [[holster]] or [[Double Holster|double holster]] for quick access and encumbrance reduction.
{{Pros-cons
|pros1=Tied with the [[Magnum]] for highest maximum damage of any handgun.
|pros2=Tied with the [[M625 Revolver]] for 2nd highest stopping power of any handgun.
|pros3=One of the best handguns for luring zombies away from an area.
|pros4=Compatible with more gun attachments than the Magnum Revolver
|cons1=2nd loudest handgun, [[zombie]]s with default hearing being able to hear it from up to 70 tiles away.
|cons2=Tied with the magnum for 2nd lowest accuracy of any handgun.
|cons3=Geared towards survivors with a high aiming level.
|cons4=Requires magazines (capable of jamming).
|cons5=Gun, ammo and magazines are quite difficult to find.
|cons6.44 Magnum round boxes only contain 12 rounds.
}}
 
===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.
 
===Attachments===
*[[Iron Sight|Iron sight]] [[File:ScopeIronSight.png]]: Increases firing range by 3 tiles.
*[[Red Dot|Red dot]] [[File:RedDot.png]]: Increases aiming speed.
*[[Laser]] [[File:HandgunLaser.png|link=Laser]] Increases base hit chance by 5%.
*[[Gun Light|Gun light]]{{sup|future}}
 
==Condition==
The D-E pistol has a maximum condition of 10. Its rate of degradation is influenced by the [[Skills|aiming]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (60 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the aiming and maintenance skills.<br>
Below is an example of the chance of losing durability at different levels of [[Skills|maintenance]] and [[Skills|aiming]] levels.
{{Durability weapon|60}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Pistol3|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Pistol3 distribution
        <span class="mw-customtoggle-togglebox-Pistol3" 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-Pistol3">
    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.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Bag_WeaponBag
    | {{ll|Bag_WeaponBag}}
    | 5.54%
    |-
    | GunCache1
    | {{ll|Bag_DuffelBagTINT}}
    | 10.78%
    |-
    | GunCache1
    | {{ll|GunBox}}
    | 10.78%
    |-
    | GunCache1
    | {{ll|counter}}
    | 10.78%
    |-
    | GunCache2
    | {{ll|Bag_DuffelBagTINT}}
    | 5.54%
    |-
    | GunCache2
    | {{ll|GunBox}}
    | 10.78%
    |-
    | PistolCase3
    | {{ll|PistolCase3}}
    | 120.41%
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 10.78%
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 10.78%
    |-
    | SafehouseLoot
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | SafehouseLoot
    | {{ll|wardrobe}}
    | 10.78%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 10.78%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 10.78%
    |-
    | all
    | {{ll|dresser}}
    | 1.64%
    |-
    | armysurplus
    | {{ll|displaycase}}
    | 10.78%
    |-
    | bedroom
    | {{ll|desk}}
    | 1.64%
    |-
    | bedroom
    | {{ll|dresser}}
    | 1.75%
    |-
    | bedroom
    | {{ll|sidetable}}
    | 1.64%
    |-
    | druglab
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | garagestorage
    | {{ll|locker}}
    | 10.78%
    |-
    | gunstore
    | {{ll|displaycase}}
    | 10.78%
    |-
    | gunstorestorage
    | {{ll|crate}}
    | 10.78%
    |-
    | hunting
    | {{ll|displaycase}}
    | 10.78%
    |-
    | hunting
    | {{ll|locker}}
    | 10.78%
    |-
    | pawnshop
    | {{ll|displaycase}}
    | 10.78%
    |-
    | pawnshopoffice
    | {{ll|locker}}
    | 19.27%
    |-
    | pawnshopstorage
    | {{ll|locker}}
    | 19.27%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Survivalist
    | {{ll|Glovebox}}
    | 2.81%
    |}
</div>
<div id="zombies" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Zombies}}
    ! Outfit
    ! Days survived
    ! Chance
    |-
    | Police<br>PoliceState<br>PoliceRiot<br>PrisonGuard<br>PrivateMilitia
    | 0
    | 50
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Pistol3" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Pistol3|41.78.16-->
The D-E pistol can be found almost anywhere, albeit rarely on the default settings. It can usually be found inside of cabinets, storage crates, wardrobes, dressers, and other similar containers. It cannot be found inside of refrigerators, although it may rarely be found on zombies.
 
The best method of finding a D-E Pistol is to search a gun store, the shooting range or the armory of a police station. The gun can also be found in overrun barricaded buildings.
 
==Gallery==
<gallery>
HoldingD-E.jpg|Survivor wielding the D-E Pistol
</gallery>
 
==Trivia==
*D-E pistol is based on [[Wikipedia:Desert Eagle|IMI Desert Eagle]], specifically the .44 magnum variant.
*This item used to have a slightly different icon at one point: [[File:HandGun-old.png]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 5764
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Pistol3
item Pistol3
{
    {
ImpactSound = null,
        DisplayCategory = Weapon,
MaxRange = 10,
        ImpactSound = null,
WeaponSprite = Handgun,
        MaxRange = 10,
SoundVolume = 75,
        WeaponSprite = Handgun,
MinAngle = 0.95,
        SoundVolume = 75,
Type = Weapon,
        MinAngle = 0.95,
MinimumSwingTime = 0.5,
        Type = Weapon,
ToHitModifier = 1.5,
        MinimumSwingTime = 0.5,
NPCSoundBoost = 1.5,
        ToHitModifier = 1.5,
KnockBackOnNoDeath = TRUE,
        NPCSoundBoost = 1.5,
Ranged = TRUE,
        KnockBackOnNoDeath = TRUE,
SwingAmountBeforeImpact = 0,
        Ranged = TRUE,
ProjectileCount = 1,
        SwingAmountBeforeImpact = 0,
ConditionLowerChanceOneIn = 60,
        ProjectileCount = 1,
Weight = 2,
        ConditionLowerChanceOneIn = 60,
SplatNumber = 3,
        Weight = 1.5,
PushBackMod = 0.3,
        SplatNumber = 3,
SubCategory = Firearm,
        PushBackMod = 0.3,
ConditionMax = 10,
        SubCategory = Firearm,
ShareDamage = FALSE,
        ConditionMax = 10,
MaxHitCount = 1,
        ShareDamage = FALSE,
IsAimedFirearm = TRUE,
        MaxHitCount = 1,
DoorDamage = 5,
        IsAimedFirearm = TRUE,
UseEndurance = FALSE,
        DoorDamage = 5,
SwingAnim = Handgun,
        UseEndurance = FALSE,
DisplayName = D-E Pistol,
        SwingAnim = Handgun,
MinRange = 0.61,
        DisplayName = D-E Pistol,
SwingTime = 0.5,
        MinRange = 0.61,
MultipleHitConditionAffected = FALSE,
        SwingTime = 0.5,
SwingSound = Firearm9mmShot,
        MultipleHitConditionAffected = FALSE,
SoundRadius = 100,
BringToBearSound = DesertEagleBringToBear,
MinDamage = 1,
        SwingSound = DesertEagleShoot,
MaxDamage = 1.9,
        HitSound = BulletHitBody,
SplatSize = 3,
ClickSound = DesertEagleJam,
KnockdownMod = 2,
        SoundRadius = 70,
SplatBloodOnNoDeath = TRUE,
        MinDamage = 1,
Icon = HandGun3,
        MaxDamage = 1.9,
RunAnim = Run_Weapon2,
        SplatSize = 3,
CriticalChance = 20,
        KnockdownMod = 2,
CritDmgMultiplier = 4,
        SplatBloodOnNoDeath = TRUE,
AimingPerkCritModifier = 10,
        Icon = HandGun,
AimingPerkRangeModifier = 1.5,
        RunAnim = Run_Weapon2,
HitChance = 20,
        CriticalChance = 20,
AimingPerkHitChanceModifier = 12,
        CritDmgMultiplier = 4,
AimingPerkMinAngleModifier = 0.05,
        AimingPerkCritModifier = 10,
RecoilDelay = 30,
        AimingPerkRangeModifier = 1.5,
SoundGain = 1.5,
        HitChance = 20,
ClipSize = 15,
        AimingPerkHitChanceModifier = 12,
ReloadTime = 30,
        AimingPerkMinAngleModifier = 0.05,
AimingTime = 30,
        RecoilDelay = 32,
  BreakSound = BreakMetalItem,
        SoundGain = 1.5,
MetalValue = 30,
        ClipSize = 15,
AmmoBox = Bullets44Box,
        ReloadTime = 30,
MaxAmmo = 8,
        AimingTime = 30,
InsertAmmoSound = Stormy9mmClipLoad,
        BreakSound =   DesertEagleBreak,
EjectAmmoSound = Stormy9mmClipEject,
        MetalValue = 30,
RackSound = Stormy9mmRack,
        AmmoBox = Bullets44Box,
MagazineType = Base.44Clip,
        MaxAmmo = 8,
AmmoType = Base.Bullets44,
EquipSound = DesertEagleEquip,
WeaponReloadType = handgun,
UnequipSound = DesertEagleUnequip,
JamGunChance = 2,
        InsertAmmoSound = DesertEagleInsertAmmo,
AttachmentType = Holster,
        EjectAmmoSound = DesertEagleEjectAmmo,
}
InsertAmmoStartSound = DesertEagleInsertAmmoStart,
</nowiki>
InsertAmmoStopSound = DesertEagleInsertAmmoStop,
 
EjectAmmoStartSound = DesertEagleEjectAmmoStart,
== History ==
EjectAmmoStopSound = DesertEagleEjectAmmoStop,
        ShellFallSound = DesertEagleCartridgeFall,
        RackSound = DesertEagleRack,
        MagazineType = Base.44Clip,
        AmmoType = Base.Bullets44,
        WeaponReloadType = handgun,
        JamGunChance = 2,
        AttachmentType = Holster,
        ModelWeaponPart = RedDot RedDot reddot reddot,
        ModelWeaponPart = GunLight GunLight gunlight gunlight,
        ModelWeaponPart = IronSight IronSight scope scope,
        ModelWeaponPart = Laser Laser laser laser,
        StopPower = 9,
    }
}}
}}


{| class="pztable" width="550" style="text-align:center;"
==History==
{| class="wikitable theme-red" width="550" style="text-align:center;"
|-
|-
! Alpha ||
! Alpha ||
|-
|-
| 41 || Added to the game
| 41 || Added to the game
|}
|}
==See also==
*[[M1911 Pistol]]
*[[M9 Pistol]]
{{Navbox items|firearms}}

Latest revision as of 19:07, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
D-E Pistol
Handgun Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Equipped
One-handed
Slot attached
Holster
Skill
Ammunition
Magazine size
8
Properties
Max condition
10
Performance
Damage
1–1.9
Range
0.61–10
Accuracy
20
Recoil
30
Noise radius
70
Knockback
0.3
Knockdown
2
Aiming time
30
Reload time
30
Technical
Item ID
Base.Pistol3

A D-E pistol, is a handgun chambered in .44 Magnum rounds.

Usage

The D-E pistol gun can be attached to a holster or double holster for quick access and encumbrance reduction.

Pros Cons
  • Tied with the Magnum for highest maximum damage of any handgun.
  • Tied with the M625 Revolver for 2nd highest stopping power of any handgun.
  • One of the best handguns for luring zombies away from an area.
  • Compatible with more gun attachments than the Magnum Revolver
  • 2nd loudest handgun, zombies with default hearing being able to hear it from up to 70 tiles away.
  • Tied with the magnum for 2nd lowest accuracy of any handgun.
  • Geared towards survivors with a high aiming level.
  • Requires magazines (capable of jamming).
  • Gun, ammo and magazines are quite difficult to find.

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

Condition

The D-E pistol has a maximum condition of 10. Its rate of degradation is influenced by the aiming and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (60 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the aiming and maintenance skills.
Below is an example of the chance of losing durability at different levels of maintenance and aiming 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.

Pistol3 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_WeaponBag Bag_WeaponBag 5.54%
GunCache1 Bag_DuffelBagTINT 10.78%
GunCache1 GunBox 10.78%
GunCache1 counter 10.78%
GunCache2 Bag_DuffelBagTINT 5.54%
GunCache2 GunBox 10.78%
PistolCase3 PistolCase3 120.41%
SafehouseLoot counter 10.78%
SafehouseLoot crate 10.78%
SafehouseLoot metal_shelves 10.78%
SafehouseLoot wardrobe 10.78%
SurvivorCache1 counter 10.78%
SurvivorCache2 counter 10.78%
all dresser 1.64%
armysurplus displaycase 10.78%
bedroom desk 1.64%
bedroom dresser 1.75%
bedroom sidetable 1.64%
druglab metal_shelves 10.78%
garagestorage locker 10.78%
gunstore displaycase 10.78%
gunstorestorage crate 10.78%
hunting displaycase 10.78%
hunting locker 10.78%
pawnshop displaycase 10.78%
pawnshopoffice locker 19.27%
pawnshopstorage locker 19.27%
Vehicles
Type Container Effective chance
Survivalist Glove Box 2.81%
Zombie
Outfit Days survived Chance
Police
PoliceState
PoliceRiot
PrisonGuard
PrivateMilitia
0 50

The D-E pistol can be found almost anywhere, albeit rarely on the default settings. It can usually be found inside of cabinets, storage crates, wardrobes, dressers, and other similar containers. It cannot be found inside of refrigerators, although it may rarely be found on zombies.

The best method of finding a D-E Pistol is to search a gun store, the shooting range or the armory of a police station. The gun can also be found in overrun barricaded buildings.

Gallery

Trivia

  • D-E pistol is based on IMI Desert Eagle, specifically the .44 magnum variant.
  • This item used to have a slightly different icon at one point: HandGun-old.png.

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 Pistol3
    {
        DisplayCategory = Weapon,
        ImpactSound	=	null,
        MaxRange	=	10,
        WeaponSprite	=	Handgun,
        SoundVolume	=	75,
        MinAngle	=	0.95,
        Type	=	Weapon,
        MinimumSwingTime	=	0.5,
        ToHitModifier	=	1.5,
        NPCSoundBoost	=	1.5,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        SwingAmountBeforeImpact	=	0,
        ProjectileCount	=	1,
        ConditionLowerChanceOneIn	=	60,
        Weight	=	1.5,
        SplatNumber	=	3,
        PushBackMod	=	0.3,
        SubCategory	=	Firearm,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	1,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	5,
        UseEndurance	=	FALSE,
        SwingAnim	=	Handgun,
        DisplayName	=	D-E Pistol,
        MinRange	=	0.61,
        SwingTime	=	0.5,
        MultipleHitConditionAffected	=	FALSE,
		BringToBearSound = DesertEagleBringToBear,
        SwingSound	=	DesertEagleShoot,
        HitSound = BulletHitBody,
		ClickSound = DesertEagleJam,
        SoundRadius	=	70,
        MinDamage	=	1,
        MaxDamage	=	1.9,
        SplatSize	=	3,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	HandGun,
        RunAnim	=	Run_Weapon2,
        CriticalChance	=	20,
        CritDmgMultiplier = 4,
        AimingPerkCritModifier = 10,
        AimingPerkRangeModifier = 1.5,
        HitChance = 20,
        AimingPerkHitChanceModifier = 12,
        AimingPerkMinAngleModifier = 0.05,
        RecoilDelay = 32,
        SoundGain = 1.5,
        ClipSize = 15,
        ReloadTime = 30,
        AimingTime = 30,
        BreakSound  =   DesertEagleBreak,
        MetalValue = 30,
        AmmoBox = Bullets44Box,
        MaxAmmo = 8,
		EquipSound = DesertEagleEquip,
		UnequipSound = DesertEagleUnequip,
        InsertAmmoSound = DesertEagleInsertAmmo,
        EjectAmmoSound = DesertEagleEjectAmmo,
		InsertAmmoStartSound = DesertEagleInsertAmmoStart,
		InsertAmmoStopSound = DesertEagleInsertAmmoStop,
		EjectAmmoStartSound = DesertEagleEjectAmmoStart,
		EjectAmmoStopSound = DesertEagleEjectAmmoStop,
        ShellFallSound = DesertEagleCartridgeFall,
        RackSound = DesertEagleRack,
        MagazineType = Base.44Clip,
        AmmoType = Base.Bullets44,
        WeaponReloadType = handgun,
        JamGunChance = 2,
        AttachmentType = Holster,
        ModelWeaponPart = RedDot RedDot reddot reddot,
        ModelWeaponPart = GunLight GunLight gunlight gunlight,
        ModelWeaponPart = IronSight IronSight scope scope,
        ModelWeaponPart = Laser Laser laser laser,
        StopPower = 9,
    }

History

Alpha
41 Added to the game

See also