Space Engineers

Space Engineers

659 ratings
Defense Shields - v2.2(8)
6
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Script, Modpack
File Size
Posted
Updated
290.994 MB
4 Feb, 2024 @ 7:35pm
13 May, 2024 @ 11:15am
4 Change Notes ( view )

Subscribe to download
Defense Shields - v2.2(8)

Description
Version: DefenseShields - v2.2(8)

Major Update!
2.2 brings a major update to defense shields. You will notice a new shield HUD ui which represents some new functionality that is critical to getting the most out of your shields.

*UPDATE* Shield side/face health pools have been added. Also added an "Automatic Management" mode (on by default in the controller), this mode self manages heat, shunting, modulation etc.. but comes at a recharge cost and is not nearly as effective as skilled manual control.

Two new core concepts have been added in this version, shield vulnerability and heat sinking. As your shield becomes more vulnerable you will notice a new icon show up on the left of your shield hud this value represents how likely a projectile is to penetrate your shield. The more heat your shield builds up and the lower its HP the higher the chance of penetration. This leads into the second new feature heatsinking, using the heat sink action will rapidly redirect heat from the shield to the emitter, which will both decrease the shields heat but also temporarily decrease your shields max (icon on the right) possible hp, both of which will greatly reduce the chance for penetration. In addition the existing shunting feature also has a very powerful counter penetration effect, so be sure to deploy this existing feature to avoid penetrations.

The other big change in this update is with modulation. Previously modulating would be very punishing when the enemy used the opposite damage and it was near impossible to find a good balance. With this update you now get rewarded for modulating into the predominate damage type you are taking, which will show up as the color of the shield planet on the hud icon. If the color is more orange you want to increase energy protection until its white, if its more blue you increase kinetic protection until its more white. If the icon is white you are receiving optimal protection.

*NOTE* Hud icon can be resized and moved, type /ds in game to see commands.

If you appreciate DefenseShields or WeaponCore please consider contributing:
https://www.patreon.com/user?u=14228932

[*** IMPORTANT NOTE ****]
This mod does not work with the Vanilla combat system, see WeaponCore below.

WeaponCore
These shields are designed to work with my combat framework which you can find here:
https://sp.zhabite.com/sharedfiles/filedetails/?id=3154371364

And the mods listed here:
https://github.com/Ash-LikeSnow/WeaponCore/wiki/Current-WeaponCore-ModList

Discord Server
For question or help join the discord:
https://discord.gg/crcBuacDgy

[Howto/Guide]
https://sp.zhabite.com/sharedfiles/filedetails/?id=715757295
https://www.youtube.com/watch?v=xKRUwfNj9Pc

[Config File HOWTO]
'C:\PathToSpaceEngineers\Storage\DefenseShields.cfg

APIs
The following properties can be found on any ImyUpgradeMOdule block or ProgrammableBlock (via MODApi or PB). In addition the ApiClient can be used to init from session.

Mods:
https://github.com/Ash-LikeSnow/DefenseShields/blob/master/Data/Scripts/DefenseShields/API/ApiClient.cs

Programblocks:
https://github.com/Ash-LikeSnow/DefenseShields/blob/master/Data/Scripts/DefenseShields/API/PbApiWrapper.cs


[Contributors]
Thank you Neimoh for the awsome emitter models! Thanks to AutoMcD for the O2 Generator and Control Block. Thanks to Enenra for shield voice warnings. Thanks to Whip for all of the fancy math help... math makes what would otherwise be dull and lifeless beautiful. Last but certainly not least, a big thanks to Nukeguard for the shield models/textures, shield hud icon, Modulator blocks, damage enhancer blocks, armor emitter blocks, block balancing, particles, testing, guide and more!

Thanks to Alysius for reworking the shield hit wave effects!

Thumbnail made by Adaline Industries https://sp.zhabite.com/sharedfiles/filedetails/?id=1708781387

[Special Thanks]
Equinox, Digi and Rexxar for putting up with all of my questions and providing awsome suggestions and examples.

Also much thanks to "Abisius" for providing support in the steam comment section! He has answered a ton of peoples questions over the last year or more!

License
https://github.com/Ash-LikeSnow/WeaponCore/blob/master/License
Popular Discussions View All (3)
1
17 Mar @ 4:21pm
Can you use Defense Shields without Weaponcore?
Davidenico
1
17 Mar @ 4:32pm
Base batteries drop to near zero if I'm away for a longer period (12 hours)
MrSnow
1
1 Dec, 2024 @ 1:40pm
Shield operation error
Mopnex
485 Comments
@Piolew55
that you write that the shield doesnt show up when beeing shot at while beeing set to "display when hit" points towards using either the vanilla framework or another incompatible weaponframework, a mod conflict or a case of file corruption.
there is a point inside the moddescription stating that it doesnt work with the vanilla weaponframework (this includes weaponframeworkaddons like vanilla+ or rearths advanced combat system), that is due to missing informations from it.

if you already use weaponcore or another weaponframework made to work with defense shields and a check for mod conflict and file corruption also turns out negative please report in on the discord linked inside the moddescription with logs and an example world (a world with no more mods than absolutly neccessary for problem reproduction and a premade situations for that reproduction) so that a proper look at it can be taken.
@Piolew55
defense shields is made to work in survival and due to stuff it relies on for working in survival beeing different in creative it isnt working as intended in creative worlds.

as for the weapons not damaging the shield and ignoring it that can be due to different things:
- a weaponframework not compatible with defense shields is used (for example the vanilla weaponframework)
- weapons based on weaponcore with the capability to penetrate shields on a percentual chance are firing at the shield
- the shields hp are low enough that it can no longer reliably protect and thus the shots fired upon it have a percentual chance to penetrate it
- the shield has been switched to structural integrety mode and thus is no longer protecting against weaponfire to instead harden the blocks against collision inpacts on the blocks

the color change is jsut a slight one and the ambient light of the area reflecting on the shield does in my experience outshine it.
Piolew55 7 Jun @ 7:47am 
there are some weird bugs I have been getting with this mod:
- weapons just sometimes ignore the shield (sometimes they also do 0 damage)
- the shield doesn't appear when hit (I have "display when hit")
- the shields can't change color when i set a different one
- on creative every shield regenerates all of its health every second, which makes larger ones indestructible

still a great mod and it works amazingly outside of these few bugs
Abisius Xarvenius Carbensius 26 May @ 10:40pm 
@Rogueredemption9
could you maybee a bit more precise about what the problem is, atm there is either something lost in translation or something got forgotten when writing the comment.
Abisius Xarvenius Carbensius 26 May @ 10:38pm 
@Firefli
i tried to reproduce it and couldnt so it is something specific that is going on and you will need to provide logs and an example world so that a look can be taken on what is going on either via the discord (preferred) or github which are both linked inside the moddescription.
Rogueredemption9 26 May @ 1:13pm 
im having shield issues with that no matter what i do, it just wont to the controller, tried every possible way, any ideas what it could be?
Firefli 24 May @ 11:35pm 
yes this is a grid that i built block by block station and my ship, and no other faction member was near, but twice ships poofed.. no explanation, had a shield up on the station 800 out, with 80 mill health, so pretty sure nothing came in.. just poof bot ships were not docked to station, making sure i do this now. one was ready to connect when it just vanished. this also isnt a server setting about a grid i dont own. as i built them .. renamed them.
@Firefli
... damn letter limit . . .

if you put together logs and an example world (a world with no more mods than absolutly needed for problem reproduction and a premade situation for problem reproduction) and report in with that and an as good as possible explanation about what is happening a deeper look on it can be taken.
@Firefli
due to se limitations the shields dont stay up while the grid isnt loaded, so if the world is no longer loaded the shields need to recharge when you load the world again.

as for grid just disappering that is something i couldnt find in my notes about stuff beeing reportet and also didnt experience myself.
make sure you or your factionmembers own every block of the grids or the shield shreds them if not told to ignore every grid (definitly not recommended from my side as then also enemys can pass the shield) or you set a shield frequency in the shield controller and give out this frequency to thrusted ones to put it into a shield modulator on the grid they want to pass the shield with (no shield needed on the passing grid for that).
also possible would be that the cleanup got them if they did fit the rules to be cleaned up.