Skip to content

Guide: SCPracticeAI Submissions

Invalid edited this page Aug 22, 2024 · 5 revisions

SCPracticeAI is a mod that lets us spawn ships (prefabs) to fight against. These ships need some minimal setup with Keen Automaton blocks in order to be given their AI.


WARNINGS

  • do not have FocusFire on your grid's turrets, Keen Automaton AI blocks don't actually lock on

  1. Load your StarCore build world in Offline Singleplayer.
image
  1. Grab a StarCore ship (preferably <=8750 Battle Points) that you want to submit to the pool.

  2. Use your spectator camera to cut out a 2x1 area that's well protected.

  3. Paste the BasicAI blueprint inside of it. MAKE SURE IT'S FACING FORWARD

image
  1. Go into your ship's terminal and set the range on the AI Offensive block to something reasonable. Close range for brawling ships, long range for sniping ships, etc.
image
  1. Name the grid something useful and short, such as [name][points]AI.
image
  1. CTRL + C your grid to copy it into your clipboard.

  2. Press F11.

  3. Click "Export clipboard to file".

image

  1. Navigate to %APPDATA%/SpaceEngineers/Export.

image

  1. Grab the .sbc file that generates.

  2. Post it in the Discord's Prefab Submission Thread


Advanced

The above guide only uses the AI Flight and the AI Offensive block from Keen's Automatons Update; it can only point the grid and move it and lock on with WeaponCore weapons. Note the limitations that WeaponCore has with these.

WeaponCore Automaton Update Key Notes

If you want your AI ship to do something fancy like activate an afterburner, use a blink drive, etc., you'll need to use some combination of Timer Blocks or Event Controllers.

Automaton Wiki