D-E Pistol: Difference between revisions
m (→Code) |
m (Distribution table fix) |
||
(35 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Firearms}} | ||
{{Page version|41.78.16}} | |||
{{Infobox | {{Infobox item | ||
| | |name=D-E Pistol | ||
| | |model=Handgun_Model.png | ||
|icon=HandGun.png | |||
|icon_name=D-E Pistol | |||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Weapon | |category=Weapon | ||
Line 21: | Line 11: | ||
|equipped=One-handed | |equipped=One-handed | ||
|condition_max=10 | |condition_max=10 | ||
|attachment_type=Holster | |||
<!--CHARACTERISTICS--> | <!--CHARACTERISTICS--> | ||
|ammo=.44 Magnum Round | |ammo=.44 Magnum Round | ||
|clip_size=8 | |clip_size=8 | ||
|sound_radius= | |sound_radius=70 | ||
|recoil_delay=30 | |recoil_delay=30 | ||
|reload_time=30 | |reload_time=30 | ||
Line 30: | 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 38: | Line 30: | ||
|knockdown=2 | |knockdown=2 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Pistol3 | ||
}}A '''D-E pistol''', is a handgun chambered in [[.44 Magnum Round|.44 Magnum rounds]]. | }} | ||
A '''D-E pistol''', is a handgun chambered in [[.44 Magnum Round|.44 Magnum rounds]]. | |||
==Usage== | ==Usage== | ||
The '''D-E pistol''' gun can be attached to a [[ | 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 × 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 | 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. | 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== | ||
<gallery> | <gallery> | ||
HoldingD-E.jpg|Survivor wielding the D-E Pistol | |||
</gallery> | </gallery> | ||
==Trivia== | ==Trivia== | ||
* D-E | *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== | |||
== Code == | {{CodeBox | ||
{{ | | {{CodeSnip | ||
| lang = java | |||
| line = true | |||
| start = 5764 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Pistol3 | |||
{ | { | ||
DisplayCategory = Weapon, | DisplayCategory = Weapon, | ||
Line 158: | Line 321: | ||
StopPower = 9, | StopPower = 9, | ||
} | } | ||
}} | |||
}} | |||
== History == | ==History== | ||
{| class="wikitable theme-red" width="550" style="text-align:center;" | |||
{| class=" | |||
|- | |- | ||
! 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
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 |
---|---|
|
|
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
- Iron sight : Increases firing range by 3 tiles.
- Red dot : Increases aiming speed.
- Laser Increases base hit chance by 5%.
- Gun lightFuture
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.
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 loot distributions can be found in the table(s) below.
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% |
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: .
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
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 |