Space Engineers

Space Engineers

Not enough ratings
DeMergeFixed : Fixing Station doors
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script
File Size
Posted
12.154 KB
3 Feb, 2023 @ 7:31am
1 Change Note ( view )

Subscribe to download
DeMergeFixed : Fixing Station doors

Description
This mod fixes an old 2015 mod (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2927777502) that converts specific grids into Dynamic when detaching, allowing you to make your own airtight Merge Block doors on Stations

The problem that arises here is that when a Merge Block attaches to a station, the grid from said merge block becomes a Station grid which is locked to the world map. When detaching, no conversion back is done, which makes the door be stuck in place.

This mod converts the grid back to Dynamic, allowing it to move!

Here is a quick use guide.

## This is all done in the block NAME of the merge block of the grid you want to convert.
[AutoConvert] or {AutoConvert} (capital sensitive) should convert the grid to Dynamic. Ran into some problems with this one myself
[AutoConver!] or {AutoConvert!} (^) skips an internal check, force converting the grid to dynamic. Use this when the non !-tag version works.

# Text here : Any text behind a # in the block's name will become the detached grid's name. Useful for detaching ships and drones for example.

Example block name:
Merge Block [AutoConvert!] # This will be the Grid's name!


### Important note!
The Stationside merge block (not the renamed one) should be disabled FIRST and then the [AutoConvert] merge block.

I'll update this mod and page whenever necessary.
8 Comments
Casper1123  [author] 20 Oct, 2024 @ 9:47am 
with 'changed the API' I don't mean haven't updated it; being able to shift a ship from being station to ship is quite the action, and therefore, if I remember correctly, they stopped regular programmable blocks from doing so. However, using a mod, it could be implemented as server-side behaviour.
Casper1123  [author] 20 Oct, 2024 @ 9:46am 
Last I remember this mod modifies the behaviour of something unavailable to the regular programmable block; something I ran into back then and why I wanted to fix the broken mod. I mean.. since it's been a good couple of years since I last played SE, and when I changed this it was not possible to change a ship's state using a programmable block. They probably haven't changed the API so I don't think it'd be possible. Sorry.
s.t.e.n.y 20 Oct, 2024 @ 5:25am 
Is there any possibilty make this as script to run on programable block?
Casper1123  [author] 21 Oct, 2023 @ 7:09am 
It's been a long while since I was last involved/playing Space Engineers, so my knowledge of how this all works has kinda sunk away. How it works is that when the stationside needs to be disabled first so that they become seperate grids, then when you disable the tagged merge block it checks whether it is connected to anything (which it then is not). If you were to do it in the reverse order it would check first, then decouple, resulting in it not working.
I've lost almost all my knowledge on how to mod this as I've since moved on to studying irl and have not used SE-modding knowledge in.. forever, so if I were to try implement it it would take quite a while. Is there no way to work around it?
behemots23 20 Oct, 2023 @ 4:00pm 
" ### Important note!
The Stationside merge block (not the renamed one) needs to be disabled FIRST, then the [AutoConvert] merge block.
"

Hello, is it possible to reverse this? to deactivate the grid fusion block which must become dynamic rather than that of the station?
Spicy 3 Mar, 2023 @ 6:39am 
alrighty, will do.
Casper1123  [author] 3 Mar, 2023 @ 5:50am 
For the usage guide I basically copied the previous version's guide, as I only patched up the broken parts of the code. You could however, just download this and test it in a quick creative world to see if it does work, and I'll update the page appropriately (I'm quite busy with many things at the moment)
Spicy 3 Mar, 2023 @ 5:26am 
Could it bepossible to dissable the shipside merge block first? i am building an infinite drill and thought this mod could be my savior but i cant fully automate it if i have to bissable the station merge blocks.