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

Hinge Module

The hinge module allows the user to control hinges on the grid. Hinges are particularly vulnerable to phantom forces and the Almighty Clang, so we leverage the Activity Monitor to ensure hinges are stopped and locked when not in use. Players can simply define an angle and speed of rotation without worrying about direction, upper/lower limits, or their grid ripping itself apart.

  • Commands
    • rotate
    • lock
    • unlock
    • reset
    • speed

Commands

rotate

Rotate a hinge or group of hinges to a specific angle between -90 degrees and 90 degrees.

hinge/rotate <Hinge|Group> <Angle> [--options]

Options

OptionValuesUnitDescription
speed-5.0 - 5.0RPMSet the speed of the hinge. Negative values will reverse the hinge. Default is 1 RPM.

Example

Terminal
hinge/rotate LandingGearHinge 90;

lock

Lock a hinge or group of hinges.

hinge/lock <Hinge|Group>

Example

Terminal
hinge/lock LandingGearHinge;

unlock

Unlock a hinge or group of hinges.

hinge/unlock <Hinge|Group>

Example

Terminal
hinge/unlock LandingGearHinge;

reset

Reset a hinge or group of hinges to their original position (0 degrees).

hinge/reset <Hinge|Group>

Example

Terminal
hinge/reset LandingGearHinge;

speed

Set the speed of a hinge or group of hinges in RPM.

hinge/speed <hinge|Group> <Speed> <Options>

Options

OptionValuesUnitDescription
addIndicates that the provided speed should be added to the current speed. Allows increment speed changes while in motion.
subIndicates that the provided speed should be subtracted from the current speed. Allows decremental speed changes while in motion.

Example

Set speed to 2 RPM:

Terminal
hinge/speed LandingGearHinge 2;

Increase speed by 2.5 RPM:

Terminal
hinge/speed LandingGearHinge 2.5 --add;

Decrease speed by 1 RPM:

Terminal
hinge/speed LandingGearHinge 1 --sub;
Last Updated:: 3/20/25, 8:40 PM
Contributors: Luke Morrison
Prev
Gyroscope Module
Next
Landing Gear Module