ColourfulFlashlights

v4.0.1·Updated 2025-11-13

Customise the colour (color) of your flashlights! Syncs with other players!

About this mod Author’s original text

Colourful Flashlights

Change the colour (color) of your flashlight via the terminal in the company ship! Multiplayer compatible, syncs with other players!

Select from some built-in colours or effects, use any hexadecimal colour code or define presets in a configuration file!

Terminal options

| Command | Colour/Function | Example |

| ------------------- |:-------------------------------------------------------------: |:---------------: |

| cf white | White (Game default) |

| cf blue | Blue |

| cf red | Red |

| cf green | Green |

| cf yellow | Yellow |

| cf pink | Pink |

| cf orange | Orange |

| cf purple | Purple |

| cf \ | Use a hex colour code | cf #FF22BB |

| cf rainbow \ | A smooth rainbow effect. Speed is an integer 1-20 | cf rainbow 10 |

| cf disco \ | Flicks between some colours. Speed is an integer 1-20 | cf disco 8 |

| cf random | Toggling your flashlight off/on picks a random colour each time |

| cf health | White when 100% health and transitions to red as health lowers |

| cf preset \ | Load a preset you defined in UserPresets.json | cf preset example |

| cf speed \ | Adjust the speed of an effect, providing an integer 1-20 | cf speed 5 |

| cf save \ | Save your current flashlight state as a preset | cf save frog |

| cf state | View details on your current flashlight state |

| cf help | View the help page |

| cf | View the mod page |

Presets

You can create presets in BepInEx/config/ColourfulFlashlights/UserPresets.json

_Note: You do not need to restart the game for your changes to be loaded._

The format is an array of objects defining a name, mode, speed and an array of hexadecimal colours.

name is a string that must be unique from other preset names, case-insensitive, max 15 characters long.

mode is an integer (see table below for options).

speed is an integer 1-20, with 1 being the slowest and 20 the fastest. Can be omitted for modes that don't require it.

colours is an array of strings, which must be hexadecimal colour codes, e.g. ["#FF00BB", "#CC5500"]

To load a preset in game, use cf preset in the terminal.

You can save the current state of your flashlight with the cf save command. If you provide a name of an existing preset, that preset will be overwritten. Preset names are case-insensitive and limited to 15 characters in length.

Modes

| Mode Integer | Mode Name | Details |

| ------------ |:----------: |:----------------------------------------------------------------: |

| 0 | Fixed | A fixed colour |

| 1 | Cycle | Cycles (flicks) through colours |

| 2 | Smooth Cycle | Smoothly cycles (transitions) through colours |

| 3 | Random | Randomly chooses a new colour when the flashlight is turned on |

| 4 | Health | Changes smoothly from one colour to another based on player health |

Fixed Mode

{

name: "foo",

mode: 0,

colours: ["#3BC4E3"]

}

Even if you have more colours in the array, only the first one is used to make a fixed flashlight.

Cycle and Smooth Cycle Modes

{

name: "foo",

mode: 1,

speed: 8,

colours: ["#3BC4E3", "#E07EC8", "#FFFFFF", "#ED0057", "#ED7700"]

}

In cycle mode, the flashlight will swap through the colours at a rate determined by the speed option.

Setting mode to 2 will create a smooth cycle, the flashlight will transition smoothly, while blending from one colour to the next.

Random Mode

{

name: "foo",

mode: 3,

colours: ["#3FF707", "#005CFF", "#FF0000", "#FF7C4B"]

}

Random mode will choose a new colour from the provided colours at random, each time the flashlight is turned off and then back on.

If no colours are provided, then a random colour will be generated each time (behaviour of the built in cf random option).

Health Mode

{

name: "foo",

mode: 4,

colours: ["#005CFF", "#FF0000"]

}

In health mode, the flashlight will update based on it's holder's current health.

The first colour in the array is 100% health and the second is 10% health. For health values between 100% and 10%, the colour will be interpolated. In this example, starting with a blue colour and ge

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
ColourfulFlashlights-4.0.1.zip
File size
95.0 KiB