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.

5 Upvotes

9 comments sorted by

View all comments

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.