M14 Rifle: Difference between revisions

From PZwiki
m (grammar and small info edits)
m (Cleanup)
Line 1: Line 1:
<!--Comment: This section is for the language and the format of the page. The languages section is used for linking pages. So a example might be {{languages|Nails}} in which every page is connected with a /## on the end will link to that specific page. Eg: Nails/es Nails/fr even if there contain redirects. The header format can be seen in the header template with working explanation. The header connects categories and Version no. PLEASE ENTER THE VERSION AND INCREMENT No. WHEN YOU MAKE A PAGE. It helps everyone else know how old the page is versionwise -->
{{Languages}}{{Header|The Game World|Items|Weapons|Firearms|type=Weapon|version=Version 41|incver=78.16}}{{Infobox weapon
{{languages}}
{{header|The Game World|Items|Weapons|Firearms|type=Weapon|version=Version 41|incver=78}}<!--
Comment: This section is for the infobox which will be positioned on the right of the page. The information can be pulled from the items/newitems.txt file in [Zomboid Folder\media\scripts]. For more info on how to use the infobox, see: https://pzwiki.net/wiki/Template:Infobox_weapon.
-->{{Infobox weapon
|display_name=M14 Rifle
|display_name=M14 Rifle
|name_colour=Weapon
|name_colour=Weapon
Line 45: Line 41:
|ingredients=
|ingredients=
|class_name=Base.AssaultRifle2
|class_name=Base.AssaultRifle2
}}
}}A '''M14 Rifle''' is a semi-automatic rifle. It is a two handed weapon and can be attached to the back of a character to reduce weight.
<!--Comment: General introductory for the item-->
A '''M14 Rifle''' is a semi-automatic rifle. It is a two handed weapon and can be attached to the back of a character to reduce weight.
__TOC__
<!--Comment: This is where the 'Table Of Contents' will go if it is needed-->


==Usage==
==Usage==
<!--Comment: This section contains how the item can be used, weather it be as a weapon, tool or in recipes. -->
 
===Weapon===
===Weapon===
The M14 Rifle is a semi-automatic rifle, utilizing [[Magazine_(firearms)|M14 (.308) Clips]] as ammo.
The M14 Rifle is a semi-automatic rifle, utilizing [[Magazine_(firearms)|M14 (.308) Clips]] as ammo.
Line 65: Line 57:
===Attachments===
===Attachments===
The M14 Assault Rifle can be fitted with the following attachments with the use of a screwdriver:
The M14 Assault Rifle can be fitted with the following attachments with the use of a screwdriver:
*[[Iron_Sight|Iron sight]] [[File:ScopeIronSight.png]]: Increases maximum firing range by 3 tiles.
*[[Iron Sight]] [[File:ScopeIronSight.png]]: Increases maximum firing range by 3 tiles.
*[[X2_Scope|x2 Scope]] [[File:Scope2x.png]]: Increases minimum firing range by 6 tiles and maximum firing range by 7 tiles.
*[[x2 Scope]] [[File:Scope2x.png]]: Increases minimum firing range by 6 tiles and maximum firing range by 7 tiles.
*[[X4_Scope|x4 Scope]]  [[File:Scope4x.png]]: Increases minimum firing range by 8 tiles and maximum firing range by 13 tiles.
*[[x4 Scope]]  [[File:Scope4x.png]]: Increases minimum firing range by 8 tiles and maximum firing range by 13 tiles.
*[[X8_Scope|x8 Scope]] [[File:Scope8x.png]]: Increases minimum firing range by 10 tiles and maximum firing range by 20 tiles.
*[[x8 Scope]] [[File:Scope8x.png]]: Increases minimum firing range by 10 tiles and maximum firing range by 20 tiles.
*[[Laser]] [[File:HandgunLaser.png]]: Increases base hit chance by 5%.
*[[Laser]] [[File:HandgunLaser.png]]: Increases base hit chance by 5%.
*[[Recoil_Pad|Recoil Pad]] [[File:RifleRecoilPad.png]]: Reduces recoil.  
*[[Recoil Pad]] [[File:RifleRecoilPad.png]]: Reduces recoil.  
*[[Red_Dot|Red Dot]] [[File:RedDot.png]]: Increases aiming speed.
*[[Red Dot]] [[File:RedDot.png]]: Increases aiming speed.


To install these attachments, ensure that you have a screwdriver in your inventory, right click the M14 you want to modify, click on 'Upgrade' and pick the attachment you want to install.
To install these attachments, ensure that you have a screwdriver in your inventory, right click the M14 you want to modify, click on 'Upgrade' and pick the attachment you want to install.


==Condition==
==Condition==
<!--Comment: This section contains all the info about the condition of the weapon. -->
The M14 Rifle is a [[Weapons#Firearms|firearm]] and, as such, the durability of the weapon is dependent on the player's aiming skill. This weapon's chance of losing durablity is: <code>1 in (60 + aiming x 2)</code>.
The M14 Rifle is a [[Weapons#Firearms|firearm]] and, as such, the durability of the weapon is dependent on the player's aiming skill. This weapon's chance of losing durablity is: <code>1 in (60 + aiming x 2)</code>.
===Repairing===
===Repairing===
<!--Comment: This uses the code found in the repair file [Zomboid Folder\media\scripts\fixing.txt] which defines what it costs to repair the weapon. The table below is a graphical representation of what is required to repair. -->
Requires level 5 Aiming and another M14 Rifle to repair with. The higher the aiming skill is, the chances of a better and successful repair go up. Remember that with each consective repair, the amount of durablity restored decreases.
Requires level 5 Aiming and another M14 Rifle to repair with. The higher the aiming skill is, the chances of a better and successful repair go up. Remember that with each consective repair, the amount of durablity restored decreases.


==Distribution==
==Distribution==
<!--Comment: The locations this item can be found should be placed here. Spawn locations can be found in the distribution.lua and vehicledistribution.lua files. -->
 
===Buildings===
===Buildings===
The M14 can be found in police stations, military bases, gun shops, and in rare cases, in rifle cases in homes.
The M14 can be found in police stations, military bases, gun shops, and in rare cases, in rifle cases in homes.
Line 91: Line 82:


==Trivia==
==Trivia==
* The M14 was issued to replace the M1 Garand in the late 50's, but was in turn replaced by the M16 in the late 60's. It has remained in limited service for training, sharpshooter roles, and ceremonial use, amongst other purposes.
*The M14 was issued to replace the M1 Garand in the late 50s, but was in turn replaced by the M16 in the late 60s. It has remained in limited service for training, sharpshooter roles, and ceremonial use, amongst other purposes.
* There are models and textures in the game hinting at the possiblity of attaching a bayonet + flashlight and even improvised versions with a bayonet made from a kitchen knife and a simple flashlight taped under the barrel. However none of this is in-game yet. A preview image can be seen in the gallery below.
*There are models and textures in the game hinting at the possibility of attaching a bayonet + flashlight and even improvised versions with a bayonet made from a kitchen knife and a simple flashlight taped under the barrel. However, none of this is in-game yet. A preview image can be seen in the gallery below.
* Initially, the M14 rifle in game had a model based on the [[Wikipedia:Ruger Mini-14|Ruger Mini-14 rifle]], but the model has been altered later on. The old model can still be found in the game files.  
*Initially, the M14 rifle in game had a model based on the [[Wikipedia:Ruger Mini-14|Ruger Mini-14 rifle]], but the model has been altered later on. The old model can still be found in the game files.  


==Gallery==
==Gallery==
Line 195: Line 186:
         StopPower = 2,
         StopPower = 2,
     }
     }
</pre>
</pre>
 
===Repair===
===Repair===
'''''From fixing.txt (Project Zomboid directory/media/scripts/)'''''
'''''From fixing.txt (Project Zomboid directory/media/scripts/)'''''
Line 205: Line 197:


       Fixer : AssaultRifle2; Aiming=5,
       Fixer : AssaultRifle2; Aiming=5,
     }</pre>
     }
</pre>


==See also==
==See also==
<!--Comment: Location of links to relevant guides or other pages that may not have been mentioned on this page but still relate to the item in some way. -->
*[[M16_Assault_Rifle|M16 Assault Rifle]]
* [[M16_Assault_Rifle|M16 Assault Rifle]]
*[[MSR700_Rifle|MSR700 Rifle]]
* [[MSR700_Rifle|MSR700 Rifle]]
*[[MSR788_Rifle|MSR788 Rifle]]
* [[MSR788_Rifle|MSR788 Rifle]]
*[[wikipedia:M14 rifle|M14 Rifle on Wikipedia]]
* [[wikipedia:M14 rifle|M14 Rifle on Wikipedia]]


<!--Comment: Navbox placement goes here. Code example = {{Navbox_weapons}}, (see all current navboxs via the template section)-->
{{Navbox weapons}}
{{Navbox_weapons}}

Revision as of 10:50, 19 February 2023

Template:Infobox weaponA M14 Rifle is a semi-automatic rifle. It is a two handed weapon and can be attached to the back of a character to reduce weight.

Usage

Weapon

The M14 Rifle is a semi-automatic rifle, utilizing M14 (.308) Clips as ammo. It can only hit one target at a time and does not pierce through targets. Should the rifle jam on the player, pressing X will rack it and unjam it.

The M14 might not seem all that impressive statistically speaking, but compared to the bolt-action MSR700/788 rifles, it is much more effective against larger groups of enemies, with its 20 round clip and excellent hit chance, topped with decent damage and low jam chance. Unlike the bolt-action rifles, the M14 also does not need to be manually racked after firing, allowing for faster follow-up shots. The M14 excels in dispatching small packs of hordes at range. However, this is not a rifle for players with low level aiming, and to be used effectively it at least level 5+ aiming is recommended

Attachments

The M14 Assault Rifle can be fitted with the following attachments with the use of a screwdriver:

  • Iron Sight ScopeIronSight.png: Increases maximum firing range by 3 tiles.
  • x2 Scope Scope2x.png: Increases minimum firing range by 6 tiles and maximum firing range by 7 tiles.
  • x4 Scope Scope4x.png: Increases minimum firing range by 8 tiles and maximum firing range by 13 tiles.
  • x8 Scope Scope8x.png: Increases minimum firing range by 10 tiles and maximum firing range by 20 tiles.
  • Laser HandgunLaser.png: Increases base hit chance by 5%.
  • Recoil Pad RifleRecoilPad.png: Reduces recoil.
  • Red Dot RedDot.png: Increases aiming speed.

To install these attachments, ensure that you have a screwdriver in your inventory, right click the M14 you want to modify, click on 'Upgrade' and pick the attachment you want to install.

Condition

The M14 Rifle is a firearm and, as such, the durability of the weapon is dependent on the player's aiming skill. This weapon's chance of losing durablity is: 1 in (60 + aiming x 2).

Repairing

Requires level 5 Aiming and another M14 Rifle to repair with. The higher the aiming skill is, the chances of a better and successful repair go up. Remember that with each consective repair, the amount of durablity restored decreases.

Distribution

Buildings

The M14 can be found in police stations, military bases, gun shops, and in rare cases, in rifle cases in homes.

Vehicles

The M14 can also be found in the trunk of police cruisers as well.

Trivia

  • The M14 was issued to replace the M1 Garand in the late 50s, but was in turn replaced by the M16 in the late 60s. It has remained in limited service for training, sharpshooter roles, and ceremonial use, amongst other purposes.
  • There are models and textures in the game hinting at the possibility of attaching a bayonet + flashlight and even improvised versions with a bayonet made from a kitchen knife and a simple flashlight taped under the barrel. However, none of this is in-game yet. A preview image can be seen in the gallery below.
  • Initially, the M14 rifle in game had a model based on the Ruger Mini-14 rifle, but the model has been altered later on. The old model can still be found in the game files.

Gallery

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/)

Retrieved: Build 41.73

    item AssaultRifle2
    {
        DisplayCategory = Weapon,
        ImpactSound	=	null,
        MaxRange	=	10,
        WeaponSprite	=	M14,
        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	=	4,
        SplatNumber	=	3,
        PushBackMod	=	0.3,
        SubCategory	=	Firearm,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	1,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	20,
        UseEndurance	=	FALSE,
        SwingAnim	=	Rifle,
        DisplayName	=	M14 Single Shot Assault Rifle,
        MinRange	=	0.61,
        SwingTime	=	0.5,
        MultipleHitConditionAffected	=	FALSE,
		BringToBearSound = M14BringToBear,
        SwingSound = M14Shoot,
        HitSound = BulletHitBody,
		ClickSound = M14Jam,
        SoundRadius	=	70,
        MinDamage	=	1.2,
        MaxDamage	=	2,
        SplatSize	=	3,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	AssaultRifle2,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        CriticalChance = 0,
        AimingPerkCritModifier = 0,
        HitChance = 50,
        AimingPerkHitChanceModifier = 5,
        AimingPerkMinAngleModifier = 0.01,
        AimingPerkRangeModifier = 3,
        RecoilDelay = 0,
        SoundGain = 2,
        ClipSize = 20,
        ReloadTime = 25,
        AimingTime = 25,
		EquipSound = M14Equip,
		UnequipSound = M14UnEquip,
        InsertAmmoSound = M14InsertAmmo,
        EjectAmmoSound = M14EjectAmmo,
		InsertAmmoStartSound = M14InsertAmmoStart,
		InsertAmmoStopSound = M14InsertAmmoStop,
		EjectAmmoStartSound = M14EjectAmmoStart,
		EjectAmmoStopSound = M14EjectAmmoStop,
        ShellFallSound = M14CartridgeFall,
        RackSound = M14Rack,
        RequiresEquippedBothHands = TRUE,
        BreakSound = M14Break,
        TwoHandWeapon = TRUE,
        MetalValue = 45,
        MagazineType = Base.M14Clip,
        AmmoType = Base.308Bullets,
        WeaponReloadType = boltaction,
        JamGunChance = 1,
        AttachmentType = Rifle,
        FireMode = Single,
        AmmoBox = 308Box,
        MaxAmmo = 20,
        ModelWeaponPart = x2Scope x2Scope scope scope,
        ModelWeaponPart = x4Scope x4Scope scope scope,
        ModelWeaponPart = x8Scope x8Scope scope scope,
        ModelWeaponPart = IronSight IronSight scope2 scope2,
        ModelWeaponPart = RedDot RedDot reddot reddot,
        ModelWeaponPart = RecoilPad RecoilPad recoilpad recoilpad,
        ModelWeaponPart = Laser Laser laser laser,
        StopPower = 2,
    }

Repair

From fixing.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

    fixing Fix AssaultRifle2
    {
       Require : AssaultRifle2,

       Fixer : AssaultRifle2; Aiming=5,
    }

See also