M9 Pistol

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

A M9 pistol, previously just pistol, is a type of weapon in Project Zomboid.

Usage

The M9 pistol is a 9mm caliber pistol, with good accuracy and low noise for a firearm.

Reloading

The M9 pistol requires using a 15 round capacity 9mm magazine. Like other firearms, the M9 pistol can be reloaded with R. If given enough time, the player will automatically rack the firearm, thus transferring a round into the chamber. If not, the firearm must be racked manually (default: X). Once racked once, the firearm will not need to be racked again, until a new magazine is inserted. If racked while a round is already in the chamber, the round will be ejected and placed into the player's inventory. To avoid using the contextual menu in the inventory, the M9 pistol can be reloaded, racked 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

Attachments can be attached to firearms with the use of a screwdriver. When you have the screwdriver and desired attachment, right-click the M9 Pistol in your inventory, select "Upgrade" and select the attachment you want to use. Attachments can be removed from firearms in the same manner they are attached. There are four different types of attachments that can be added to pistols.

Condition

The M9 pistol 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

M9 pistol requires a minimum of 3 aiming, and another M9 pistol. The aiming skill determines how much will be repaired and chance of being successful.

It should be noted that repairing the M9 pistol 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.

Pistol 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 10.15%
GunCache1 Bag_DuffelBagTINT 76.55%
GunCache1 GunBox 41.14%
GunCache1 counter 19.27%
GunCache2 Bag_DuffelBagTINT 51.57%
GunCache2 GunBox 76.55%
PistolCase1 PistolCase1 120.41%
SafehouseLoot counter 19.27%
SafehouseLoot crate 19.27%
SafehouseLoot metal_shelves 19.27%
SafehouseLoot wardrobe 19.27%
SurvivorCache1 counter 19.27%
SurvivorCache2 counter 19.27%
all Outfit_Biker 5.21%
all dresser 1.75%
armysurplus displaycase 19.27%
bedroom desk 1.75%
bedroom dresser 2.81%
bedroom sidetable 1.75%
druglab metal_shelves 19.27%
drugshack crate 19.27%
garagestorage locker 19.27%
gunstore displaycase 19.27%
gunstorestorage crate 19.27%
hunting displaycase 19.27%
hunting locker 19.27%
kitchen counter 1.65%
livingroom counter 1.65%
office desk 1.87%
pawnshop displaycase 19.27%
policestorage counter 1.87%
policestorage locker 23.28%
policestorage locker 41.14%
policestorage metal_shelves 23.28%
policestorage metal_shelves 41.14%
security locker 23.28%
Vehicles
Type Container Effective chance
Carpenter Glove Box 0.89%
Construction Worker Glove Box 0.89%
Distillery Glove Box 0.89%
Electrician Glove Box 0.89%
Farmer Glove Box 0.89%
Fire Glove Box 0.89%
Fisherman Glove Box 0.89%
Fossoil Glove Box 0.89%
All Glove Box 0.89%
Golf Glove Box 0.89%
Heralds Glove Box 0.89%
Hunter Glove Box 0.89%
Mass Gen Fac Glove Box 0.89%
McCoy Glove Box 0.89%
Metal Welder Glove Box 0.89%
Painter Glove Box 0.89%
Police Glove Box 12.41%
Police Trunk 23.28%
Postal Glove Box 0.89%
Radio Glove Box 0.89%
Ranger Glove Box 0.89%
Spiffo Glove Box 0.89%
Survivalist Glove Box 5.21%
Transit Glove Box 0.89%
Zombie
Outfit Days survived Chance
Police
PoliceState
PoliceRiot
PrisonGuard
PrivateMilitia
0 50

The M9 pistol can be found almost anywhere, albeit rarely. 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.

Trivia

  • The weapon itself is heavily based on the Beretta 92FS. "M9" is the specific designation for the 92FS by US military personnel, and thus shares similarities both in appearance and in specifications to its real life counterpart, such as the magazine capacity of 15 rounds chambered in 9mm or its semi-auto capability.

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 Pistol
	{
	    DisplayCategory = Weapon,
		ImpactSound	=	null,
		MaxRange	=	7,
		WeaponSprite	=	Handgun03,
		SoundVolume	=	30,
		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	=	M9 Pistol,
		MinRange	=	0.61,
		SwingTime	=	0.5,
		MultipleHitConditionAffected	=	FALSE,
		BringToBearSound = M9BringToBear,
		SwingSound	=	M9Shoot,
		HitSound = BulletHitBody,
		ClickSound = M9Jam,
		SoundRadius	=	40,
		MinDamage	=	0.6,
		MaxDamage	=	1,
		SplatSize	=	3,
		KnockdownMod	=	2,
		SplatBloodOnNoDeath	=	TRUE,
		Icon	=	HandGun3,
		RunAnim	=	Run_Weapon2,
		CriticalChance	=	20,
        CritDmgMultiplier = 4,
        AimingPerkCritModifier = 10,
        AimingPerkRangeModifier = 1.5,
        HitChance = 50,
        AimingPerkHitChanceModifier = 8,
        AimingPerkMinAngleModifier = 0.05,
        RecoilDelay = 20,
        SoundGain = 1.5,
        ClipSize = 15,
        ReloadTime = 30,
        AimingTime = 15,
        BreakSound = M9Break,
        MetalValue = 30,
        AmmoBox = Bullets9mmBox,
        MaxAmmo = 15,
		EquipSound = M9Equip,
		UnequipSound = M9UnEquip,
        InsertAmmoSound = M9InsertAmmo,
        EjectAmmoSound = M9EjectAmmo,
		InsertAmmoStartSound = M9InsertAmmoStart,
		InsertAmmoStopSound = M9InsertAmmoStop,
		EjectAmmoStartSound = M9EjectAmmoStart,
		EjectAmmoStopSound = M9EjectAmmoStop,
        ShellFallSound = M9CartridgeFall,
        RackSound = M9Rack,
        MagazineType = Base.9mmClip,
        AmmoType = Base.Bullets9mm,
        WeaponReloadType = handgun,
        JamGunChance = 2,
        ModelWeaponPart = RedDot RedDot reddot reddot,
        ModelWeaponPart = GunLight GunLight gunlight gunlight,
        ModelWeaponPart = IronSight IronSight scope scope,
        ModelWeaponPart = Laser Laser laser laser,
        AttachmentType = Holster,
        StopPower = 5,
	}

See also