Space Engineers

Space Engineers

424 ratings
Defense Shields - v2.2(8)
4
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Script, Modpack
File Size
Posted
Updated
290.994 MB
4 Feb @ 7:35pm
13 May @ 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://steamproxy.net/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://steamproxy.net/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://steamproxy.net/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
173 Comments
Abisius 5 Jul @ 11:57am 
@Balian of Ibelin
due to the negative hp cap i would go for a case of file corruption.
delete all modrelated files from the workshop folder, the main storage folder and the world specific storage folde before doing a clean redownload. make sure you dont miss a folder or config file related to defense shields.
Balian of Ibelin 5 Jul @ 11:22am 
I have a minor question:

The Shield Control Table lists the CAPHP as -88, and the Shield HP bounces between -88 and approx 1,300,000. No error shows up and the base's power generation is not fluctuating.

The shield icon, when standing in the shield field, is Grey in the Center surrounded by a dashed white circle. The outer fields, I assume for directional shunting, are all red. Is something wrong, or is this normal behavior?
Abisius 3 Jul @ 11:50am 
@DArmada03
without modifying stuff no.

someone o nthe discord did find a way with modifying files, but i think it does have some other effects too.
https://discord.com/channels/804196269072711720/804204370173362186/1254216155304955975
DArmada03 3 Jul @ 8:14am 
Hey :) is there anyway of stopping people that admin being able to bypass shields even without any of the admin stuff selected.

someone without admin can't bypass shields but those with admin can which makes it really cheaty on the admin part
Abisius 24 Jun @ 3:28pm 
@Korny
as far as i understand it it works via power producers (reactors, solar panels, wind turbines) and the amount of power they outpui in relation to the amount of blocks and the shield area.
a battery is no power producer but a power consumer in regards to the power network, atleast to my understanding.
Korny 24 Jun @ 2:14pm 
How does Power Density work, I was at 0.98 and added 4 batteries and the Power Density went down to 0.90. I dont get how this value works.
Abisius 22 Jun @ 11:34am 
@Werido989
in theory its posisble but it will have an effect on all shields.
there is a "DefenseShields.cfg" inside "%appdata%\SpaceEngineers\Storage" (filepath may vary if you dot use windows) in which you can customize some of the shields performance parameters.
Werido989 22 Jun @ 11:14am 
Is it possible to lower the amount of hit points each shield has? it can be difficult to take out even the small ships when their shields have so much health. Is it possible to lower everyones by 1/4th?
Abisius 20 Jun @ 1:00pm 
@MrFun01
a few pointers that hopefuly help narrow stuff down:
- is the server setup to not be console compatible?
- did you check for mod conflict and file corruption on game and modside?
- did you check if a plugin used on the server is in conflict with ds?
- did you make sure that it is no localized version you use?
MrFun01 20 Jun @ 12:18pm 
I just tried to setup a new server with this mod, but it wont let the server load with this particular mod. All the other allow it to boot up just fine.