Space Engineers

Space Engineers

26 ratings
Grid Integrity Update - Resurection 2.1 // Make It Great Again
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Other
File Size
Posted
Updated
549.019 KB
24 Mar, 2019 @ 12:10pm
8 Dec, 2023 @ 10:57am
6 Change Notes ( view )

Subscribe to download
Grid Integrity Update - Resurection 2.1 // Make It Great Again

Description
==============================================
How it works:

The script runs server side and creates a "hook" on all grids within the save. New and old.
If the grid takes enough damage, the grid will enter a "meltdown" stage where random blocks will be quickly replaces by warheads and instantly detonated. Making it seem likte the ship is self-destructing under it's own weight.

Note: The script is ALWAYS active. To se the status of the integrity of your grid, just enter "GridIntegrityStatus" as a name for the texpanel/lcd of your choise. It will then display the integrity status and also give a decimal in the "CustomData" folder. This is for ease of access for scripters who want alarms to go off when below 10% :)

Note2: The script will ONLY target armor blocks as potential targets for a warhead.


Note3: HUGE THANK TO lord.riker for fixing loads of issues with the mod!

==============================================

==============================================
This update:

Fix error introduced in the latest update.
Code cleanup.

==============================================

==============================================
Past updates:

Grid integrity is no longer affected by grinding.
Grid integrity is now affected by warheads detonation on the same grid or if it's within the explosion radius. Just like it should be.
Grid integrity should now be affected by lasers aswell.
Fix error where the warheads are deleated before they explode.

==============================================
Incompatible mods:

After some testing by lord.riker, two mods were found that disable this mods functionality.

Water Mod (Breaks init function, help wanted!)
https://steamproxy.net/sharedfiles/filedetails/?id=2200451495

Dangerous Decompression (Breaks processing function, help wanted!)
https://steamproxy.net/sharedfiles/filedetails/?id=2921132802

[QoL] Production Quota (Breaks init function, help wanted!)
https://steamproxy.net/sharedfiles/filedetails/?id=2304715504

Nuclear Weapons (Damage caused by warheads (both vanilla and nuclear) don't count towards lost integrity.)
https://steamproxy.net/sharedfiles/filedetails/?id=2667815590


==============================================
63 Comments
lord.riker  [author] 18 Mar @ 1:01am 
@Perryax Unfortunately they are still incompatible
lord.riker  [author] 25 Feb @ 12:07am 
@Perryax Sorry, I've been in the middle of a move and haven't been able to test. I'll check it out after I get back set up.
Perryax 16 Feb @ 2:25pm 
Are these mods still incompatible after the new update?
OffTheGridCG  [author] 8 Dec, 2023 @ 10:03am 
@lord.riker thank you so much! Send me a DM so we can fix that :)
lord.riker  [author] 7 Dec, 2023 @ 10:41pm 
I've made a couple of updates to the script and managed to fix all three of these issues. The error no longer pops up, grinders no longer deal grid damage, and I stress tested the mod for many hours and was unable to get it to crash.

Would you like me to send you the updated files, or should I post it myself?
lord.riker  [author] 7 Dec, 2023 @ 10:17pm 
Hey, are you still working on this? I've come across a few more issues.

First, I get the following error in the log

Script for MyObjectBuilder_CubeGrid is using the obsolete MyEntityComponentDescriptor overload!
You must use the 3 parameter overload to properly register script updates!
This script will most likely not work as intended!

Second, in the description it states that grinding doesn't do grid damage when it actually does.

Third, the game crashes somewhat often when trying to write information to the log. This usually happens when there are multiple grids being affected at the same time.
lord.riker  [author] 7 Nov, 2023 @ 1:34am 
Sorry to keep bugging you with these, but I found another mod that disables this one entirely.

[QoL] Production Quota
https://steamproxy.net/sharedfiles/filedetails/?id=2304715504
lord.riker  [author] 6 Nov, 2023 @ 1:17am 
I've found another mod that has minor a incompatibility.

Nuclear Weapons
https://steamproxy.net/sharedfiles/filedetails/?id=2667815590

Damage caused by warheads (both vanilla and nuclear) don't count towards lost integrity.
lord.riker  [author] 2 Nov, 2023 @ 5:05pm 
No problem! I'm glad I could help!
OffTheGridCG  [author] 2 Nov, 2023 @ 1:19pm 
Thanks for the info lord.riker!

I checked the code and so far I found out the following.

Water Mod: GI2 is loaded but never initializes.
DD: GI2 creates grid hooks but "processing" never starts.

Will reach for comunity help on this one :|