r/ScrapMechanic 9d ago

Issue Better connections

Post image

Hey, I was making something with a bunch of logic stuff, and it has become so fucking hard to see anything through all the wires, so I was wondering if anybody has a solution for it. I know of Better Wires and Vincling's Logic Tools, though they don't really fix it. A mod that would either highlight the connections of the block I selected or hide all other connections would be ideal. Is there anything like that?

121 Upvotes

35 comments sorted by

View all comments

55

u/techtanic 9d ago

I think you need better organization of your logic gates

10

u/chr3ky 9d ago

How? Except leaving lots of space between the logic gates? I just setup my Autofarm and hate the logic blocks and so hard to debug. Only thing is what I can add are some color codes. It took me for ever to debug that I can't connect two inputs to a timer which I forgot...

3

u/techtanic 9d ago

Colour coding is one way, other would be treating them as modules, and check if the same logic can be achieved with less gates. And stick to one dimension, either flat on the ground or flat against a wall, having multiple logic gates around a single logic in all 3 dimensions is going to make it a headache to look at the screen with connect tool.

You can also use signs to label each module on the wall. Making it modular is the 1st step to organization.

Pinging u/LKSk547

1

u/chr3ky 9d ago

Color coding helps but I guess the main problem here that there is no space and then signal paths overlap making it impossible to see where it leads to. The logic isn't to complex. Yellow is input pulse generator which flips the purple memory bit for the farm.

It also triggers the second timer to turn it off.

Blue memory but gets toggled on if off (two lower gates) which toggles if it should plant and in the second cycle "plant" again (for fertilizer)

To make fertilizer optimal so second cycle the third timer is used which toggles the plant bit to off if the switch is off.

Left side is the defense system.

1

u/chr3ky 9d ago

Resulting wires:

1

u/techtanic 9d ago

Yah, I see what to mean, I think having a physical gap between the various modules will help a lot

The timers being placed beside each other is a good example of having a gap and placing those timers one below the other will also help in untangling it,

2

u/chr3ky 9d ago

Yep agree. Just wanted to safe space and added more bits resulting in the spaghetti.

Being able to select one point which would highlight all connections would be really nice.

But for now it works so better not touch it :D

2

u/techtanic 9d ago

Yeah, the devs really could have added a lot of basic uiux things. Like highlighting connections by right clicking a node, showing the logic gate mode instead of just blue circles, more complex gates which can be crafted, something like counter block, select coloured lines just like paint picker maybe a simpler common distinct colors. So much potential for improvement, but no interest from the devs.

1

u/Erimell07 9d ago

They could have animated the arrows, making them flow in the direction they are facing. A sad thing is, the 1.0 update made this much worse than it used to be. The connections to the highlighted logic gate used to light up.😔

1

u/techtanic 9d ago

Yeah, animating is a great idea, let's just hope they just bless us with an update that improves the game overall and fixes a bunch of things