Mother DocsMother Docs
Buy me a Coffee
Steam Workshop
Discord
  • Cheatsheet
  • Announcements
  • Mother OS (Ingame Script)
  • Mother GUI
  • Mother Autopilot System (MAPS)
  • Printed by Mother
  • Mother Core (Script Framework)
  • Mother Dev Tools
  • Motherland
  • Powered by Mother
  • Brand Guidelines
Buy me a Coffee
Steam Workshop
Discord
  • Cheatsheet
  • Announcements
  • Mother OS (Ingame Script)
  • Mother GUI
  • Mother Autopilot System (MAPS)
  • Printed by Mother
  • Mother Core (Script Framework)
  • Mother Dev Tools
  • Motherland
  • Powered by Mother
  • Brand Guidelines
  • Cheatsheet
  • Announcements
  • Mother OS (Script)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Command Line Interface (CLI)
      • Conditional Logic
      • Configuration
    • Modules
      • Activity Monitor
      • Air Vent Module
      • Almanac
      • AutoLCD Module
      • Battery Module
      • Block Catalogue
      • Broadcast Controller Module
      • Cockpit Module
      • Connector Module
      • Display Module
      • Door Module
      • Gas Tank Module
      • Hinge Module
      • Intergrid Message Service
      • Jump Drive Module
      • Landing Gear Module
      • Light Module
      • Local Storage
      • Merge Block Module
      • Piston Module
      • Programmable Block Module
      • Rotor Module
      • Screen Module
      • Sensor Module
      • Separation Charge Module
      • Sorter Module
      • Sound Block Module
      • Terminal Block Module
      • Thruster Module
      • Timer Block Module
      • Wheel Module
    • Compatibility
    • Troubleshooting
    • Examples
  • Mother GUI (Script)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Configuration
    • Commands
    • Menus
    • Views
    • Examples
  • Mother Autopilot System (MAPS) (Script)
    • Getting Started

      • Upgrade Guide
      • Installation
    • Modules

      • Flight Planning Module
      • Map Module
      • Flight Control Module
      • Attitude Module
      • Docking Module
  • Printed by Mother (Script)
    • Getting Started

      • Installation
      • Configuration
    • Commands
    • Conditions
    • Print Jobs
    • Alignment
    • Hooks
    • Examples
  • Mother Core (Script Framework)
    • Getting Started

      • Upgrade Guide
      • Installation
      • Architecture Overview
      • Managing Script Size & Complexity
    • Building A Module
    • Mother CLI (Console)
    • Core Modules
      • Activity Monitor
      • Almanac
      • Block Catalogue
      • Clock
      • Command Bus
      • Conditions
      • Configuration
      • Event Bus
      • Intergrid Message Service
      • Local Storage
      • Log
      • Terminal
    • Utilities

      • Color Helper
      • Number Helper
      • Security
      • Serializer
    • Testing
    • Tutorials
  • Mother Dev Tools
  • Motherland
  • Powered By Mother
  • Brand Guidelines

Rotor Module

The rotor module allows the user to control rotors on the grid. Rotors are particularly vulnerable to phantom forces and the Almighty Clang, so we leverage the Activity Monitor to ensure rotors 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 the grid ripping itself apart.

  • Commands
    • rotate
    • ulimit
    • llimit
    • lock
    • unlock
    • reset
    • attach
    • detach
    • speed
  • Properties
  • Hooks

Commands

rotate

Rotate a rotor or group of rotors to a specific angle between -360 and 360 degrees.

rotor/rotate <Rotor|Group> <Angle> [--options]

Options

OptionValuesUnitDescription
speed[-5.0, 5.0]RPMSet the speed of the rotor. Negative values will reverse the hinge. Default is 1 RPM.
addtrue, falseboolIndicates that the provided angle should be added to the current angle. Allows incremental changes to angle.
subtrue, falseboolIndicates that the provided angle should be subtracted from the current angle. Allows decremental changes to angle.
shareIndicates that the angle should be shared across all rotors in the group. This means that if you have 3 rotors in a group and set an angle of 90 degrees with sharing enabled, each rotor will rotate to 30 degrees. If sharing is disabled, each rotor will rotate to the full 90 degrees.

Example Set the antenna rotor to 90 degrees with a speed of 2.5 RPM:

Terminal
rotor/rotate AntennaRotor 90 --speed=2.5;

Increase the angle of the antenna rotor by 45 degrees:

Terminal
hinge/rotate LandingGearHinge 45 --add;

Share an angle of 90 degrees across 3 rotors in the "Solar Panel Rotors" group:

Terminal
rotor/rotate "Solar Panel Rotors" 90 --share;

ulimit

Set the upper angle limit of a rotor or group of rotors in degrees.

rotor/ulimit <Rotor|Group> <Angle>

Example

Terminal
rotor/ulimit AntennaRotor 120;

llimit

Set the lower angle limit of a rotor or group of rotors in degrees.

rotor/llimit <Rotor|Group> <Angle>

Example

Terminal
rotor/llimit AntennaRotor -45;

lock

Lock a rotor or group of rotors.

rotor/lock <Rotor|Group>

Example

Terminal
rotor/lock AntennaRotor;

unlock

Unlock a rotor or group of rotors.

rotor/unlock <Rotor|Group>

Example

Terminal
rotor/unlock AntennaRotor;

reset

Reset a rotor or group of rotors to their original position (0 degrees).

rotor/reset <Rotor|Group>

Example

Terminal
rotor/reset AntennaRotor;

attach

Attach the head of a rotor or group of rotors.

rotor/attach <Rotor|Group>

Example

Terminal
rotor/attach AntennaRotor;

detach

Detach the head of a rotor or group of rotors.

rotor/detach <Rotor|Group>

Example

Terminal
rotor/detach AntennaRotor;

speed

Set the speed of a rotor or group of rotors in RPM.

rotor/speed <Rotor|Group> <Speed> <Options>

Options

OptionValuesUnitDescription
freetrue, falsebool Indicates whether the rotor should be free to rotate or not. Default is false.
addtrue, falseboolIndicates that the provided speed should be added to the current speed. Allows incremental changes to speed.
subtrue, falseboolIndicates that the provided speed should be subtracted from the current speed. Allows decremental changes to speed.

Example

Set speed to 2 RPM and allow rotor to rotate freely:

Terminal
rotor/speed AntennaRotor 2 --free;

Increase speed by 2.5 RPM:

Terminal
rotor/speed AntennaRotor 2.5 --add;

Decrease speed by 1 RPM:

Terminal
rotor/speed AntennaRotor 1 --sub;

Properties

Tips

Properties and predicates are very useful in conditions. A property is compared with an operator and a value (angle > 90), while a predicate stands alone (locked). See Conditional Logic to use them in when rules and if steps.

PropertyDescription
angleThe current angle of the rotor in degrees. A group is compared by its average.
locked1 when the rotor is locked, 0 when unlocked.
attached1 when the rotor head is attached, 0 when detached.
PredicateTrue when
lockedThe rotor is locked.
unlockedThe rotor is unlocked.
attachedThe rotor head is attached.
detachedThe rotor head is detached.

Compare a property

Mother > Custom Data
[rules]
TurretAimed=
| when TurretRotor angle > 90;
|   light/color "Turret Light" green;

Use a predicate

Mother > Custom Data
[rules]
TurretLocked=
| when TurretRotor locked;
|   light/color "Turret Light" red;

Hooks

The following hooks can be define in the block's Custom Data, and will be triggered when the corresponding command is called:

KeyTrigger
onMovingActivated when a rotor is put into motion by the rotor/rotate command.
onStopActivated when a rotor stops from the rotor/rotate command.
onAttachActivated when a rotor head is attached.
onDetachActivated when a rotor head is detached.
Last Updated: 10/31/26, 10:26 PM
Contributors: Luke Morrison, lukejamesmorrison
Prev
Programmable Block Module
Next
Screen Module