D-E Pistol: Difference between revisions

From PZwiki
(Sound radius is now 70, can be seen from code)
(added condition, CodeBox, see also)
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=52}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=78.16}}
{{Infobox weapon
{{Infobox weapon
|display_name=D-E Pistol
|display_name=D-E Pistol
Line 21: Line 21:
|equipped=One-handed
|equipped=One-handed
|condition_max=10
|condition_max=10
|skill_type=Aiming
|attachment_type=Holster
<!--CHARACTERISTICS-->
<!--CHARACTERISTICS-->
|ammo=.44 Magnum Round
|ammo=.44 Magnum Round
Line 42: Line 44:


==Usage==
==Usage==
The '''D-E pistol''' gun can be attached to a [[Holster|holster]] or [[Double Holster|double holster]] for quick access and weight reduction.
The '''D-E pistol''' gun can be attached to a [[holster]] or [[Double Holster|double holster]] for quick access and weight reduction.
{| class="pztable"
{| class="pztable"
!Pros
!Pros
Line 65: Line 67:
*[[Red_Dot|Red Dot]] [[File:RedDot.png]]: Increases aiming speed.
*[[Red_Dot|Red Dot]] [[File:RedDot.png]]: Increases aiming speed.
*[[Laser|Laser]] [[File:HandgunLaser.png|link=Laser|Laser]] Increases base hit chance by 5%.
*[[Laser|Laser]] [[File:HandgunLaser.png|link=Laser|Laser]] Increases base hit chance by 5%.
*[[Gun Light]]: ''Not yet functional or obtainable ([[Build 41|Build 41.52]])''.
*[[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==
==Distribution==
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 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.
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.
Line 77: Line 84:


==Trivia==
==Trivia==
* D-E Pistol is based on [[Wikipedia:Desert Eagle|IMI Desert Eagle]], specifically the .44 magnum variant.
* D-E pistol is based on [[Wikipedia:Desert Eagle|IMI Desert Eagle]], specifically the .44 magnum variant.




== Code ==
== Code ==
{{Retrieved|version=41|incver=73}}
{{CodeBox
<nowiki>
| {{CodeSnip
  | lang = java
  | line = true
  | start = 5764
  | source = items_weapons.txt
  | retrieved = true
  | version = 41
  | incver = 78.16
  | code =
     item Pistol3
     item Pistol3
     {
     {
Line 164: Line 179:
         StopPower = 9,
         StopPower = 9,
     }
     }
</nowiki>
}}
}}


== History ==
== History ==
Line 174: Line 190:
| 41 || Added to the game
| 41 || Added to the game
|}
|}
==See also==
*[[M1911 Pistol]]
*[[M9 Pistol]]


{{Navbox_weapons}}
{{Navbox_weapons}}

Revision as of 07:31, 3 January 2024

D-E Pistol
D-E Pistol
D-E Pistol (Icon) .44 Magazine .44 Magnum Round
General
Category Weapon
Encumbrance
Heavy Load
1.5
Equipped One-handed
Condition max. 10
Skill Aiming
Attachment Holster
Characteristics
Ammo type .44 Magnum Round
Magazine size 8
Noise radius 70 tiles
Recoil delay 30
Reload time 30
Aiming time 30
Damage
Type Gunshot
Range 0.61–10 tiles
Damage 1–1.9
Accuracy 20
Knockback 0.3
Knockdown 2
Technical details
Base 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 weight 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.
  • .44 Magnum round boxes only contain 12 rounds.

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 Condition 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 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


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