Space Engineers

Space Engineers

AiEnabled v1.9
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
jTurp  [udvikler] 8. dec. 2021 kl. 19:57
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]
Sidst redigeret af jTurp; 5. feb. 2022 kl. 16:26
< >
Viser 1-8 af 8 kommentarer
Wilhelm 6. feb. 2022 kl. 3:48 
There a way to change the block type models? ie, I would like to change the model to something more hidden for scenario
jTurp  [udvikler] 6. feb. 2022 kl. 4:23 
Oprindeligt skrevet af 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. maj 2022 kl. 1:14 
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  [udvikler] 12. maj 2022 kl. 4:49 
Oprindeligt skrevet af 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. maj 2022 kl. 19:19 
No worries, thanks for the response. Keep up the excellent work.
wesewn23 19. dec. 2024 kl. 19:53 
ujm it not working and i cant see the robo spawn please tell me why it not working:steamsad:
wesewn23 22. dec. 2024 kl. 18:13 
are you gonna fix that i tried every time and dint work
jTurp  [udvikler] 25. dec. 2024 kl. 17:34 
Oprindeligt skrevet af 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 :)
< >
Viser 1-8 af 8 kommentarer
Per side: 1530 50