Space Engineers

Space Engineers

Not enough ratings
Unmerged Grid Rename
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
2.779 KB
May 31, 2019 @ 3:53am
1 Change Note ( view )

Subscribe to download
Unmerged Grid Rename

Description
Using merge blocks as docking mechanism? Stuck with base name on your ship? Use this script!

This script monitor status of merge blocks, if it finds out that all are disabled it will change the grid name.

Add code below to CustomData of Programmable Block that this script is running on.

[UnmergeGridRename] GridName=Thats my ship name! MergeBlockToMonitor=Docking Merge Block

MergeBlockToMonitor value is optional. If not specified it will monitor status of all merge blocks in grid.
14 Comments
[I.L]Methidox Mar 1, 2024 @ 3:04pm 
coming back to this script.. answer to my own question. delete the entirety of the line "MergeBlockToMonitor=Docking Merge Block" to use more then one merge with the script.
hey, at lest it's made easy to figure out, even for me xD
kinngrimm Feb 11, 2023 @ 2:53am 
Same as with @[I.L]Methidox, i am having modular ship parts with 2 or more merge blocks. Can the script handle those or has anyone come up with a work-around?
[I.L]Methidox Jan 23, 2022 @ 1:19pm 
May I request the ability to have multiple merge blocks being used for this single script? There are two merge blocks I use on my bike. One on each side. It's not a huge issue with just having one merge with this ability but it would help a little more
[I.L]Methidox Jan 23, 2022 @ 1:19pm 
Good to note is, mergeblocktomonitor should be the name of your merge block. If you've changed the name of your Marge block to something specific, you have to put that specific name within the custom data after the equal sign. I didn't know this but figured it out. And obviously, that's my ship name is the name of your ship. It took me a little bit to figure out the merge block issue. If I may recommend a bit more detail in this description, it would make life a little easier.
Aside from that, this script is exactly what I need. I've made an atmospheric bike with merge systems that allows it to utilize every bit of use that would be necessary in Space Engineers, from Tool utilities to actual ship merging as well as Rover management. This script allows me to use this as it's meant to be used in a server that is required to have all grades named. Without grids being renamed, the grid goes poof. Thank you for creating this script. It's exactly what my bike needs.
Trapezoidalty Nov 6, 2021 @ 1:09am 
nvm, i just read the instructions wrong
Trapezoidalty Nov 6, 2021 @ 1:00am 
can you update this pls?
JarutheDamaja Dec 1, 2020 @ 12:31pm 
That sounds like the script I'm looking for :) Thanks for the answer. Guess I'll have to include a merge block in my builds then. But you sayd status, that means MB doesn't have to be on the hitchsystem itself, just have to get switched on/off when a trailer is connected/disconnected. I'm giving it a try, thanks again.
GThoro  [author] Nov 30, 2020 @ 5:44pm 
@JarutheDamaja not really, I've written it a long time ago, now I would write it differently and PB will only monitor own grid name and change it when it's different than specified. No need to involve merge blocks at all (right now script monitors merge block status).
JarutheDamaja Nov 30, 2020 @ 8:07am 
Hi, does this also works with rotor? For example when disconnecting a trailer?
Otherwise I'm tempted to redesign my hitch to a merge block one xD
Belfontan Jan 2, 2020 @ 7:43am 
In addition I would like to mention that this script only works, if the PB is on the same grid as the merge block.
So if your merge block and your PB are on different (sub)grids, it will not work!

Very nice script!
Thank you again!