Space Engineers

Space Engineers

109 ratings
Basic Defense Shield
3
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Script, Other
File Size
Posted
Updated
660.771 KB
21 Jun, 2024 @ 8:49am
29 Jun, 2024 @ 8:59am
4 Change Notes ( view )

Subscribe to download
Basic Defense Shield

In 1 collection by Silentor
不言的模组重置计划
13 items
Description
intro

A basic defense shield has been added to all grids, and this shield does not require any additional resource consumption.

Details

As long as the grid is powered, it can obtain a basic defense shield (but it does not consume power), so pirates will also get a shield.
This shield is determined by the number of blocks in the grid, that is, the larger your grid, the higher your shield value.
However, it can be configured through the configuration file.
Through the configuration file, you can achieve the following effects:

1.Large grids and small grids have different shield bonus ratios.
2.Grids exceeding a specified number of blocks only get 75%/50%/25% of the shield value.
3.The recovery speed of the shield decreases as the number of grid blocks increases.
4.The shield value of a space station can be less/more than a grid with the same number of blocks.

However, you need to note that because the shield is based on the grid,
the grids connected by the rotor or hinge on your ship have separate shield values.
If they are composed of very few blocks, they will be damaged very quickly.

Configuration File

After installing and running the MOD once, the configuration file will be generated at:
[C:\Users\{ Username }\AppData\Roaming\SpaceEngineers\Storage\{MOD name}\基础护盾.cfg]
You can modify the maximum values of some functions.

配置选项 | Configuration options

Options
Function
Default value
护盾基础值
The basic shield value provided by a block.
80
大网格系数
The basic shield value of a Large Grid will be multiplied by this number.
1
小网格系数
The basic shield value of a Small Grid will be multiplied by this number.
5
大网格充能值
The shield value that a Large Grid recovers per second.
120
小网格充能值
The shield value that a Small Grid recovers per second.
240
空间站系数
If it is a space station, this number will be multiplied again.
1.5F
充能衰减
Does the shield charging speed decay with the size of the grid?
true
大网格75系数
When the number of blocks in a Large Grid exceeds this value, the shield value is only 75%.
1600
大网格50系数
When the number of blocks in a Large Grid exceeds this value, the shield value is only 50%.
2200
大网格25系数
When the number of blocks in a Large Grid exceeds this value, the shield value is only 25%.
3400
小网格75系数
When the number of blocks in a Small Grid exceeds this value, the shield value is only 75%.
350
小网格50系数
When the number of blocks in a Small Grid exceeds this value, the shield value is only 50%.
450
小网格25系数
When the number of blocks in a Small Grid exceeds this value, the shield value is only 25%.
550

The calculation method of the shield value is:

Base Value * Size Coefficient * Number of Blocks * Exceeded Percentage * Whether it is a Space Station = Shield Value For example
the shield value of the ‘Big Red Ship’ is:
80 * 1 * 1439 * 100% (not exceeding 1600 blocks) * 1 (not a space station) = 115120

Shield value display

If you want to know the shield value of the ship, you can set a cockpit or driving seat as the main driving seat in the control panel.
The shield value will be saved in the custom data option of the main driving seat in the form of [current value, maximum value].
You can also subscribe to this [basic display script], set the names of the cockpit and LCD in the programming block,
and then read the value on the LCD.

The shield value will be displayed when controlling the ship from the main cockpit.



Other



关注点赞收藏,三连来一个~

This product is not authorized for release on Steam, except under this Steam account :[寂语不言丶]
[/h3]
45 Comments
Silentor  [author] 17 Jun @ 10:17am 
@Hoofie
Hi Hoofie,
Under normal circumstances, the shield highlight effect should only display for a few seconds. The issue you're experiencing is likely caused by conflicts/interactions with other mods.
Try temporarily disabling other mods to identify which one might be interfering with the highlight system.
Silentor  [author] 16 Jun @ 7:32pm 
@Hoofie
Perhaps there were problems after the update... Let me check...
Hoofie 16 Jun @ 9:30am 
Is there a way to remove the purple glow? Some of my ships are stuck with the purple glow, even when the mod isnt loaded.

The glow also bugs out from time to time where it goes all over the screen like a disco-party.
YORBIGBLACKDADDY :) 30 Apr @ 7:50am 
Would Love To See The Advanced Version :)
lord.riker 5 Apr @ 9:41am 
I love this mod. When you have time to release the advanced version, can you add an option to ignore damage to certain blocks in the config? It has an interaction with Federal Industrial - Rocket Propulsion. The thruster is supposed to hurt itself to use up its fuel, but with this installed it instead drains the shields.
Ashes Vargrand 11 Mar @ 8:18am 
ah ok. you have cool mods. want to use your Function Expansion Mod. But this colide with my lower resources mod. So the Drill Option is to heavy for that.
Silentor  [author] 11 Mar @ 6:53am 
@Ashes Vargrand
I recently made a more advanced version, but it has not been released yet. I will release it if I have time...
Ashes Vargrand 11 Mar @ 1:20am 
hm is it possible to add an energy consumption for this shield?
Boss Pasta 10 Jan @ 7:38pm 
I would like to use this mod and configure it for my own survival with friends, but can you please create an English translation of the files at least, so that I can actually understand what it is I'm messing with? I'm sure other users would appreciate this as well. Thanks.