Gun Light

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]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D model
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
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 gun light can be attached to the M9 pistol, M1911 pistol, and the D-E pistol like similar 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.

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
garagestorage locker 4 6
gunstore counter 4 6

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