Skip to main content

Docking & Turrets

StarMade uses a rail-based docking system. A ship docks to rail blocks on a station or another ship with a Rail Docker block. Rails handle fixed docking, turrets, moving platforms and elevators, cargo transfer, and automatic hangar docking.

Rail Blocks​

BlockRole
Rail DockerGoes on the ship being docked; the connector end
Rail BasicStandard rail on the host. Docked ships move along it in the direction of its arrow
Rail Turret AxisLets the docked entity rotate around one axis; chain two for a full turret
Rail Rotator Clock Wise / Counter Clock WiseTurns a docked entity as it passes over
Rail Mass EnhancerRaises how much docked mass the host can move at full speed
Rail Speed ControllerSets how fast rails and rotators move
Rail Load / Rail UnloadMoves items between a docked ship's storage and the host's
Pickup PointDocks ships automatically when they come close
Pickup RailA rail meant to sit next to a Pickup Point
Shootout RailUndocks anything that moves onto it, launching it at 5× rail speed

Docking a Ship​

  1. Place a Rail Docker on your ship.
  2. Each Rail Docker shows up as a Rail Docker entry in your Weapons panel. Put it on your hotbar.
  3. Fly within 100 m of a rail on the host, aim at the rail and fire with that slot selected.

You don't have to line anything up: the docker's arrow face snaps onto the rail's arrow face like a magnet, and your ship ends up one block out from the rail.

  • Only ships can dock (not stations), and the host must be neutral, your faction, public, or a faction you are in.
  • After a dock attempt or undocking there is a 5 second cooldown.
  • Create Docking in the advanced build mode panel builds a new docked entity right on a rail. See Advanced Building.

Undocking​

Once docked, the Rail Docker entry on your hotbar is replaced by Undock. Fire with it selected to undock.

You can also undock from the host:

  • The Docks section of the structure panel has Undock All, Turrets and Normal buttons.
  • Sending a logic signal to a docked ship's Rail Docker undocks it.
  • A Shootout Rail at the end of a track launches ships off it.

Mass Limits​

There is no hard size or mass limit for docking. Instead, each structure can move 50 mass of docked entities at full speed, plus 50 for every Rail Mass Enhancer on it. Enhancers can go anywhere on the host; they don't need linking, but each uses some reactor power.

For every unit of mass over that limit, rails, rotators and AI turret turning slow down by 5%, to a minimum of 5% speed.

Turrets​

A turret is built from docked entities on Rail Turret Axis blocks. One axis only rotates around one axis, so a full turret uses two:

  • A docker facing up or down on its entity turns around the vertical axis (yaw); a docker facing sideways tilts (pitch).
  • The turret pivots on the docker, not the ship core, so the core can go anywhere on the turret.
  • The barrel (the last entity in the chain) does the aiming and turns the base with it.
  • Turrets can't rotate into blocks around them, so leave them room to turn.
  • Heavier turrets turn slower under AI control.

Turret AI​

Put a BOBBY AI Module on the barrel (the entity on the last axis) and tick Active; it is set to the Turret type automatically. Turrets use the host's faction, so they don't need a Faction Module. From the host, , turns docked AI on and off and . resets turret rotation.

See Ship & Turret AI for targeting, remote control and the rest of the AI settings.

Shared Power and Shields​

  • Docked entities run on the reactor of the root ship, so turrets don't need their own reactor.
  • While the host's shields are above 25%, they also take hits aimed at its docked entities.

Automatic Docking (Pickup Points)​

For carrier hangars, place a Pickup Point next to a rail (usually a Pickup Rail):

  • An unpiloted ship whose Rail Docker comes within 3 m of an active Pickup Point docks to the rail next to it. Your own ship does too while you fly it.
  • The Pickup Point can be turned on and off with logic.
  • A docked ship remembers the Pickup Point it used. The Carrier Recall fleet order sends fleet ships back to their pickup points on the flagship.

Moving Rails​

Ships docked to a Rail Basic move along the track by themselves, in the direction of the rail arrows, until the track ends. Use this for elevators, launch tubes and sliding doors.

  • Rail Rotator Clock Wise / Counter Clock Wise: with nothing linked, it turns the docked entity 90° as it arrives. Link Activation Modules to it to set the angle: each active one adds 45°, and 9 or more make it turn non-stop. Link a Display Module with a number (0–360) to set an exact angle.
  • Rail Speed Controller: link it to rails and rotators (C/V; Shift+V adds all touching rails), then link Activation Modules to it. Speed is the share of those modules that are on: 5 on and 5 off means 50% speed, and all off stops the track. Rails without a controller run at 50%.

Cargo Rails​

Link the ship's Rail Docker to Storage blocks on the ship, and link a Rail Load or Rail Unload to Storage on the host:

  • Rail Load moves items from the host's storage into the docked ship's storage.
  • Rail Unload moves items from the docked ship to the host.

Storage filters still apply.