Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Bayonet

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
PictureKate.png
This is a future feature.
It has either been previewed or found in the game files and does not exist yet.
Bayonet
Bayonet
General
Category
Weapon Part
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Used in
link=MSR700 Rifle{lcs}link=MSR788 Rifle{lcs}
Part type
Canon
Properties
Metal quantity
15
Performance
Encumbrance mod.
0.2
Technical
Item ID
Base.Bayonnet

A bayonet is an upcoming weapon part.

Usage

Having the bayonet attached to a weapon currently has no function.

Attach

The bayonet can be attached to the MSR700 rifle and MSR788 rifle like any other weapon mod. A screwdriver, either one of the rifles and the weapon mod must be in a nearby inventory, then press RMB on the rifle and select "Upgrade" > "Bayonet".

Location

The bayonet can only be obtained in debug mode or spawned by an admin in multiplayer.

History

Base.Bayonnet

Version Description
Build 41.65 DisplayCategory added with value WeaponPart.
Build 41.54 WorldStaticModel added with value Rifle_Bayonet_Ground.
Build 41.45 Released on this version.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Bayonnet
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = Bayonnet,
        Icon = HuntingKnife,
        Weight = 0.2,
        WeightModifier = 0.2,
        AimingTimeModifier = 5,
        MountOn = VarmintRifle; HuntingRifle,
        PartType = Canon,
        StaticModel = Bayonnet,
        MetalValue = 15,
        WorldStaticModel = Rifle_Bayonet_Ground,
    }

See also