Magazine (firearms): Difference between revisions

From PZwiki
Magazine (firearms)
(Updated to 41.78.16: magazine names, corrected mistakes/typos and rewrote some parts)
Line 1: Line 1:
{{languages}}
{{languages}}
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 41|incver=52}}
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 41|incver=78.16}}
{{Infobox weapon mod
{{Infobox weapon mod
|display_name = Magazine (firearms)
|display_name = Magazine (firearms)
Line 10: Line 10:
|alternate_name = Magazine (icon)
|alternate_name = Magazine (icon)
<!--GENERAL-->
<!--GENERAL-->
|category = Normal
|category = Ammo
|weight = 0.2
|weight = 0.2
|part_type = Magazine
|part_type = Magazine
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name = ''See [[#Types|Types]]''
|class_name = ''See [[#Types|Types]]''
}}A '''magazine''' stores [[Items#Ammo|ammo]] to feed into a [[Items#Firearm|firearm]].  
}}A '''magazine''' stores [[ammo]] to feed into a [[Weapons#Firearms|firearm]].  


==Usage==
==Usage==
A magazine is required in many firearms to load more than one round at a time. Firearms that use magazines are much quicker to reload, as rather than having to load each individual round into the firearm, a single magazine needs to be inserted to fully reload. Each magazine can only be inserted into certain firearms, and loaded specific rounds.  
A magazine is required in many firearms to load more than one round at a time. Firearms that use magazines are much quicker to fully reload, as only a single magazine needs to be inserted, whereas non-magazine firearms need to have each round loaded separately. Each magazine can only be inserted into certain firearms, and loaded with specific rounds.  


===Reloading===
===Reloading===
Line 25: Line 25:
*equipping the firearm and holding {{key|R}}, then selecting "Load Bullets into Spare Magazine".
*equipping the firearm and holding {{key|R}}, then selecting "Load Bullets into Spare Magazine".
Both options will result in the player inserting one round at a time until the magazine is filled, unless interrupted.  
Both options will result in the player inserting one round at a time until the magazine is filled, unless interrupted.  
<br>Once filled, the magazine can then be inserted into the firearm. This can done by either:
<br>Once filled, the magazine can then be inserted into the firearm. This can be done by either:
*equipping the firearm and tapping {{key|R}} (the fullest magazine will be inserted).
*equipping the firearm and tapping {{key|R}} (the fullest magazine will be inserted).
*equipping the firearm and holding {{key|R}}, then selecting "Insert Magazine".
*equipping the firearm and holding {{key|R}}, then selecting "Insert Magazine".
*right-cliking the the magazine or firearm in the player's inventory, then selecting "Insert Magazine".
*right-clicking the magazine or firearm in the player's inventory, then selecting "Insert Magazine".


A magazine can be filled with rounds while walking (upright or crouched), but not running or sprinting.
A magazine can be filled with rounds while walking (upright or crouched), but not running or sprinting.
Line 42: Line 42:
|-
|-
| {{Img_item|item=9mmClip}}
| {{Img_item|item=9mmClip}}
| '''9mm Magazine'''
| '''{{Img_item/name|item=9mmClip}}'''
| {{Img_item|item=Pistol}}
| {{Img_item|item=Pistol}}
| {{Img_item|item=Bullets9mm}}
| {{Img_item|item=Bullets9mm}}
Line 49: Line 49:
|-
|-
| {{Img_item|item=45Clip}}
| {{Img_item|item=45Clip}}
| '''.45 Auto Magazine'''
| '''{{Img_item/name|item=45Clip}}'''
| {{Img_item|item=Pistol2}}
| {{Img_item|item=Pistol2}}
| {{Img_item|item=Bullets45}}
| {{Img_item|item=Bullets45}}
Line 56: Line 56:
|-
|-
| {{Img_item|item=44Clip}}
| {{Img_item|item=44Clip}}
| '''.44 Magazine'''
| '''{{Img_item/name|item=44Clip}}'''
| {{Img_item|item=Pistol3}}
| {{Img_item|item=Pistol3}}
| {{Img_item|item=Bullets44}}
| {{Img_item|item=Bullets44}}
Line 63: Line 63:
|-
|-
| {{Img_item|item=223Clip}}
| {{Img_item|item=223Clip}}
| '''.223 Magazine'''
| '''{{Img_item/name|item=223Clip}}'''
| ''none''<!--{{Img_item|item=VarmintRifle}}-->
| ''none''<!--{{Img_item|item=VarmintRifle}}-->
| {{Img_item|item=223Bullets}}
| {{Img_item|item=223Bullets}}
Line 70: Line 70:
|-
|-
| {{Img_item|item=308Clip}}
| {{Img_item|item=308Clip}}
| '''.308 Magazine'''
| '''{{Img_item/name|item=308Clip}}'''
| {{Img_item|item=HuntingRifle}}
| {{Img_item|item=HuntingRifle}}
| {{Img_item|item=308Bullets}}
| {{Img_item|item=308Bullets}}
Line 77: Line 77:
|-
|-
| {{Img_item|item=556Clip}}
| {{Img_item|item=556Clip}}
| '''.556 Magazine'''
| '''{{Img_item/name|item=556Clip}}'''
| {{Img_item|item=AssaultRifle}}
| {{Img_item|item=AssaultRifle}}
| {{Img_item|item=556Bullets}}
| {{Img_item|item=556Bullets}}
Line 84: Line 84:
|-
|-
| {{Img_item|item=M14Clip}}
| {{Img_item|item=M14Clip}}
| '''.308 Magazine'''
| '''{{Img_item/name|item=M14Clip}}'''
| {{Img_item|item=AssaultRifle2}}
| {{Img_item|item=AssaultRifle2}}
| {{Img_item|item=308Bullets}}
| {{Img_item|item=308Bullets}}
Line 94: Line 94:
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''


{{Img_item|item=9mmClip}} '''''9mm Magazine'''''
{{Img_item|item=9mmClip}} '''''{{Img_item/name|item=9mmClip}}'''''
{{Retrieved|version=41|incver=52}}
{{Retrieved|version=41|incver=78.16}}
<pre>    item 9mmClip
<pre>    item 9mmClip
     {
     {
        DisplayCategory = Ammo,
         CanStack = FALSE,
         CanStack = FALSE,
         Weight = 0.2,
         Weight = 0.2,
Line 107: Line 108:
         StaticModel = GunMagazine,
         StaticModel = GunMagazine,
         GunType = Base.Pistol,
         GunType = Base.Pistol,
        WorldStaticModel = Gun_Magazine_Ground,
     }</pre>
     }</pre>




{{Img_item|item=9mmClip}} '''''.45 Auto Magazine'''''
{{Img_item|item=45Clip}} '''''{{Img_item/name|item=45Clip}}'''''
{{Retrieved|version=41|incver=52}}
{{Retrieved|version=41|incver=78.16}}
<pre>    item 45Clip
<pre>    item 45Clip
     {
     {
        DisplayCategory = Ammo,
         CanStack = FALSE,
         CanStack = FALSE,
         Weight = 0.2,
         Weight = 0.2,
Line 123: Line 126:
         StaticModel = GunMagazine,
         StaticModel = GunMagazine,
         GunType = Base.Pistol2,
         GunType = Base.Pistol2,
        WorldStaticModel = Gun_Magazine_Ground,
     }</pre>
     }</pre>




{{Img_item|item=9mmClip}} '''''.44 Magazine'''''
{{Img_item|item=44Clip}} '''''{{Img_item/name|item=44Clip}}'''''
{{Retrieved|version=41|incver=52}}
{{Retrieved|version=41|incver=78.16}}
<pre>    item 44Clip
<pre>    item 44Clip
     {
     {
        DisplayCategory = Ammo,
         CanStack = FALSE,
         CanStack = FALSE,
         Weight = 0.2,
         Weight = 0.2,
Line 139: Line 144:
         StaticModel = GunMagazine,
         StaticModel = GunMagazine,
         GunType = Base.Pistol3,
         GunType = Base.Pistol3,
        WorldStaticModel = Gun_Magazine_Ground,
     }</pre>
     }</pre>




{{Img_item|item=9mmClip}} '''''.223 Magazine'''''
{{Img_item|item=223Clip}} '''''{{Img_item/name|item=223Clip}}'''''
{{Retrieved|version=41|incver=52}}
{{Retrieved|version=41|incver=78.16}}
<pre>    item 223Clip
<pre>    item 223Clip
     {
     {
        DisplayCategory = Ammo,
         CanStack = FALSE,
         CanStack = FALSE,
         Weight = 0.2,
         Weight = 0.2,
Line 155: Line 162:
         StaticModel = GunMagazine,
         StaticModel = GunMagazine,
         /*GunType = Base.VarmintRifle,*/
         /*GunType = Base.VarmintRifle,*/
        WorldStaticModel = Gun_Magazine_Ground,
     }</pre>
     }</pre>




{{Img_item|item=9mmClip}} '''''.308 Magazine'''''
{{Img_item|item=308Clip}} '''''{{Img_item/name|item=308Clip}}'''''
{{Retrieved|version=41|incver=52}}
{{Retrieved|version=41|incver=78.16}}
<pre>    item 308Clip
<pre>    item 308Clip
     {
     {
        DisplayCategory = Ammo,
         CanStack = FALSE,
         CanStack = FALSE,
         Weight = 0.2,
         Weight = 0.2,
Line 171: Line 180:
         StaticModel = GunMagazine,
         StaticModel = GunMagazine,
         GunType = Base.HuntingRifle,
         GunType = Base.HuntingRifle,
     }</pre>
        WorldStaticModel = Gun_Magazine_Ground,
     }
</pre>




{{Img_item|item=9mmClip}} '''''.556 Magazine'''''
{{Img_item|item=556Clip}} '''''{{Img_item/name|item=556Clip}}'''''
{{Retrieved|version=41|incver=52}}
{{Retrieved|version=41|incver=78.16}}
<pre>    item 556Clip
<pre>    item 556Clip
     {
     {
        DisplayCategory = Ammo,
         CanStack = FALSE,
         CanStack = FALSE,
         Weight = 0.2,
         Weight = 0.2,
Line 187: Line 199:
         StaticModel = GunMagazine,
         StaticModel = GunMagazine,
         GunType = Base.AssaultRifle,
         GunType = Base.AssaultRifle,
        WorldStaticModel = Gun_Magazine_Ground,
     }</pre>
     }</pre>




{{Img_item|item=9mmClip}} '''''.308 Magazine'''''
{{Img_item|item=M14Clip}} '''''{{Img_item/name|item=M14Clip}}'''''
{{Retrieved|version=41|incver=52}}
{{Retrieved|version=41|incver=78.16}}
<pre>    item M14Clip
<pre>    item M14Clip
     {
     {
        DisplayCategory = Ammo,
         CanStack = FALSE,
         CanStack = FALSE,
         Weight = 0.2,
         Weight = 0.2,
Line 203: Line 217:
         StaticModel = GunMagazine,
         StaticModel = GunMagazine,
         GunType = Base.AssaultRifle2,
         GunType = Base.AssaultRifle2,
        WorldStaticModel = Gun_Magazine_Ground,
     }</pre>
     }</pre>



Revision as of 13:19, 8 July 2023

The Game WorldItemsWeaponsFirearmsWeapon PartsMagazine (firearms)
Magazine (firearms)
Magazine (firearms)
Magazine (icon)
General
Category Ammo
Encumbrance
Heavy Load
0.2
Part type Magazine
Technical details
Item ID See Types

A magazine stores ammo to feed into a firearm.

Usage

A magazine is required in many firearms to load more than one round at a time. Firearms that use magazines are much quicker to fully reload, as only a single magazine needs to be inserted, whereas non-magazine firearms need to have each round loaded separately. Each magazine can only be inserted into certain firearms, and loaded with specific rounds.

Reloading

A magazine can be reloaded by either:

  • right-clicking the magazine in the player's inventory, then selecting "Insert X Bullets in Magazine".
  • equipping the firearm and holding R, then selecting "Load Bullets into Spare Magazine".

Both options will result in the player inserting one round at a time until the magazine is filled, unless interrupted.
Once filled, the magazine can then be inserted into the firearm. This can be done by either:

  • equipping the firearm and tapping R (the fullest magazine will be inserted).
  • equipping the firearm and holding R, then selecting "Insert Magazine".
  • right-clicking the magazine or firearm in the player's inventory, then selecting "Insert Magazine".

A magazine can be filled with rounds while walking (upright or crouched), but not running or sprinting.

Types

Icon Name Weapons Ammo Capacity Base ID
M9 Magazine M9 Magazine M9 Pistol 9mm Round 15 Base.9mmClip
M1911 Auto Magazine M1911 Auto Magazine M1911 Pistol .45 Auto Round 7 Base.45Clip
D-E Magazine D-E Magazine D-E Pistol .44 Magnum Round 8 Base.44Clip
MSR700 Magazine MSR700 Magazine none .223 Round 3 Base.223Clip
MSR788 Magazine MSR788 Magazine MSR788 Rifle .308 Round 3 Base.308Clip
M16 Magazine M16 Magazine M16 Assault Rifle 5.56mm Round 30 Base.556Clip
M14 Magazine M14 Magazine M14 Rifle .308 Round 20 Base.M14Clip

Code

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

M9 Magazine M9 Magazine Retrieved: Build 41.78.16

    item 9mmClip
    {
        DisplayCategory = Ammo,
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	9mm Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 15,
        AmmoType = Base.Bullets9mm,
        StaticModel = GunMagazine,
        GunType = Base.Pistol,
        WorldStaticModel = Gun_Magazine_Ground,
    }


M1911 Auto Magazine M1911 Auto Magazine Retrieved: Build 41.78.16

    item 45Clip
    {
        DisplayCategory = Ammo,
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.45 Auto Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 7,
        AmmoType = Base.Bullets45,
        StaticModel = GunMagazine,
        GunType = Base.Pistol2,
        WorldStaticModel = Gun_Magazine_Ground,
    }


D-E Magazine D-E Magazine Retrieved: Build 41.78.16

    item 44Clip
    {
        DisplayCategory = Ammo,
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.44 Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 8,
        AmmoType = Base.Bullets44,
        StaticModel = GunMagazine,
        GunType = Base.Pistol3,
        WorldStaticModel = Gun_Magazine_Ground,
    }


MSR700 Magazine MSR700 Magazine Retrieved: Build 41.78.16

    item 223Clip
    {
        DisplayCategory = Ammo,
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.223 Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 3,
        AmmoType = Base.223Bullets,
        StaticModel = GunMagazine,
        /*GunType = Base.VarmintRifle,*/
        WorldStaticModel = Gun_Magazine_Ground,
    }


MSR788 Magazine MSR788 Magazine Retrieved: Build 41.78.16

    item 308Clip
    {
        DisplayCategory = Ammo,
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.308 Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 3,
        AmmoType = Base.308Bullets,
        StaticModel = GunMagazine,
        GunType = Base.HuntingRifle,
        WorldStaticModel = Gun_Magazine_Ground,
    }


M16 Magazine M16 Magazine Retrieved: Build 41.78.16

    item 556Clip
    {
        DisplayCategory = Ammo,
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.556 Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 30,
        AmmoType = Base.556Bullets,
        StaticModel = GunMagazine,
        GunType = Base.AssaultRifle,
        WorldStaticModel = Gun_Magazine_Ground,
    }


M14 Magazine M14 Magazine Retrieved: Build 41.78.16

    item M14Clip
    {
        DisplayCategory = Ammo,
        CanStack	=	FALSE,
        Weight	=	0.2,
        Type	=	Normal,
        DisplayName	=	.308 Magazine,
        Icon	=	BerettaClip,
        MaxAmmo = 20,
        AmmoType = Base.308Bullets,
        StaticModel = GunMagazine,
        GunType = Base.AssaultRifle2,
        WorldStaticModel = Gun_Magazine_Ground,
    }


See also