Space Engineers Wiki

New Official Space Engineers wiki

A new official wiki is now available! - at https://spaceengineers.wiki.gg/

This wiki is deprecated in favour of it.

READ MORE

Space Engineers Wiki
Advertisement
Icon Block AI Recorder

The AI Recorder is a functional Automaton block in Space Engineers for autonomous short-distance flight. Steer your drone once manually and use this block as a flight path recorder. The recorder can not only log and follow a recorded selection of waypoints, but it is also able to record and replay key presses and toolbar actions, and remembers to trigger them when replaying the path.

The recorded path is made up of a series of waypoints, which are GPS coordinates.

  • For the drone to fly to fixed locations on planets, asteroids, or bases, use global waypoints.
  • For the drone to orbit and return to a moving mothership, use relative waypoints.

This AI block is of Type "Task" and it provides waypoints to AI Blocks of type "Move". For other Task blocks, see AI Basic.

Construction[]

If Progression is on, build a basic Assembler and some lighting block first to unlock this block. The block is 1x1x1 blocks in size and it exists for small and large grid. It can attach to other blocks on all sides.

Before placing it, look at the arrows on the sides to rotate it correctly: R faces right, L faces left, F faces front, "rear panel" faces backwards, and the icon faces up.

AI Blocks require 10 kW of power to work. The block is not expensive and can be built in early game, similar to an ore detector.

How to Configure the AI Recorder[]

  1. Add an AI Move block to the grid, such as AI Flight.
  2. Add the AI Recorder block to the grid.
  3. Open the Control Panel for the AI Recorder.
  4. Choose either a local Reference Beacon or use global coordinates:
    • To record waypoints in global absolute space coordinates, click Clear Selection to make sure no Reference Beacon is selected.
    • To record waypoints relative to a moving ship, select a Reference Beacon. When the reference beacon moves, or if you select a new beacon, the waypoints will adjust automatically!
  5. Choose the Record Interval for recording a new waypoint: Set a value from 1.7 sec to 30 sec.
    • For a slow, precise, zigzaggy navigation, a lower value is better.
    • For an unprecise but faster flight, a large value is better.
  6. Choose the Minimal Distance for recording a new waypoint: Set a value from 1 metre to 300 metres.
    • For precise navigation in narrow caves or hallways, a lower value is better.
    • For a fast straight flight with no obstacles, a large value is better.

How to Record a Path[]

After you have configured the AI Recorder, use it to record waypoints by flying the path once yourself. Tip: Start and stop the path in a secure location, such as docked at a connector or landing pad.

  1. Build a temporary cockpit on the drone.
  2. Press (G key) and put the AI Recorder's Add Waypoint, Record on/off, and Play on/off and other actions on your toolbar.
  3. Press Record and start flying.
    Waypoints, toolbar actions, key presses, and the drone's orientation are now recorded every time you exceed the Minimal Distance or the Record Interval.
  4. Add important waypoints manually, such as the precise docking position or important corner turns: Fly to the exact spot and activate Add Waypoint manually.
  5. Press Stop to save the recording.

Review the Path[]

recorded flight path on HUD

Recorded flight path and waypoints visible on HUD

After recording, the Waypoints list contains the recorded path as a series of GPS coordinates.

  1. Add an Antenna to the drone and set it to broadcast.
  2. On the Control Panel for the AI Recorder, switch on Show on HUD and either Show Path on HUD or Show Selected Points.
  3. On the Info Screen for the AI Recorder, enable Show AI Functions. (!)

This makes the flight path and waypoints visible in mid air.

Reviewing waypoints on your HUD is easier in Creative Mode/Spectator Mode; in Survival Mode, make sure you have a good vantage point.

Some tips:

  • If the drone is very slow because it has too many waypoints, click Delete all Waypoints to reset, increase the Distance and Interval settings, and record the path again with fewer waypoints.
  • If the drone cuts corners dangerously, it may have too few waypoints. In this case, click Delete all Waypoints to reset, decrease the Distance and Interval settings, and record the path again with more waypoints.
  • Since you cannot later manually re-order or insert waypoints afterwards, it's better to record too many waypoints and delete some, than to record too few.
  • Add actions to waypoints, such as toggling the AI Flight block's Collision Detection / Precision Mode (see there).

When going through the waypoints list and deleting non-essential waypoints, note that the numbers are not unique identifiers, but just reflect the order.

  • In slow narrow turns, keep three waypoints: coming in, central, and coming out.
  • In straight path segments, keep one waypoint at the beginning and one at the end.
  • Delete unnecessary waypoints in the middle of flightpaths.
  • If the orientation of your drone is important for your task, manually make controlled turns over several waypoints.
AI Recorder show Selected Waypoints on HUD

Selected waypoints are shown in blue on the HUD

Next, slim down your waypoint list and select unnecessary waypoints and delete them.

  1. To not accidentally include waypoints in a selection, click Clear Selection before multiselecting.
  2. Click to select a waypoint. Or hold shift to multiselect consecutive waypoints. Or ctrl-click to add individual waypoints to the selection.
  3. To deselect a selected waypoint, ctrl-click it.
  4. Then click Delete Selected to clean them off the list.

After you are satisfied with the cleaned-up recording, switch off Show Path on HUD/Show Selected Points and Show AI Functions, and remove the temporary cockpit from the drone.

Fly the path[]

Tip: If the drone is docked at a connector, sit in another cockpit. Press G and put the drone's AI Blocks' AI Behavior on/off and Block on/off actions on your toolbar. Also put the drone's AI Recorder's Play On/Off and other actions on your toolbar.

  1. Enable AI Behavior on the AI Move block.
  2. Press Play on the AI Recorder block.

This switches the recorded AI behavior on. If the drone is not at waypoint 0, it will first fly towards waypoint 0, and then follow the waypoints.

Optional Settings:

  • Switch Repeat on to fly along the path in a loop, similar to the Autopilot's "circle" flight mode.
  • Click Reverse Order to sort the waypoints backwards[1].
    Note: The waypoint numbers reflect their order, not identity; when you reverse the order, the list looks the same. The order changes visibly only in the path preview on your HUD.

Troubleshooting[]

If you need more control over how the drone travels through segments of the path, select a waypoint and click Set up Action to toggle the AI Flight block's Collision Avoidance on/off or Precision Mode on/off.

You can retroactively add any actions such as (un)locking Landing Gear/Connectors or thruster or gyroscope overrides. And don't forget you can use Timers to group, loop, or delay actions.

The drone forgets its reference beacon when copied&pasted from a blueprint! In each new drone, select the beacon again.

Recipe[]

Icon Block AI Recorder AI Recorder
ComponentLarge Ship/Station
Required
Large Ship/Station
Optional
Small Ship
Required
Small Ship
Optional
Icon Item Interior Plate Interior Plate202
Icon Item Computer Computer2010
Icon Item Motor Motor42
Icon Item Detector Components Detector Components204
Icon Item Construction Comp. Construction Comp.305
Icon Item Steel Plate Steel Plate202


Blocks

Functional Blocks

Cockpits & Control
Icon Block Cockpit Cockpit, Icon Block Fighter Cockpit Fighter Cockpit, Icon Block Control Station Control Station, Icon Block Flight Seat Flight Seat, Icon Block Helm Helm, Icon Block Saddle Cockpit Saddle Cockpit, Icon Block Saddle Cockpit Compact Saddle Cockpit Compact, Icon Block Cab Cockpit Cab Cockpit, Icon Block Buggy Cockpit Buggy Cockpit, Icon Block Rover Cockpit Rover Cockpit, Icon Block Passenger Seat Passenger Seat, Icon Block Control Panel Control Panel, Icon Block Control Panel Pedestal Control Panel Pedestal, Icon Block Vertical Button Panel Vertical Button Panel, Icon Block Sci-Fi One-Button Terminal Sci-Fi One-Button Terminal, Icon Block Sci-Fi Four-Button Panel Sci-Fi Four-Button Panel, Icon Block Sci-Fi Control Panel Sci-Fi Control Panel, (Icon Block Inset Button Panel Inset) Icon Block Button Panel Button Panel, Icon Block Button Panel Pedestal Button Panel Pedestal, Icon Block Remote Control Remote Control, Icon Block Custom Turret Controller Custom Turret Controller

Automation
Icon Block Sensor Sensor, Icon Block Timer Block Timer Block, Icon Block Programmable Block Programmable Block, Icon Block Event Controller Event Controller, Icon Block Emotion Controller Emotion Controller, Icon Block AI Basic AI Basic, Icon Block AI Flight AI Flight, Icon Block AI Defensive AI Defensive, Icon Block AI Offensive AI Offensive, Icon Block AI Recorder AI Recorder

Communication
Icon Block Antenna Antenna, Icon Block Beacon Beacon, Icon Block Round Beacon Round Beacon, (Icon Block Top Mounted Camera Top Mounted) Icon Block Camera Camera, Icon Block Laser Antenna Laser Antenna, Icon Block LCD Panel LCD Panel, Icon Block Corner LCD Corner LCD, Icon Block Text Panel Text Panel, Icon Block Wide LCD Panel Wide LCD Panel, Icon Block Transparent LCD Transparent LCD, Icon Block Sci-Fi LCD Panel Sci-Fi LCD Panel, Icon Block Holo LCD Holo LCD, Icon Block Inset LCD Panel Inset LCD Panel, Icon Block Sloped LCD Panel Sloped LCD Panel, Icon Block Curved LCD Panel Curved LCD Panel, Icon Block Ore Detector Ore Detector, Icon Block Sound Block Sound Block

Defense & Offense
Icon Block Decoy Decoy, Icon Block Gatling Gun Gatling Gun, Icon Block Gatling Turret Gatling Turret, Icon Block Interior Turret Interior Turret, Icon Block Rocket Turret Rocket Turret, Icon Block Reloadable Rocket Launcher Reloadable Rocket Launcher, Icon Block Rocket Launcher Rocket Launcher, Icon Block Artillery Artillery, Icon Block Autocannon Autocannon, Icon Block Artillery Turret Artillery Turret, Icon Block Autocannon Turret Autocannon Turret, Icon Block Railgun Railgun, Icon Block Assault Cannon Assault Cannon, Icon Block Assault Cannon Turret Assault Cannon Turret, Icon Block Target Dummy Target Dummy, Icon Block Warhead Warhead, Icon Block Explosive Barrel Explosive Barrel

Power
Icon Block Battery Battery, Icon Block Small Battery Small Battery, Icon Block Large Reactor Large Reactor, Icon Block Small Reactor Small Reactor, Icon Block Solar Panel Solar Panel, Icon Block Colorable Solar Panel Colorable Solar Panel, Icon Block Hydrogen Engine Hydrogen Engine, Icon Block Wind Turbine Wind Turbine, Icon Block Twin-Blade Wind Turbine Twin-Blade Wind Turbine

Life Support
Icon Block Medical Room Medical Room, Icon Block Corner Medical Room Corner Medical Room, Icon Block Survival Kit Survival Kit, Icon Block Cryo Chamber Cryo Chamber, Icon Block Inset Cryo Room Inset Cryo Room, Icon Block Oxygen Farm Oxygen Farm, Icon Block Interior Light Interior Light, Icon Block Offset Light Offset Light, Icon Block Spotlight Spotlight, Icon Block Offset Spotlight Offset Spotlight, Icon Block Inset Light Inset Light, Icon Block Air Vent Air Vent (Icon Block Air Vent Full Full), Icon Block Air Vent Fan Air Vent Fan (Icon Block Air Vent Fan Full Full)

Mobility
Icon Block Gyroscope Gyroscope, Icon Block Atmospheric Thruster Atmospheric Thruster, Icon Block Ion Thruster Ion Thruster, Icon Block Hydrogen Thruster Hydrogen Thruster, Icon Block Parachute Hatch Parachute Hatch, Icon Block Short Wheel Suspension 1x1 (Short) Icon Block Wheel Suspension 1x1 Wheel Suspension 1x1, Icon Block Short Wheel Suspension 2x2 (Short) Icon Block Wheel Suspension 2x2 Wheel Suspension 2x2, Icon Block Short Wheel Suspension 3x3 (Short) Icon Block Wheel Suspension 3x3 Wheel Suspension 3x3, Icon Block Short Wheel Suspension 5x5 (Short) Icon Block Wheel Suspension 5x5 Wheel Suspension 5x5, Icon Block Offroad Wheels Offroad Wheels

Mining & Manufacturing
Icon Block Basic Refinery Basic Refinery, Icon Block Refinery Refinery, Icon Block Basic Assembler Basic Assembler, Icon Block Assembler Assembler, Icon Block Drill Drill, Icon Block Grinder Block Grinder Block, Icon Block Welder Block Welder Block, Icon Block Projector Projector, Icon Block O2 H2 Generator O2/H2 Generator, Icon Block Oxygen Farm Oxygen Farm, Icon Block Yield Module Yield Module, Icon Block Power Efficiency Module Power Efficiency Module, Icon Block Speed Module Speed Module

Storage
Icon Block Large Cargo Container Large Cargo Container, Icon Block Medium Cargo Container Medium Cargo Container, Icon Block Small Cargo Container Small Cargo Container, Icon Block Oxygen Tank Oxygen Tank, Icon Block Hydrogen Tank Hydrogen Tank, Icon Block Store Store, Icon Block Contracts Block Contracts Block

Inventory Management
Icon Block Connector Connector, Icon Block Small Connector Small Connector/Ejector, Icon Block Collector Collector, Icon Block Conveyor Junction Conveyor Junction, Icon Block Conveyor Tube Conveyor Tube Icon Block Reinforced Conveyor Tube (Reinforced), Icon Block Curved Conveyor Tube Curved Conveyor Tube Icon Block Reinforced Curved Conveyor Tube (Reinforced), Icon Block Conveyor Tube T Junction Conveyor Tube T Junction Icon Block Reinforced Conveyor Tube T Junction (Reinforced), Icon Block Conveyor Sorter Conveyor Sorter; Icon Block Small Conveyor Small Conveyor, Icon Block Small Conveyor Tube Small Conveyor Tube Icon Block Small Reinforced Conveyor Tube (Reinforced), Icon Block Small Curved Conveyor Tube Small Curved Conveyor Tube Icon Block Small Reinforced Curved Conveyor Tube (Reinforced), Icon Block Small Conveyor Tube T Junction Small Conveyor Tube T Junction Icon Block Small Reinforced Conveyor Tube T Junction (Reinforced), Icon Block Conveyor Sorter Small Conveyor Sorter; Icon Block Conveyor Frame Conveyor Frame, Icon Block Conveyor Converter Conveyor Converter

Mechanical Blocks & Gravity Control
Icon Block Advanced Rotor Advanced Rotor, Icon Block Rotor Rotor, Icon Block Piston Piston, Icon Block Hinge Hinge, Icon Block Landing Gear Landing Gear, Icon Block Magnetic Plate Magnetic Plate, Icon Block Merge Block Merge Block, Icon Block Artificial Mass Artificial Mass, Icon Block Gravity Generator Gravity Generator, Icon Block Spherical Gravity Generator Spherical Gravity Generator, Icon Block Safe Zone Safe Zone


  1. In the Automaton Beta, the drone also flies rotated backwards, not sure if this is intended behaviour.
Advertisement