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 Flight

The AI Flight block is a functional Automaton block in Space Engineers. The block provides automatic flight control to drone ships in both space and atmosphere. The AI Flight block enables complex flight behaviors as well as detailed control of how your grid will move.

This AI Block is of type "Move".

Construction[]

If Progression is on, build a Basic Assembler and then a light, such as interior light, 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 and uses 10 kW. Look at the arrows on the side to place it forward facing. Optimally align it with the Connector/Merge Block/Magnetic Plate/etc. because all navigation will be relative to the AI Flight block.

The block is not expensive and can be built in early game, similar to an ore detector.

Requirements[]

The AI Flight block depends on the presence of other AI Blocks to supply it with waypoints! First, build an AI task block (AI Basic or AI Recorder) or an AI Combat block (AI Defensive or AI Offensive), and configure it to provide waypoints to the AI Flight block.

The rotation of the placed AI blocks is relevant for determining the forward direction and alignment to planetary gravity

To fly, the AI Flight-controlled drone must have thrusters in all six directions, using thrusters that are suitable for its target environment (atmospheric or space flight). Equip the drone with at least one gyroscope.


Usage[]

With the AI behavior switched off, configure the following settings:

  1. Collision Avoidance: To prevent the drone from totalling itself against terrain or grids on long autonomous trips, enable Collision Avoidance. If the drone refuses to fly in tight quarters or to dock to a connector, or if this is a PBW, disable this option. For details, see Collision Avoidance
  2. Precision Mode: To make the drone fly carefully and decelerate and turn exactly on each GPS waypoint, enable Precision Mode. To fly more carelessly but faster, disable this setting. For Details, see Precision Mode
  3. Speed Limit: To set the maximum speed, input a value between 0-100 m/s. Default is 10 m/s. For missiles/PBWs use higher values, and for utility drones, stick with the low value.
  4. Align to P.Gravity: To make the drone fly with its AI Move block aligned horizontally to planetary gravity, enable this option.
    • On planets, if your strongest thrusters are your ventral thrusters, enable it.
    • On planets, if you have strong thrust in all directions and want to precisely record the drone's rotation, disable it.
    • For a space drone, disable it.
  5. Min. Altitude: Set how high the drone should fly in planetary gravity. Choose a value between 0 and 500 metres. To allow landing on the ground set it to 0m. To simulate hovercraft behaviour, set it to 2m, and so on. Not used in space.
  6. Max. Pitch Angle: Set at which angle the drone is allowed to pitch up or down when approaching a waypoint in planetary gravity. This is relevant to prevent a fully loaded cargo drone to shift too much weight onto weaker aft or fore thrusters. Not used in space.
  7. Max. Roll Angle: Set at which angle the drone is allowed to roll left or right when approaching a waypoint in planetary gravity. This is relevant to prevent a fully loaded cargo drone to shift too much weight onto weaker lateral thrusters. Not used in space.

Switch on AI Behavior to make this the active block of its type and start the autopilot. To steer the drone manually using a RC block, switch AI Behavior off.

Troubleshooting[]

If the drone cannot reach its waypoints, there are several things you ought to check:

  • Use a Remote Control set up and make a manual test whether the drone is flight-worthy at all.
    • Does it have thrust in all 6 directions?
    • For combat drones, ensure that they are able to turn, accelerate, and decelerate fast.
    • For cargo drones, verify their flight and braking ability under full load.
    • For planetary flight, add extra ventral thrusters to counteract gravity, and lower the roll and pitch angles.
  • If the drone overshoots the waypoints, first try decreasing the speed limit to 10 m/s.
  • If it flies stop-and-go in open space, then switch Precision Mode off.
  • If it approaches waypoints too sloppily, then switch Precision Mode on.
  • If it hesitates in front of hangar doors, connectors, asteroid caves, etc., then switch Collision Avoidance off.
  • If it crashes into bases and asteroids, then switch Collision Avoidance on.

If you cannot find one set of suitable settings, you can be flexible:

  • When used together with an AI Recorder block, toggle settings of the AI Flight (such as Collision Avoidance) at waypoints as part of the recording.
  • Build two AI Flight blocks with different settings, and using an Event Controller to switch them on and off. One configuration could be optimised for fast open-space flight and the other for a slow careful docking approach.

If your drone uses thrusters or gyroscopes on override, the AI Flight block switches these off and takes control when it activates.

Recipe[]

Icon Block AI Flight AI Flight
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


Advertisement