Original Post — Direct link

I love the C.A.M.P. system in Fallout 76 and I'm always looking for new and interesting ways to use the camp objects. I had the idea recently to try and create a working set of dice though I wasn't entirely sure if it was possible. There were a few technical set backs but after a few days of playing around with it I actually figured it out. I'm not entirely sure what you would do with working dice... I was definitely more interested in whether or not I could do it than if it would ever be useful. In any case, you can check out a video of the "dice roller" in action here:

Dice roller

I've also got the entire build detailed in a schematic here: https://i.imgur.com/IupEHgE.png

Explanation:

In order to calculate a six sided dice roll (or anything random) you need to use the random switch camp object. A dice roll starts with a first "coin toss" of left/right on a random switch, where left right are the numbers 1-4 and 5-6 respectively. The next set of random switches divide the numbers in half and do another "coin toss" to determine what's next. So the next decision may land your roll in choosing between 1-2 and 3-4. Then another decision between the final numbers, say 1 and 2.

This is where the first problem and limitation actually occurs because technically what you are doing at the beginning is choosing 1-4 and 5-8. There is actually no pure way to roll 1 in 6. This makes a lot of sense if you think about binary and computers (where the random switch is basically 0/1). The way these random pathways work suits numbers that are powers of 2. So you can easily do a dice roll for 4-sided, 8-sided and 16-sided dice but not 6-sided. In order to roll 1 in 6 you must either discard any result for 7/8 or divert that power to a duplicate set of random switches (which will lower your chance for a failed/invalid roll to 1 in 16). You will always have a chance of a "failed" roll however as there isn't a better way to handle this.

The second complication is that since all pathways lead to the same lighting connectors you will have a backflow of power returning from the lightboxes representing the dice. They will travel back to the other end-line random switches and power additional light boxes that are not part of the number you rolled (you may roll 2 but power 6 lights total). The way to prevent this was to install "power dampeners" in the form of light boxes (that consume 1 power each) inside the building. Using two small generators nets a maximum power of 6. If you roll the number 1 then 5 lightboxes are placed between the power source and the dice lightboxes. If you roll a 4 then 2 lightboxes remove power from the 6 being sent and so on.

EDIT: To add on to the above explanation of power backflow, I should also mention that when power is choosing the order of connectors/wires to travel through it does it in layers. So if you run 3 wires from a connector to 3 light boxes and then run 1 wire from 1 of the light boxes to another light box, it will only send 3 power to the first layer in the wiring, not to a second layer (where the other light box is) as long as the first layer of wiring can accept power.

Anyway, I have no idea what you would use this for but... yay science?

External link →
about 5 years ago - /u/Ladydevann - Direct link

Holy wow!!! This is super cool!!