Space Engineers

Space Engineers

AiEnabled v1.9
 This topic has been pinned, so it's probably important
jTurp  [developer] 8 Dec, 2021 @ 7:57pm
How to Mod using AiEnabled
Want to harness the power of AiEnabled in your own mod? Fear not! There is an API that will allow you to do just that. In the downloaded mod files, you'll just need to copy the file RemoteBotAPI.cs from the API folder into your own mod, and then instantiate an instance of the class in LoadData(). Beyond that, explore, enjoy, and let me know if you have any questions!


Default Behaviors
While you can just pass in null for the behavior and the API will use the default, below are the default behaviors listed out just in case you want to know. Note that using the API, you can use any character subtype to spawn a bot. This means that you can use other modded characters as NPCs, or the default astronaut.

Enemy Bots
  • Space_Skeleton = GRINDER
  • Space_Zombie = ZOMBIE
  • Police_Bot = SOLDIER
  • Ghost_Bot = GHOST
  • Boss_Bot = BRUISER

Friendly Bots
  • Drone_Bot = REPAIR
  • Target_Dummy = COMBAT
  • RoboDog = SCAVENGER

Check out the MES Documentation[github.com] for help making an MES Bot Spawn Profile

There's also more info on the AiEnabled Wiki[github.com]
Last edited by jTurp; 5 Feb, 2022 @ 4:26pm
< >
Showing 1-8 of 8 comments
Wilhelm 6 Feb, 2022 @ 3:48am 
There a way to change the block type models? ie, I would like to change the model to something more hidden for scenario
jTurp  [developer] 6 Feb, 2022 @ 4:23am 
Originally posted by Wilhelm:
There a way to change the block type models? ie, I would like to change the model to something more hidden for scenario

Hey, you would have to use an SBC edit mod. Just use the same type and subtype and point it to your new model. Need to make sure the load order is correct, though (load yours last)
venomDeejays 12 May, 2022 @ 1:14am 
Is there any chance you could shed some light on how to add custom characters to the subtype list? It would be pretty neat if I could equip my combat guys with modded suits from the workshop. I checked out the wiki, its informative but as far as I could tell it doesn't explain how to add new characters.
jTurp  [developer] 12 May, 2022 @ 4:49am 
Originally posted by venomDeejays:
Is there any chance you could shed some light on how to add custom characters to the subtype list? It would be pretty neat if I could equip my combat guys with modded suits from the workshop. I checked out the wiki, its informative but as far as I could tell it doesn't explain how to add new characters.

Additional subtypes cannot be used with the helpers, currently. I will be adding the ability to do this at some point in the future, though.
venomDeejays 12 May, 2022 @ 7:19pm 
No worries, thanks for the response. Keep up the excellent work.
wesewn23 19 Dec, 2024 @ 7:53pm 
ujm it not working and i cant see the robo spawn please tell me why it not working:steamsad:
wesewn23 22 Dec, 2024 @ 6:13pm 
are you gonna fix that i tried every time and dint work
jTurp  [developer] 25 Dec, 2024 @ 5:34pm 
Originally posted by figure:
ujm it not working and i cant see the robo spawn please tell me why it not working:steamsad:


I'm going to assume you mean you can't spawn a helper from the factory, in which case the most likely cause is that you aren't in a faction (seems to be what everyone forgets, anyways). The requirements are listed on the guide, linked in the description :)
< >
Showing 1-8 of 8 comments
Per page: 1530 50