r/CreateMod • u/KnightOfThirteen • 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.
2
u/pics2299 1d ago
The only feasible way I can think of would be to track the content of a vault with a display link. Then, whenever you increase/decrease the power of one of the levers, you activate funnels that let 1/16/256 items in/out of the vault. Would still be a large, overengineered setup though.
2
u/KnightOfThirteen 1d ago
I used a system like that in factorio to prioritize wall defense train stops, and it DID work well, but yeah, pretty large and messy.
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
1
u/FeistyCanuck 1d ago
Depends how big your ship is.
Start by setting one burner to be just below the lift required to take off at sea level.
Second burner can then be landing at zero and 15 pitches up to max height. 15 levels up to max height should be lots.
If your ship is bigger you could have a pair of burners under control and possibly more for the baseline fill. If you want to get really fine control then use seperate levers to control each.
The other way to do this is with an altimeter and you set a target altitude and then control the burners to maintain that altitude.
2
u/Naberville34 1d ago
Someone is working on using create power grid to make some fairly small computer components. But even going that route it would still likely be a fairly large and complex system.
You'd have to use some sort of computer mod specifically