Gun Light
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
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 snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
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,
}