Project Red - Illumination

Project Red - Illumination

37M Downloads

[Gate proposal] Button panel

Sidorion opened this issue ยท 8 comments

commented

A panel holding several buttons arranged in a grid

  • each button would output a different signal strength, the minimum would be 16- #buttons
  • Output would be on each side and in the back strongly powering the block, the panel is attached to, just like normal buttons (to make it flush and avoid visible cables running from the panel)
  • Buttons will be added by right-clicking with a button and removed by shift-right click with a bare hand
  • Panel output has three modes: normal (signal length as button), pulse and continuous (strength changes on button press), modes are selectable with screwdriver

Use: Input panel for code-doors and lockers or selection panel (e.g. destination for carts, floor selection for elevators) or light switch for complex room lighting

Benefit: greatly reduce size of such input panels (vanilla uses at least one block per button) without the need of computercraft and complex programs.

I know, it's no real gate, but this idea fits most into your mod and it isn't replaceably by any existing gates.

commented

This "gate" is interesting but i think that instead of output different signal strength, it would fit better this mod if it outputs on different colors of bundled cables. Also I was looking at the code to allow a similar gate using levers instead of buttons. My only concern is about the size of buttons/levers on such gate: since they can become too small maybe the gate needs a GUI for interacting.
If i can code this gate, I'll do a pull request.

commented

Don't see a significant need for this. Use CCCraft touch screens, I guess.

commented

The problem with using ComputerCraft, is that one needs to know how to program, also the amount of space it would take up to make a touch screen with 16 options would be way to much, whereas a simple switch panel that accepts bundled cable requires no programming knowledge, and I still think that this is something this mod needs.

Also I do believe in the current version of ProjectRed is not compatible with the current version of ComputerCraft.

commented

I had a very similar idea for the reverse side. A gate made with Red, Yellow and Blue Illumar that would be used in the recipe for a light and allow that light to turn different colors based on which color of connected cable powered it. It could be connected to bundled cable and see all the colors in the cable. THAT might be the way to use this idea. Just have it set up kind of like Chicken Bones Ender Storage chests, you can put on buttons and then COLOR them (in the case of Illumar buttons, the visual color wouldn't change, just what color it outputs to), they output to that Color in a bundled cable on the back side. You could also make it so you could put levers on it and color code the handles.

You want to make it REALLY cool, make it so you can put items into the grid also and the items would work LIKE a button. Have no suggestion on how to implement that...

commented

I had a similar idea, I would have used a panel with 16 levers, however buttons which have a switch mode could work too, preferably colored to show which color it would output to, you would be able to use this "Circuit Panel" to control redstone signals going through bundled cable, to allow control of an entire area, from a single point.

commented

I've started looking at the code needed for making this possible. As far as I've understood, a new subclass of integration BundledGateLogic is needed, but I'm not sure if also a new subclass of BundledGatePart is needed too. I also don't know what else you need to actually add the gate (such as a 3D model and the texture, I think), so if anyone has any hints I'll be really happy to try write the code and do a pull request with the new gate.

On the design perspective I'm not sure if a GUI for interacting with the levers/buttons (similar to the one for the timer gate) can be a better idea than lots of small levers/buttons on the gate itself (it can be tricky to point and click the right very small button I think).

commented

A GUI to interact with the buttons would render the whole panel useless. The intention was to have multiple buttons accessible in a small space. It was not intended to be clicked on passing by (that's what BigButtons is for ;)) but to stop in front and enter a code. Actually I came to this idea as a control for a minecart-elevator. You can't reach that far when you sit in a minecart and therefor are limited in the number of buttons (e.g. up, down). I wanted to have an option to enter the target floor in a convenient way.

commented

@MrTJP Now that a button panel is actually being made, this issue should be reopened