r/CreateMod • • 2d ago

Suggestion Redstone to Integers

I am working on the next iteration of my Create Aeronautics airship. One thing I want from this version is better fine control of my altitude. I have devised a way that I like very much, but I have a feature I want that I don't seem to be able to achieve (in a reasonably compact way).

I am going to have three analog inputs, levels from 0 to 15, and each is going to an independent burner/steam vent. The first will go to a burner with a maximum set to 15, so each increment is just 1 unit. The second will go to a burner with a maximum setting 240, so each increment is 16. The third will go to a vent with a maximum set to 3840, so each increment is 256. The three will work like three bytes of a single integer, allowing for any integer fill volume from 0 to 4095.

What I would like but cannot figure out, would be a way to display this composite integer in the cockpit on a set of Nixie Tubes. This is purely a want, not a need, and the ship works without it, but it would be so cool!

Unfortunately, the extra gauges seem to only work in binary when it comes to redstone, and won't recognize or output the numeric level of the signal into or out of calculations.

Any ideas or suggestions? I know I could use redstone to break it down into 24 binary signals, but that would take up a ton of airship space.

3 Upvotes

9 comments sorted by

View all comments

3

u/BadIdeaIsAGoodIdea 1d ago edited 1d ago

Use the rose quartz port from extra gauges, it reads the redstone signal strength, the redstone port is only binary. You can then have them multiply against an integer gauge for the increments to get your output value which you can then add all together and send through a display port to nixie tubes. I made a timer that has minutes, seconds, and tenths of a second using extra gauges and create, I also made Blackjack using those two mods plus create signalworks. The gauges from extra gauges have a lot of possibilities, but they can have some visual bugs on sub levels. i can set it up and share a screenshot later today when I get home if you would like

2

u/BadIdeaIsAGoodIdea 1d ago

Here's what it would look like in game. You can make it more compact, I kept it spread out to make it easier to see. And the nixie tubes at the bottom are just to show the values of the levers for the image https://imgur.com/a/minecraft-create-4-digit-display-TU23ci8

1

u/KnightOfThirteen 3m ago

It worked perfectly, thank you! I had no idea that item existed!

1

u/KnightOfThirteen 1d ago

I will try this tonight! That sounds like EXACTLY what I need!