Mother DocsMother Docs
Buy me a Coffee
Steam Workshop
Discord
  • Mother OS (Ingame Script)
Buy me a Coffee
Steam Workshop
Discord
  • Mother OS (Ingame Script)
  • Mother OS (Ingame Script)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Command Line Interface (CLI)
      • Configuration
      • Modules
    • Core Modules

      • Activity Monitor
      • Almanac
      • Block Catalogue
      • Local Storage
      • Security
      • Intergrid Message Service
    • Extension Modules

      • Air Vent Module
      • Battery Module
      • Terminal Block Module
      • Cockpit Module
      • Connector Module
      • Display Module
      • Docking Module
      • Door Module
      • Flight Control Module
      • Gas Tank Module
      • Gyroscope Module
      • Hinge Module
      • Landing Gear Module
      • Light Module
      • Flight Planning Module
      • Piston Module
      • Programmable Block Module
      • Rotor Module
      • Sensor Module
      • Sound Block Module
      • Thruster Module
      • Timer Block Module
    • Command Cheatsheet
    • Compatibility
    • Examples
  • Powered By Mother

Light Module

The light module allows the user to control lights on the grid. Players can now dynamically control light color and blinking. Use this to take your landing pads and warning lights to the next level.

  • Commands
    • color
    • blink
    • reset

Commands

color

Set the color of a light or group of lights. The color of the light is RGB ie. 255,255,255.

light/color <Light|Group> <color>

You have access to the following colors which may be used in place of their RGB values:

NameRGBHexidecimal
red255,0,0FF0000
green0,255,000FF00
blue0,0,2550000FF
yellow255,255,0FFFF00
orange255,165,0FFA500
cyan0,255,25500FFFF
magenta255,0,255FF00FF
white255,255,255FFFFFF
black0,0,0000000

Example

Terminal
# by name
light/color LandingLight red;
# by RGB
light/color LandingLight 255,0,0;

blink

Make a light blink at an interval in seconds.

light/blink <Light|Group> <interval> [--options]

You have access to several blinks which may be used instead of the value in seconds:

NameBlink Interval (s)Blink Length (%)Blink Offset (%)Example
off 000off-red off-green off-blue
slow 3300slow-red slow-green slow-blue
med1500med-red med-green med-blue
fast0.25500fast-red fast-green fast-blue

Options

OptionValuesUnitDescription
length0 - 1intSet the blink length of the light. Default is 0.5 (50%).
offset0 - 1intSet the blink offset of the light. Default is 0 (0%).

Example

Terminal
# using preset
light/blink SignalLight slow;

# using values and options
light/blink SignalLight 3 --length=0.3 --offset=0;

reset

Reset a light or group of lights to white and cease any blinking.

light/reset <Light|Group>

Example

Terminal
light/reset SignalLight;
Last Updated:: 3/20/25, 8:40 PM
Contributors: Luke Morrison
Prev
Landing Gear Module
Next
Flight Planning Module