Space Engineers

Space Engineers

509 ratings
NPC Defense Shields Provider
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: NPC, Other
File Size
Posted
Updated
168.961 KB
1 Apr, 2020 @ 3:36am
5 May, 2023 @ 7:19pm
5 Change Notes ( view )

Subscribe to download
NPC Defense Shields Provider

In 1 collection by Meridius_IX / Lucas
Modular Encounters Collection
20 items
Description
Meridius_IX has retired from modding. Click Here[gist.github.com] for more details.

Description

This mod adds Defense Shields to nearly all NPC Grids spawned through the Modular Encounters Spawner!


How it Works

The mod works by scanning each grid before it spawns, and if it contains at least 2 armor cube blocks, it will replace those blocks with a special Shield Emitter/Controller pair.


Limitations

This mod will not affect the following types of encounters:

- Static Grids: The emitter this mod used cannot extend a shield onto a station.
- Antenna Spawns: Any NPC Spawned from an Antenna (ie Cargo Ship Drones) will not spawn with shields. This is because those spawns do not route through the Modular Encounters Spawner.


Known Issues

- Being Able To Fly Through NPC Shields With Character: The reason this happens is because the Defense Shield mod allows any player that is considered Admin to be able to enter a shield bubble. This is not something I can correct from my end.

- Neutral Shields Damage Player Grids: Neutral grids still repel other grids as if they were hostile. This isn't something I can easily address, especially since reputation is governed at a 'Per Player' level (eg, one player in a faction could be friendly with an NPC while another in the same faction could be hostile with them). I'll likely add some sort of spawngroup blacklist or other measures sometime in the future.


Special Thanks

Huge thanks goes out to DarkStar and nukeguard for making the necessary changes to the Defense Shields mod that allows this mod to exist :D


Resources

Looking for Config / Admin Options? Having Issues with the Mod? Want to Find Resources for Making Your Own Encounter Mod? Click Here![github.com]

Join The Modular Encounters Collection Discord Server for News, Updates, and Support.[discord.gg]

Want to Support My Work? Check Out The Patreon Page![www.patreon.com]
Popular Discussions View All (2)
3
6 May, 2023 @ 8:57am
Invincible?
Zinogre Alpha
0
16 May @ 5:31am
Server crash when attacking ship with shield.
Fandangos
214 Comments
Abisius 23 May @ 10:46am 
@LePanda
you can buidl the same shields on your ship, even without this mod to tell mes to put them on grids or directly setting the setting in mes itself for it.

take a look at the requirements listed, defense shields is what brings the shields and you can build them on your grids.
LePanda 23 May @ 10:31am 
Only NPC ships will have these shields? Will the grids built by me have these as well?
Abisius 17 May @ 7:51am 
@Fandangos
if one world crashed but not the other while both have the same setup its probably somethign with the world itself and usually a sign of the world beeing to old or having caught a case of file corruption itself.
Fandangos 17 May @ 7:10am 
Now I tried the mod in another world and it doesn't crash and it works perfectly. I will try the procedure with deleting the mod and hopefully it will help. Thanks
Abisius 16 May @ 6:09am 
standard first aid list (file paths may vary for servers or non windows users or servers) (s for needs to be done on server/host and client side):
- make a testworld just with the affected mod and one of the other mods as a mod conflict test, don't forget the mod requirements.
- (s) make a file integrety check for space engineers itself.
- (s) delete all modrelated data in the main and world specific storage folder and let it regenerate in case this got corruptet (findable under %appdata%\spaceengineers and %appdata%\spaceengineers\saves\yoursteamid64\yourworldname).
- (s) delete all modrelated data in the workshop folder and redownload it to neutralize eventually data corruption by modupdate (files are findable inside the workshop folder of the steam library folder in which you have installed space engineers).
Abisius 16 May @ 6:08am 
@Fandangos
this mod is only there for ease of setting up and to not break worlds that uses it prior to its integration into mes itself, there is nowadays a option for it in mes itself and you can find out how to switch that setting via the mes wiki.

besides that it could be file corruption on game or modend or a case of mod conflict, i have mnade a "standard first aid list" which i will post in a seperate comment because of its size for sorting this out.
if that doesnt help you will probably have to gather the logs and provide an example world for a full blown bug report, which i would sa is preferably done via the mes discord.
Fandangos 16 May @ 5:30am 
Hi, for some reason my server crashes when attacking any NPC. When I uninstall this mod, it doesn't crash even once. I would really like to use this mod, but I don't know how to fix it when the server crashes every time. Don't know what to do with it? Thanks a lot
jorjez22190 4 May @ 12:05pm 
on peux le telecharger ou ?
kos_dragon 4 Apr @ 8:01am 
Hello!

Are there any blacklists here that could disable shield spawning?

In my collection of mods there are abandoned buildings, such as barns, factories, etc. And a shield generator appears in literally every toilet! This gives me almost endless expensive resources for virtually nothing, which breaks the scenario a bit.
dRuPpI 22 Mar @ 1:11am 
yeah i know the have default settings.... I hate the Hex grid and only want show on hit for all NPCs.. I tried to change the default settings in the Shield Mod for my local game but I can't find the place where the Block settings for the defense controller is stored at all