Space Engineers

Space Engineers

评价数不足
DeMergeFixed : Fixing Station doors
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Script
标签: ServerScripts
文件大小
发表于
12.154 KB
2023 年 2 月 3 日 上午 7:31
1 项改动说明 ( 查看 )

订阅以下载
DeMergeFixed : Fixing Station doors

描述
This mod fixes an old 2015 mod (https://psteamcommunity.yuanyoumao.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 条留言
Casper1123  [作者] 2024 年 10 月 20 日 上午 9:47 
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  [作者] 2024 年 10 月 20 日 上午 9:46 
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 2024 年 10 月 20 日 上午 5:25 
Is there any possibilty make this as script to run on programable block?
Casper1123  [作者] 2023 年 10 月 21 日 上午 7:09 
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 2023 年 10 月 20 日 下午 4:00 
" ### 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 2023 年 3 月 3 日 上午 6:39 
alrighty, will do.
Casper1123  [作者] 2023 年 3 月 3 日 上午 5:50 
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 2023 年 3 月 3 日 上午 5:26 
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.