Magazine (firearms): Difference between revisions

From PZwiki
Magazine (firearms)
(Split pages, add redirect)
Tag: New redirect
 
(27 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages}}
#REDIRECT [[Magazine (disambiguation)]]
{{header|The Game World|Items|Weapons|Firearms|Weapon Parts|type=Weapon|version=Version 41|incver=52}}
{{Infobox weapon mod
|display_name = Magazine (firearms)
|name_colour = Weapon
|name_text_colour = Weapon
|image = GunMagazine Model.png
|image_width = 320px
|alternate_image = BerettaClip.png
|alternate_name = Magazine (icon)
<!--GENERAL-->
|category = Normal
|weight = 0.2
|part_type = Magazine
<!--TECHNICAL DETAILS-->
|class_name = ''See [[#Types|Types]]''
}}A '''magazine''' stores [[Items#Ammo|ammo]] to feed into a [[Items#Firearm|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 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.
 
===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 {{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.
<br>Once filled, the magazine can then be inserted into the firearm. This can done by either:
*equipping the firearm and tapping {{key|R}} (the fullest magazine will be inserted).
*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".
 
A magazine can be filled with rounds while walking (upright or crouched), but not running or sprinting.
 
==Types==
{| class="pztable" style="text-align:center;"
! width="50px" | Icon
! width="200px" | Name
! Weapons
! Ammo
! Capacity
! width="220px" | Base ID
|-
| {{Img_item|item=9mmClip}}
| '''9mm Magazine'''
| {{Img_item|item=Pistol}}
| {{Img_item|item=Bullets9mm}}
| 15
| {{ID|Base.9mmClip}}
|-
| {{Img_item|item=45Clip}}
| '''.45 Auto Magazine'''
| {{Img_item|item=Pistol2}}
| {{Img_item|item=Bullets45}}
| 7
| {{ID|Base.45Clip}}
|-
| {{Img_item|item=44Clip}}
| '''.44 Magazine'''
| {{Img_item|item=Pistol3}}
| {{Img_item|item=Bullets44}}
| 8
| {{ID|Base.44Clip}}
|-
| {{Img_item|item=223Clip}}
| '''.223 Magazine'''
| ''none''<!--{{Img_item|item=VarmintRifle}}-->
| {{Img_item|item=223Bullets}}
| 3
| {{ID|Base.308Clip}}
|-
| {{Img_item|item=223Clip}}
| '''.308 Magazine'''
| {{Img_item|item=HuntingRifle}}
| {{Img_item|item=308Bullets}}
| 3
| {{ID|Base.308Clip}}
|-
| {{Img_item|item=556Clip}}
| '''.556 Magazine'''
| {{Img_item|item=AssaultRifle}}
| {{Img_item|item=556Bullets}}
| 3
| {{ID|Base.556Clip}}
|-
| {{Img_item|item=M14Clip}}
| '''.308 Magazine'''
| {{Img_item|item=AssaultRifle2}}
| {{Img_item|item=308Bullets}}
| 3
| {{ID|Base.M14Clip}}
|}
 
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
 
{{Img_item|item=9mmClip}} '''''9mm Magazine'''''
{{Retrieved|version=41|incver=52}}
<pre>    item 9mmClip
    {
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = 9mm Magazine,
        Icon = BerettaClip,
        MaxAmmo = 15,
        AmmoType = Base.Bullets9mm,
        StaticModel = GunMagazine,
        GunType = Base.Pistol,
    }</pre>
 
 
{{Img_item|item=9mmClip}} '''''.45 Auto Magazine'''''
{{Retrieved|version=41|incver=52}}
<pre>    item 45Clip
    {
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .45 Auto Magazine,
        Icon = BerettaClip,
        MaxAmmo = 7,
        AmmoType = Base.Bullets45,
        StaticModel = GunMagazine,
        GunType = Base.Pistol2,
    }</pre>
 
 
{{Img_item|item=9mmClip}} '''''.44 Magazine'''''
{{Retrieved|version=41|incver=52}}
<pre>    item 44Clip
    {
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .44 Magazine,
        Icon = BerettaClip,
        MaxAmmo = 8,
        AmmoType = Base.Bullets44,
        StaticModel = GunMagazine,
        GunType = Base.Pistol3,
    }</pre>
 
 
{{Img_item|item=9mmClip}} '''''.223 Magazine'''''
{{Retrieved|version=41|incver=52}}
<pre>    item 223Clip
    {
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .223 Magazine,
        Icon = BerettaClip,
        MaxAmmo = 3,
        AmmoType = Base.223Bullets,
        StaticModel = GunMagazine,
        /*GunType = Base.VarmintRifle,*/
    }</pre>
 
 
{{Img_item|item=9mmClip}} '''''.308 Magazine'''''
{{Retrieved|version=41|incver=52}}
<pre>    item 308Clip
    {
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .308 Magazine,
        Icon = BerettaClip,
        MaxAmmo = 3,
        AmmoType = Base.308Bullets,
        StaticModel = GunMagazine,
        GunType = Base.HuntingRifle,
    }</pre>
 
 
{{Img_item|item=9mmClip}} '''''.556 Magazine'''''
{{Retrieved|version=41|incver=52}}
<pre>    item 556Clip
    {
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .556 Magazine,
        Icon = BerettaClip,
        MaxAmmo = 30,
        AmmoType = Base.556Bullets,
        StaticModel = GunMagazine,
        GunType = Base.AssaultRifle,
    }</pre>
 
 
{{Img_item|item=9mmClip}} '''''.308 Magazine'''''
{{Retrieved|version=41|incver=52}}
<pre>    item M14Clip
    {
        CanStack = FALSE,
        Weight = 0.2,
        Type = Normal,
        DisplayName = .308 Magazine,
        Icon = BerettaClip,
        MaxAmmo = 20,
        AmmoType = Base.308Bullets,
        StaticModel = GunMagazine,
        GunType = Base.AssaultRifle2,
    }</pre>
 
 
==See also==
*[[Weapon mods]]
*[[Weapons]]
 
 
{{clear}}

Latest revision as of 22:08, 16 March 2024