Gun Light

From PZwiki
Revision as of 14:09, 17 February 2024 by DevoTan (talk | contribs) (Created & filled out page in the style of the Bayonet page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Header/sandbox2

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.
This article is about an item or mechanic that is currently unimplemented and planned for a future version.
It has either been previewed or found in the game files and does not exist yet.
Gun Light
Gun Light
General
Category
Weapon Part
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Used in
HandGun3.png HandGun2.png HandGun.png
Part type
Canon
Performance
Aiming time
5
Encumbrance mod.
0.2
Technical
Item ID
Base.GunLight

A gun light is an upcoming weapon part.

Usage

Having the gun light attached to a weapon currently has no function.

Attach

The bayonet can be attached to the M9 pistol, M1911 pistol, and the D-E pistol like similiar weapon mods. A screwdriver, any of the aforementioned pistols and the weapon mod must be in a nearby inventory, then press RMB on the pistol and select "Upgrade" > "Gun Light".

The gun light can only be obtained in debug mode.

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 GunLight
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = Gun Light,
        Icon = RedDot,
        Weight = 0.2,
        WeightModifier = 0.2,
        AimingTimeModifier = 5,
        MountOn = Pistol; Pistol2; Pistol3,
        PartType = Canon,
        StaticModel = GunLight,
        MetalValue = 15,
        WorldStaticModel = Handgun_Light_Ground,
    }

See also