Space Engineers

Modular Encounters Spawner for Space Engineers

Released (updated ago). Ranked 1 of 62,828 with 14,643 (221 today) downloads

Published by Meridius_IX/Lucas (mod ID: 750855)

thumb.3.jpg

Attention

This mod uses Server-Side Scripting. It will only run on a Dedicated Server.

What Is This Mod?

The Modular Encounters Spawner is a Scripted Framework that heavily expands NPC Ship and Station Spawning in Space Engineers. It enables Planetary NPC encounters, Boss Encounters, and more.

Click Here for Steam Version

What Content Does This Mod Include?

Because this mod is a framework, it does not include any NPC content. With that said, you will need to add additional mods that add NPC Encounters that utilize the features of this mod.

Requirements

If you are playing on Steam/PC, there are no special requirements for running this mod.

If you are playing on Xbox, this mod will not work in Single Player because of the required scripts in the mod, so you will need to run it on a Dedicated Server.

The world options for Cargo Ships and Random Encounters will automatically be turned off if you are using this mod. This is intended behavior, since the spawner mod implements its own logic for those world options - having them enabled as well would cause conflicts.

Limitations

If you are using this mod on Xbox via Dedicated Server, please note that some features that rely on client scripting will not be available. Most notable of these features is Chat Commands since they require a script running on the client to catch when the player enters a chat message so it can be processed. There may be other limitations I haven't thought of as well, but for the most part the main spawner features should be functional.

While Chat Commands themselves may not be possible, I do have a workaround. You can use the following Programmable Block Script to forward Chat Commands to the Spawner Chat Reader so they will register. You can find the script by clicking here.

Restrictions Regarding Republishing This Mod

Please refrain from republishing this mod on mod.io or anywhere else. If this is not respected, I may exercise my right as the original creator and file DMCA notices against infringing copies at my discretion.

Modular Encounters Collection Links

- General FAQ About The Mods I Curate

- Rules Regarding Mod Republishing

- Modular Encounters Admin and Modders Guide

- Modular Encounters Collection Discord Server

- Click Here If You'd Like To Support My Work On Patreon

Releases

FilenameSizeVersionAddedOptions
modular_encounters_spawner.1.zip525.28kb-

modular_encounters_spawner.zip743.38kb-

10184-modularencountersspawner.zip735.61kb-

14944-modularencountersspawner.zip734.97kb-

11692-modularencountersspawner.zip733.99kb-

15364-modularencountersspawner.zip733.66kb-

23 comments

Join the community or sign in with your gaming account to join the conversation:

KI
ki113rm0n11 @ki113rm0n11

(XBOX)Hey so everything downloads correctly but after its finished it takes me back to the main menu and says that scripts need to be turned on even though, at least i think i have scripts turned on in the settings(Nitrado server provider) is there some secret box i need to have checked cause i see other servers with your mods and i load in just fine. idk what im doing wrong

Meridius_IX/Lucas
Meridius_IX/Lucas @meridius-ixlucas

My understanding was that Nitrado was a bit difficult to get mods working properly via their UI. It might be possible to do, but would probably require access to the server files if that's something they provide via any of their interfaces.

TT
TenableTarget @tenabletarget

Can now confirm that I've got this running on a Nitrado server - you need to pay VERY close attention to the order you enter the mods in the list, as that is the load order - you want MES and RivalAI as the first things you load

Meridius_IX/Lucas
Meridius_IX/Lucas @meridius-ixlucas

Load order shouldn't really matter with any of the mods I curate, at least from the perspective of the game. Unless nitrado is doing something weird with load order, which considering its nitrado - is not entirely off the table :P

TT
TenableTarget @tenabletarget

Hey, I tested it multiple times on Nitrado, and MES and RivalAI need to be before any of the other MES-family mods or they just don't seem to load properly - I'm 100% putting this down to Nitrado, but thought it worth posting here - it's worth mentioning that we added the mods to an already existing world, so I'll report back if anything changes when we do a wipe and restart next week

B
Beargawn @beargawn

2021-07-06 13:29:58.174 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-07-06 13:29:58.174 - Thread: 1 -> in file: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Data\Characters.sbc
2021-07-06 13:29:58.174 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Textures\Lights\reflector.dds
2021-07-06 13:29:58.180 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-07-06 13:29:58.180 - Thread: 1 -> in file: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Data\Characters.sbc
2021-07-06 13:29:58.180 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Textures\Lights\reflector.dds
2021-07-06 13:29:58.182 - Thread: 1 -> Loading container types
2021-07-06 13:29:58.183 - Thread: 1 -> Loading drone behaviors
2021-07-06 13:29:58.183 - Thread: 1 -> Loading entity components
2021-07-06 13:29:58.184 - Thread: 1 -> Loading entity components
2021-07-06 13:29:58.184 - Thread: 1 -> Loading blueprints
2021-07-06 13:29:58.185 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-07-06 13:29:58.185 - Thread: 1 -> in file: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Data\ProprietaryNpcBlocks\Blueprints.sbc
2021-07-06 13:29:58.185 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Textures\GUI\Icons\Items\Datapad_Item.dds
2021-07-06 13:29:58.185 - Thread: 1 -> Loading components
2021-07-06 13:29:58.188 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-07-06 13:29:58.188 - Thread: 1 -> in file: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Data\ProprietaryNpcBlocks\Components.sbc
2021-07-06 13:29:58.189 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Textures\GUI\Icons\component\computer_component.dds
2021-07-06 13:29:58.189 - Thread: 1 -> Loaded component: MyObjectBuilder_Component/ProprietaryTech
2021-07-06 13:29:58.189 - Thread: 1 -> Loading entity components
2021-07-06 13:29:58.190 - Thread: 1 -> Loading blueprints
2021-07-06 13:29:58.192 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-07-06 13:29:58.192 - Thread: 1 -> in file: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Data\ProprietaryNpcBlocks\PhysicalItems.sbc
2021-07-06 13:29:58.192 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Textures\GUI\Icons\component\thrust_components_component.dds
2021-07-06 13:29:58.192 - Thread: 1 -> Loading components
2021-07-06 13:29:58.194 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-07-06 13:29:58.194 - Thread: 1 -> in file: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Data\ProprietaryNpcBlocks\PhysicalItems.sbc
2021-07-06 13:29:58.194 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Textures\GUI\Icons\component\thrust_components_component.dds
2021-07-06 13:29:58.194 - Thread: 1 -> Loaded component: MyObjectBuilder_Component/MESThrust
2021-07-06 13:29:58.194 - Thread: 1 -> Loading physical items
2021-07-06 13:29:58.198 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-07-06 13:29:58.198 - Thread: 1 -> in file: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Data\ProprietaryNpcBlocks\PhysicalItems.sbc
2021-07-06 13:29:58.198 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\jonathanc12\6907854\cache\750855.zip\Textures\GUI\Icons\ingot\uranium_ingot.dds
2021-07-06 13:29:58.220 - Thread: 1 -> Duplicate entry of 'MyObjectBuilder_Inventory/RAIDevTest-Misc-Chat-A'
2021-07-06 13:29:58.220 - Thread: 1 -> Loading entity components
2021-07-06 13:29:58.220 - Thread: 1 -> Duplicate entry of 'MyObjectBuilder_Inventory/RAIDevTest-NoWeapon-Action-A'
2021-07-06 13:29:58.220 - Thread: 1 -> Duplicate entry of 'MyObjectBuilder_Inventory/RAIDevTest-NoWeapon-Chat-A'

Meridius_IX/Lucas
Meridius_IX/Lucas @meridius-ixlucas

Please refer to the last time I responded to a similar message below.

SM
SeaMagician703 @seamagician703

Is something like this possible for non dedicated/ solo worlds on console ? Just wondering since i dont play on servers and find that i dont get attacked enough

Meridius_IX/Lucas
Meridius_IX/Lucas @meridius-ixlucas

This system requires scripting to spawn the encounters, so currently it is only possible via dedicated server for console users.

B
Beargawn @beargawn

Posting errors listed from log file of dedicated GTX Gaming hosted Xbox server here since your account it marked PRIVATE and unable to send mod.io email to:

-- Response:
Code: OK / OK
Content: {"data":[],"result_count":0,"result_offset":0,"result_limit":100,"result_total":0}
2021-05-28 02:17:16.487 - Thread: 7 -> Reference issue detected (circular reference or wrong order) for mod mod.io:750855
2021-05-28 02:17:16.487 - Thread: 7 -> Reference issue detected (circular reference or wrong order) for mod mod.io:750855
2021-05-28 02:17:16.487 - Thread: 7 -> Reference issue detected (circular reference or wrong order) for mod mod.io:750859
2021-05-28 02:17:16.586 - Thread: 29 -> ModIo API call
-- Request:
Url: Api.mod.io

Meridius_IX/Lucas
Meridius_IX/Lucas @meridius-ixlucas

Reference issue detected are not harmful errors. It just means the mods loaded are using other mod dependencies. Keen has it appear strange in the log

B
Beargawn @beargawn

Suggestion: Since this mod is monitoring all the NPC and player grids, consider adding admin options to monitor/alert/remove blocks that cause server CPU lag. For example piston, rotors, hinges either single or stacked and/or other builds that when placed go below a set/selected threshold. Also the ability to interact with the remote Vrage monitoring client. I have noticed this has chat commands, but do these work on SE Xbox console connected to a dedicated GTX Gaming server?

Meridius_IX/Lucas
Meridius_IX/Lucas @meridius-ixlucas

Chat commands do not directly work because they require client side scripting, however there is a programmable block script that I have posted that does allow you to submit chat commands to the server through the block itself.

Spaceengineers.mod.io

Beyond that, I don't have any sort of advanced block monitoring that you've described above. It's unlikely that I'd add something like that.

B
Beargawn @beargawn

Posting errors listed from log file of dedicated GTX Gaming hosted Xbox server here since your account it marked PRIVATE and unable to send mod.io email to:

2021-05-21 04:11:25.548 - Thread: 1 -> Loading character definitions
2021-05-21 04:11:25.552 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-05-21 04:11:25.552 - Thread: 1 -> in file: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Data\Characters.sbc
2021-05-21 04:11:25.552 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Textures\Lights\reflector.dds
2021-05-21 04:11:25.555 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-05-21 04:11:25.555 - Thread: 1 -> in file: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Data\Characters.sbc
2021-05-21 04:11:25.555 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Textures\Lights\reflector.dds
2021-05-21 04:11:25.555 - Thread: 1 -> Loading container types
2021-05-21 04:11:25.556 - Thread: 1 -> Loading drone behaviors
2021-05-21 04:11:25.556 - Thread: 1 -> Loading entity components
2021-05-21 04:11:25.557 - Thread: 1 -> Loading entity components
2021-05-21 04:11:25.557 - Thread: 1 -> Loading blueprints
2021-05-21 04:11:25.559 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-05-21 04:11:25.559 - Thread: 1 -> in file: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Data\ProprietaryNpcBlocks\Blueprints.sbc
2021-05-21 04:11:25.559 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Textures\GUI\Icons\Items\Datapad_Item.dds
2021-05-21 04:11:25.559 - Thread: 1 -> Loading components
2021-05-21 04:11:25.563 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-05-21 04:11:25.563 - Thread: 1 -> in file: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Data\ProprietaryNpcBlocks\Components.sbc
2021-05-21 04:11:25.563 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Textures\GUI\Icons\component\computer_component.dds
2021-05-21 04:11:25.563 - Thread: 1 -> Loaded component: MyObjectBuilder_Component/ProprietaryTech
2021-05-21 04:11:25.563 - Thread: 1 -> Loading entity components
2021-05-21 04:11:25.567 - Thread: 1 -> Loading blueprints
2021-05-21 04:11:25.569 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-05-21 04:11:25.569 - Thread: 1 -> in file: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Data\ProprietaryNpcBlocks\PhysicalItems.sbc
2021-05-21 04:11:25.569 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Textures\GUI\Icons\component\thrust_components_component.dds
2021-05-21 04:11:25.569 - Thread: 1 -> Loading components
2021-05-21 04:11:25.572 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-05-21 04:11:25.572 - Thread: 1 -> in file: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Data\ProprietaryNpcBlocks\PhysicalItems.sbc
2021-05-21 04:11:25.572 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Textures\GUI\Icons\component\thrust_components_component.dds
2021-05-21 04:11:25.572 - Thread: 1 -> Loaded component: MyObjectBuilder_Component/MESThrust
2021-05-21 04:11:25.572 - Thread: 1 -> Loading physical items
2021-05-21 04:11:25.576 - Thread: 1 -> MOD_ERROR: Modular Encounters Spawner
2021-05-21 04:11:25.576 - Thread: 1 -> in file: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Data\ProprietaryNpcBlocks\PhysicalItems.sbc
2021-05-21 04:11:25.576 - Thread: 1 -> Resource not found, setting to null. Resource path: C:\TCAFiles\Users\RuiP\6907854\cache\750855.zip\Textures\GUI\Icons\ingot\uranium_ingot.dds

Meridius_IX/Lucas
Meridius_IX/Lucas @meridius-ixlucas

Those errors happen sometimes on dedicated servers. Essentially it means the server is not properly resolving the directory/location of vanilla icon files that modded items are using.

If your server won't start or is getting crashes, then it would be for reasons other than what is displayed above.

B
Beargawn @beargawn

Mods are are auto installed by the GTX Gaming Server. What can do you suggest I relay to the GTX Gaming Support team to address this matter?

FantasticR1604171325
FantasticR1604171325 @fantasticr1604171325

So i installed this, RivalAI, orks, and air traffic on my Xbox server hosted through GTXgaming but nothing is spawning. Im very familiar with these mods because i installed them on my PC server and they work perfectly.

Meridius_IX/Lucas
Meridius_IX/Lucas @meridius-ixlucas

If you're using Selective Physics Updates, then that needs to be turned off. If it cannot be turned off, then the SyncDistance needs to be set to a minimum of 10000. Try starting with that, if applicable.

TP
TridentPT @tridentpt

I noticed that while this loads, it's loading API for mods that are not on Mod.io like the Water Mod and the Shield Mod. Anyway these could be taken out to save on server load?

Meridius_IX/Lucas
Meridius_IX/Lucas @meridius-ixlucas

Aside from a negligible blip at startup, if the mods aren't present in the world, then there is really no performance impact. I only maintain 1 set of code for this mod that gets used on both mod.io and steam - I don't have plans to deviate from that model and make special changes to this version.