No Gunlights

v1.0.0·Updated 2023-12-14

You have a headlamp. Why are you bothering to use tactical gun-mounted flashlights?

About this mod Author’s original text

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.

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
  3. For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
  4. Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.

Install locations vary a lot between mods — the bundled readme is the most reliable guide.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack_GTFOdakkhuza-MTFO

File & checksum

Filename
No_Gunlights-1.0.0.zip
File size
117.2 KiB