Space Engineers

Space Engineers

AiEnabled v1.9
 此主题已被置顶,因此可能具有重要性
jTurp  [开发者] 2021 年 12 月 8 日 下午 7: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]
最后由 jTurp 编辑于; 2022 年 2 月 5 日 下午 4:26
< >
正在显示第 1 - 8 条,共 8 条留言
Wilhelm 2022 年 2 月 6 日 上午 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  [开发者] 2022 年 2 月 6 日 上午 4:23 
引用自 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 2022 年 5 月 12 日 上午 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  [开发者] 2022 年 5 月 12 日 上午 4:49 
引用自 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 2022 年 5 月 12 日 下午 7:19 
No worries, thanks for the response. Keep up the excellent work.
wesewn23 2024 年 12 月 19 日 下午 7:53 
ujm it not working and i cant see the robo spawn please tell me why it not working:steamsad:
wesewn23 2024 年 12 月 22 日 下午 6:13 
are you gonna fix that i tried every time and dint work
jTurp  [开发者] 2024 年 12 月 25 日 下午 5:34 
引用自 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 :)
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50