File information

Last updated

Original upload

Created by

LarannKiar

Uploaded by

LarannKiar

Virus scan

Safe to use

Tags for this mod

About this mod

Customize your Helmet Flashlight however you like.

Requirements
Permissions and credits
About this mod:

SFSE plugin lets you customize your Helmet Flashlight's Color ("RGB"), Brightness ("Intensity"), FOV ("Radius") and Range ("Distance").


How to customize the Flashlight:

1) Either use the new native command SetLightData, or

2) Edit Lumin.ini manually.


About settings and Lumin.ini:

Your settings are stored in an .ini file: Lumin.ini. By default, it is in "../Starfield/Data/SFSE/Plugins/Lumin.ini".

By default, it contains the vanilla Flashlight settings.




iRediGreeniBlue: color code. Valid range: 0 - 255 (true black = 0,0,0; white = 255,255,255). Type "rgb (225,239,247)" in Google to see the vanilla flashlight color for example. (Vanilla: 225, 239, 247).

iRadius: controls the FOV. Valid range: 0 - 150 (no flashlight = 0; "Shine like a Star!" = 150). (Vanilla: 50).

fIntensity: controls brightness. Valid range: 0 - 10. (Vanilla: 4). (It accepts fractal numbers too like 0.25, for precision).

iDistance: maximum distance the light is emitted. (Vanilla: 25 meters).


SetLightData:

Lets you customize the flashlight ingame without having to open and edit Lumin.ini. Type SetLightData alone, without any parameter to see the order of the 7 (optional) parameters it can accept. Regarding "opional", typing -1 for a parameter means that parameter will be ignored (i.e., "do not change the respective setting, instead, use the one from the .ini").

SyntaxSetLightData R G B Radius Intensity Distance IniManagerCommand

ExampleSetLightData 255 20 -1 75 0.5 50 1

The above command would set the Red color value to 255, the Green to 20, leave Blue as it is, set Radius (FOV) to 75, the Intensity (Brightness) to 0.5, the Distance (Range) to 50 (meters) and save these settings to Lumin.ini.



About the IniManagerCommand:

You don't have to save the settings from the console input to the .ini if you wouldn't like to. You can test them before you'd overwrite the previously saved ones. This is why I added this 7th parameter. If it's 1, then SetLightData would write the provided settings from the console to Lumin.ini. If it's 2, then SetLightData would ignore all (yes, all) previous parameters and apply the ones from the .ini. (Technically, it means "RefreshIni" where all settings are restored from the .ini). Any other value means "do not do anything with the .ini".


Compilation:
1: Very High Range, Very Low FOV, High Brightness
2: High Range, Very High FOV, Low Brightness
3: Very High Range, Very High FOV,  High Brightness


Brightness Switch with Very Low FOV


SetLightData
(introduced in v2.0)


Requirements:

Starfield Script Extender


Install/Uninstall:

Install: either with your mod manager or extract the archive in {...Steam installation folder}\Starfield\Data, just like any SFSE plugins.

Uninstall: either with mod manager or simply remove the extracted plugin file. It doesn't make any permanent changes to your game or save files and can be uninstalled anytime.