Railcraft

Railcraft

34M Downloads

[Suggestion] Analog signal controller boxes

wooky opened this issue ยท 12 comments

commented

Change the signal aspect based on redstone strength rather than a digital on/off. The values of which input produces which aspect should be set by the player.

Very useful when using distant signals and you want one signal to display several different aspects, much easier than having to build large clusters of signal controller/receiver boxes.

commented

As a design document, this is rather lacking. I'm afraid significantly more details will be needed before I can even evaluate how useful this might be.

commented

Sounds potentially useful, but there aren't 15 different signal aspects.

So my question is if 0 through 6 should be each aspect, leaving the remaining states unused, or have 1, 2 and 3 represent green, 4, 5 and 6 represent yellow and so on?

commented

That, or let the player select which aspect they want to display based on what the input is.

For example, the player could pick strength 0-3 to be green, 4-5 yellow, and 6-15 red, all from the box's GUI.

commented

Okay, so I'll probably work on it. Here's my idea for the design (excuse my crude MSPaint skills):

Design

  • With the buttons on the left (with the aspect names in them) you can enable or completely disable the aspect
  • If redstone signal strengths overlap, the most restrictive aspect will be considered. So in the picture, signal strengths of 4-6 will produce a blinking yellow light, not green
  • If redstone signal strengths are absent, the controller will turn off, so strengths of 8-9 will turn off the receiver.

Please comment before I start working on this.

commented

@wooky You should not be able to send the Blink Yellow aspect, in my opinion, as it's used for linking.

commented

Well, you can send a Blink Yellow with a regular signal controller box, so I don't see why you shouldn't be able to send it with this one. Realistically, I should have complete control over which aspects I want to send, so maybe I should also be able to send a Blink Green aspect? :P

commented

Well, then it's fine, I guess.

commented

You can even send the "Off" aspect. Which was not originally possible, but I was petitioned by several people to make it so.

commented

What do you think of this GUI? (Actual screenshot from the game)

screenshot

I might need to fix the margins a bit

commented

Well, any values that are not defined (in this pic, 8) will turn it off. Why shouldn't you be able to send a blink red? You can do that with the regular controller box.

commented

Okay, so the implementation should be finalized. If people are okay with this, I will make a pull request shortly.

Design:
2014-10-07_17 52 22

Recipe:
2014-10-07_17 54 21

commented

Looks good to me.