Back to NxLabs

NxLabs / Vintage Story

Lantern Projection

GBy Gumbyohson

Projects a light infront of you from your lantern

Lantern Projection

Description

I always found that the lantern light is super useful at night, but the range was lacking, especially if traveling by Elk. This mod spawns a Light entity infront of you in addition to your lantern light. 

There is a slight delay as you move and rotate (to save on CPU cycles and prevent lag).

 

Any issues, please report in the github issues page.

This mod is configurable to several options detailed below.

Configuration options
"UpdateIntervalMs": 50, //How often the light source updates it's location.
"LightDistance": 8, //How far the light appears from you.
"PositionChangeThreshold": 0.2, //How far you need to move for the projection to move.
"RotationChangeThresholdDegrees": 2.0, //How far you need to turn for the projection to move.
"EnableVanillaLanterns": true, //Enable if default lanterns should create the projected light.
"RequirePreciousLining": false, //Enable if only lanterns with Electrum, Silver, or Gold linings should create the projected light.
"EnableABCSReduxBackpacks": false, //Configures if ABCS lantern backpacks should create the projected light.
"EnableFueledWearableLights": false, //Configures if Fueled wearable lights headlamps should create the projected light.
"EnableAdventurersWalkingStick": false, //Configures if Adventurere's walking stick lanterns should create the projected light.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.