Space Engineers

Space Engineers

38 ratings
Nerd's Shield Framework
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script
File Size
Posted
Updated
1.385 MB
1 Jul @ 6:08pm
27 Aug @ 6:59pm
28 Change Notes ( view )

Subscribe to download
Nerd's Shield Framework

Description

This mod framework adds two types of blocks:
- Main shield blocks, and shield upgrade blocks. Main shield blocks provide the grid with a skintight shield that can be enhanced through shield upgrade blocks. They are however, limited to 1 per grid, with any more exploding.
- Shield upgrade blocks can only modify a ship's shield, not produce it, but have no limit and can be placed anywhere on the grid to modify the shield.
- Blocks will automatically work, so long as they are on. No user setup or maintenance is required beyond placing them.



Shields have various stats and damage multipliers, but the most important ones are the following:
- Shield HP (sHP): The strength of your shield
- Shield Regen (sHP/sec): How fast your shield HP regenerates
- Regen Cooldown: How long the shield takes to start regenerating after sustaining damage,
- Shield Bleedthrough: How much damage does the shield let through depending on the shield HP percent, with different shields having different bleedthrough curves.
- Shield damage type resistances - how much each damage type will damage your shield.



The mod automatically provides a shield HUD which displays critical information like shield HP, regen, and bleedthrough in an extremely easy to read manner (text).

The HUD can be toggled through the "/toggleshieldhud" command
The HUD can be moved through the "/setshieldpos <x pos> <y pos>" command, where X and Y range from -1 to 1 each, with (0, 0) being the center. Default is (0, 0.8). (1,1) is top right.


1. Download the Example Mod by subscribing to it. This may also require loading a world with the mod.
2. Copy the mod from steam's workshop storage (in this case, WhereYourSteamFolderIs\Steam\steamapps\workshop\content\244850\3514216898) to your local mods folder (usually %AppData%\Roaming\SpaceEngineers\Mods)
3. Open the copied mod files with a text editor of your choice. The shield stats will be in Data\Scripts\NerdShields\ShieldDefinitionsTemplate.cs, modify these to achieve the desired result. Stat documentation is contained within the file.
- If you need more examples, Midnight Shield Systems is a mod which implements this framework.
4. Upload your modified mod, which can be done through the Space Engineers mod list in any world by selecting the mod and hitting Publish.

Compatible with WeaponCore and Vanilla

Have an issue?
Discord Link: https://discord.gg/dxfxcnvXeh
Please report issues here. I do not check workshop comments very often.

REUPLOAD POLICY
You cannot reupload this mod under any circumstances whatsoever.
12 Comments
xXShadowNinjaXx 5 Sep @ 5:54pm 
Fascinating....
Mepo12 5 Sep @ 12:50am 
do ai spawn with these shields? if not is there a mod that does it?
XY78 11 Aug @ 11:03am 
Defense Shields that weaponcore is designed around does not support vanilla combat according to its own description (Used to though from what I recall). This shield framework makes perfect sense for people who prefer to not play with weaponcore.
kurama 26 Jul @ 12:01am 
I've been following your mods closely, and first of all, I just want to say—I really, really like them! You've done an awesome job.

That said, I do have a bit of feedback or maybe more of a question. Specifically about the shield mod: we already have a very configurable and well-integrated shield system that's supported by frameworks like MES and WeaponCore. Both of those already hook into the existing shield mod quite well.

So I’m wondering about the need to maintain a new or separate shield system alongside those. It feels like a lot to ask for this new one to also integrate with all those frameworks on top of what’s already there.

I hope I’m making sense here—I’d really love to hear your thoughts on this
TheRebornAce 18 Jul @ 10:29am 
This is a known issue for all dedicated servers for mods updated after July 11. See the following link.
https://support.keenswh.com/spaceengineers/pc/topic/48685-dedicated-server-wont-updateload-mods-if-they-were-updated-recently-since-july-11th

This can't be fixed on the modders end. For more help visit the official Keen discord server for a walkthrough on getting your server updated
TurnipLee 18 Jul @ 8:12am 
Any fix for this yet?
Locutus918 17 Jul @ 1:11pm 
Torch refuses to download this for my dedicated server
eaglegundam 8 Jul @ 3:07pm 
finally a non weapon core shield framework
kos_dragon 8 Jul @ 12:26pm 
Can this be used to make a dome/sphere shield? Like Defense Shields but for vanilla?
50 COW 7 Jul @ 6:37pm 
Hell yeah!