M1911 Pistol: Difference between revisions

From PZwiki
(Add navbox, stub)
(Page contents largely auto-generated using ItemZed)
Line 1: Line 1:
{{stub}}
<!-- This page has been auto-generated using ItemZed with a custom Lua script -->
{{Languages}}
{{Languages}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=50}}
{{Header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=68}}
{{Infobox weapon
{{Infobox weapon
|display_name=M1911 Pistol
|display_name=M1911 Pistol
|name_colour=Weapon
|image=Handgun02_Model.png
|name_text_colour=Weapon
|image=Model_Handgun2.png
|image_width=200px
|image_width=200px
|alternate_image=HandGun2.png
|alternate_image=HandGun2.png
|alternate_name=M1911 Pistol (Icon)
|alternate_name=M1911 Pistol
|alternate_link=
|alternate_link=
|alternate_image2=40calAmmoBox.png
|alternate_image2=BerettaClip.png
|alternate_name2=.45 Auto
|alternate_name2=.45 Auto Magazine
|alternate_link2=.45 Auto
|alternate_link2=Magazine (firearm)
|alternate_image3=40calAmmoBox.png
|alternate_name3=.45 Auto Round
|alternate_link3=
<!--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=[[.45 Auto]]
|ammo=Bullets45
|clip_size=15
|clip_size=7
|sound_radius=70
|sound_radius=50
|recoil_delay=50
|recoil_delay=25
|reload_time=30
|reload_time=30
|aiming_time=20
|aiming_time=20
<!--DAMAGE-->
<!--DAMAGE-->
|type=Gunshot
|type=Gunshot
|skill_type=Firearm
|min_range=0.61
|min_range=0.61
|max_range=8
|max_range=8
Line 33: Line 36:
|min_damage=1
|min_damage=1
|max_damage=1.4
|max_damage=1.4
|crit_chance=20
|crit_multiplier=4
|door_damage=5
|push_back=0.3
|push_back=0.3
|knockdown=2
|knockdown=2
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=base.Pistol2
|ingredients=
|class_name=Base.Pistol2
}}
}}
A <b>M1911 pistol</b> is a firearm [[weapon]].
==Usage==
===Weapon===
The M1911 pistol is a firearm, utilising a 7 round [[Magazine (firearms)|magazine]].
===Attachments===
*{{Img_item|RedDot}} [[Red Dot]]
*{{Img_item|GunLight}} [[Gun Light]]
*{{Img_item|IronSight}} [[Iron Sight]]
*{{Img_item|Laser}} [[Laser]]


== Code ==
===Breaking doors===
{{Retrieved|version=41|incver=50}}
It can be used to bash down [[Door|doors]], dealing 5 damage per hit.
<nowiki>
==Condition==
item Pistol2
Below is an example of the chance of losing durability at different levels of [[Skills|maintenance]] and [[Skills|firearm]] levels.
{{Durability weapon|60}}
===Repairing===
Materials that can be used to repair the M1911 pistol, based on first time repairing. Repairing the M1911 pistol makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
<!-- {{Fixing weapon
|item=M1911 Pistol
|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==
==Crafting==
<!-- ==Trivia== -->
==Gallery==
<gallery>
File:HandGun2.png|Item icon
File:Handgun02_Model.png|Item model
</gallery>
==Code==
<b><i>From items_weapons.txt (Project Zomboid directory/media/scripts/)</i></b>
{{Retrieved|version=41|incver=68}}
<pre>item Pistol2
     {
     {
        DisplayCategory = Weapon,
         ImpactSound = null,
         ImpactSound = null,
         MaxRange = 8,
         MaxRange = 8,
Line 73: Line 121:
         SwingTime = 0.5,
         SwingTime = 0.5,
         MultipleHitConditionAffected = FALSE,
         MultipleHitConditionAffected = FALSE,
         SwingSound = Firearm9mmShot,
BringToBearSound = M1911BringToBear,
         SoundRadius = 70,
         SwingSound = M1911Shoot,
        HitSound = BulletHitBody,
ClickSound = M1911Jam,
         SoundRadius = 50,
         MinDamage = 1,
         MinDamage = 1,
         MaxDamage = 1.4,
         MaxDamage = 1.4,
Line 89: Line 140:
         AimingPerkHitChanceModifier = 10,
         AimingPerkHitChanceModifier = 10,
         AimingPerkMinAngleModifier = 0.05,
         AimingPerkMinAngleModifier = 0.05,
         RecoilDelay = 20,
         RecoilDelay = 25,
         SoundGain = 1.5,
         SoundGain = 1.5,
         ClipSize = 15,
         ClipSize = 15,
         ReloadTime = 30,
         ReloadTime = 30,
         AimingTime = 20,
         AimingTime = 20,
         BreakSound =   BreakMetalItem,
         BreakSound = M1911Break,
         MetalValue = 30,
         MetalValue = 30,
         AmmoBox = Bullets45Box,
         AmmoBox = Bullets45Box,
         MaxAmmo = 7,
         MaxAmmo = 7,
         InsertAmmoSound = Stormy9mmClipLoad,
EquipSound = M1911Equip,
         EjectAmmoSound = Stormy9mmClipEject,
UnequipSound = M1911UnEquip,
         RackSound = Stormy9mmRack,
         InsertAmmoSound = M1911InsertAmmo,
         EjectAmmoSound = M1911EjectAmmo,
InsertAmmoStartSound = M1911InsertAmmoStart,
InsertAmmoStopSound = M1911InsertAmmoStop,
EjectAmmoStartSound = M1911EjectAmmoStart,
EjectAmmoStopSound = M1911EjectAmmoStop,
        ShellFallSound = M1911CartridgeFall,
         RackSound = M1911Rack,
         MagazineType = Base.45Clip,
         MagazineType = Base.45Clip,
         AmmoType = Base.Bullets45,
         AmmoType = Base.Bullets45,
Line 110: Line 168:
         ModelWeaponPart = IronSight IronSight scope scope,
         ModelWeaponPart = IronSight IronSight scope scope,
         ModelWeaponPart = Laser Laser laser laser,
         ModelWeaponPart = Laser Laser laser laser,
     }
        StopPower = 7,
</nowiki>
     }</pre>
 
==See also==
== History ==
*[[M9 Pistol]]
 
*[[D-E Pistol]]
{| class="pztable" width="550" style="text-align:center;"
|-
! Alpha || 
|-
| 41 || Added to the game
|}


{{Navbox_weapons}}
{{Navbox weapons}}
{{clear}}

Revision as of 13:23, 16 April 2022


The Game WorldItemsWeaponsFirearmsM1911 Pistol
M1911 Pistol
M1911 Pistol
M1911 Pistol .45 Auto Magazine .45 Auto Round
General
Category Weapon
Encumbrance
Heavy Load
1.5
Equipped One-handed
Condition max. 10
Skill Firearm
Attachment Holster
Characteristics
Ammo type .45 Auto Round
Magazine size 7
Noise radius 50 tiles
Recoil delay 25
Reload time 30
Aiming time 20
Damage
Type Gunshot
Range 0.61–8 tiles
Damage 1–1.4
Crit chance 20%
Door damage 5
Accuracy 40
Knockback 0.3
Knockdown 2
Technical details
Base ID Base.Pistol2

A M1911 pistol is a firearm weapon.

Usage

Weapon

The M1911 pistol is a firearm, utilising a 7 round magazine.

Attachments

Breaking doors

It can be used to bash down doors, dealing 5 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%)

Repairing

Materials that can be used to repair the M1911 pistol, based on first time repairing. Repairing the M1911 pistol makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.

Gallery

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.68

item Pistol2
    {
        DisplayCategory = Weapon,
        ImpactSound	=	null,
        MaxRange	=	8,
        WeaponSprite	=	Handgun02,
        SoundVolume	=	50,
        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	=	M1911 Pistol,
        MinRange	=	0.61,
        SwingTime	=	0.5,
        MultipleHitConditionAffected	=	FALSE,
	BringToBearSound = M1911BringToBear,
        SwingSound	=	M1911Shoot,
        HitSound = BulletHitBody,
	ClickSound = M1911Jam,
        SoundRadius	=	50,
        MinDamage	=	1,
        MaxDamage	=	1.4,
        SplatSize	=	3,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	HandGun2,
        RunAnim	=	Run_Weapon2,
        CriticalChance	=	20,
        CritDmgMultiplier = 4,
        AimingPerkCritModifier = 10,
        AimingPerkRangeModifier = 1.5,
        HitChance = 40,
        AimingPerkHitChanceModifier = 10,
        AimingPerkMinAngleModifier = 0.05,
        RecoilDelay = 25,
        SoundGain = 1.5,
        ClipSize = 15,
        ReloadTime = 30,
        AimingTime = 20,
        BreakSound = M1911Break,
        MetalValue = 30,
        AmmoBox = Bullets45Box,
        MaxAmmo = 7,
	EquipSound = M1911Equip,
	UnequipSound = M1911UnEquip,
        InsertAmmoSound = M1911InsertAmmo,
        EjectAmmoSound = M1911EjectAmmo,
	InsertAmmoStartSound = M1911InsertAmmoStart,
	InsertAmmoStopSound = M1911InsertAmmoStop,
	EjectAmmoStartSound = M1911EjectAmmoStart,
	EjectAmmoStopSound = M1911EjectAmmoStop,
        ShellFallSound = M1911CartridgeFall,
        RackSound = M1911Rack,
        MagazineType = Base.45Clip,
        AmmoType = Base.Bullets45,
        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 = 7,
    }

See also