A flashlight made with GZDoom's spotlights. The beam is divided into a hotspot and spill, with an optional bounce light. The bounce looks bad as often as it looks good, in my opinion, so it's off by default (range set to 0). The flashlight flickers when its power is low, and flickers more the lower it gets. In this PK3, the flashlight is a weapon, but the beam itself is controlled by a powerup, so it should be easy to change it into an inventory item, give it to monsters, etc.
Changes:
v1.0.2
- If energy type is "", flicker is controlled by powerup duration.
- If flicker threshold is < 0, it's assumed to represent a number of seconds.
- Swapped x & y beam offsets, since they were the wrong way around.