GTFO
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
3 years ago
Downloads
1.4K
Size
120KB

No Gunlights

Description

A relatively simple datablock change that disables all gun flashlights, forcing the game to only use your headlamp. This means that your flashlight no longer changes when you switch guns, and doesn't wave around when you sprint!

If you want to change the headlamp's color or brightness, browse into the mod's folder and modify this first section in "GameData_FlashlightSettingsDataBlock_bin.json":

{
"range": 11.0,
"angle": 40.0,
"intensity": 0.35,
"cookie": "Assets/Standard Assets/Effects/LightCookies/Textures/FlashlightCookieSquareLantern.tif",
"color": {
"a": 1.0,
"r": 1.0,
"g": 0.963096559,
"b": 0.7311321
},
"startupShard": 19,
"name": "HelmetLight",
"internalEnabled": true,
"persistentID": 1
},

"a" is alpha (leave at 1.0), "r" is red channel, "g" is green channel, "b" is blue channel.

If you want a less-yellow, slightly wider headlamp, here are the settings we use:

"range": 12.0,
"angle": 60.0,
"intensity": 0.4,
"cookie": "Assets/Standard Assets/Effects/LightCookies/Textures/FlashlightCookieSquareLantern.tif",
"color": {
"a": 1.0,
"r": 1.0,
"g": 0.9909915,
"b": 0.8726415

Incompatible with any mods that modify PlayerOfflineGear.

Installation

R2ModMan: Click the install button.

Manual: Drop the plugins folder into your BepInEx folder in your GTFO install location.

Changelog

1.0.0

  • Initial release.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.