Portal 2

Portal 2

533 ratings
Map Creator Tools : Random Number Generator
   
Award
Favorite
Favorited
Unfavorite

Subscribe to download
Map Creator Tools : Random Number Generator

In 1 collection by Geneosis
Map Creator Tools
46 items
Description
The Map Creator Tools collection is a list of the demo/showcase maps I made and I found. No puzzle or challenge here! This collection will only contain maps showing mechanisms usefull for map creators and usually hidden to the player. Feel free to use them in your own maps!

I present here a way to generate random values.
I also tried to print the number using flip pannels, but I couldn't because of some bug with laser cubes in the editor... So I just writed the numbers with lights and used a flip pannel to indicate which number you got ;)
Here it will be an hexadecimal number (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F).

Note : I know the selected value is a bit unstable, and the whole mechanism could be improved a lot but this is just a concept demo ;)

Tags :
geneosis, hazard
38 Comments
LittleNinja 14 Aug, 2020 @ 2:44pm 
THANK YOU for this!
Azkunki 1 Aug, 2013 @ 9:59am 
"the more you let time to the ball to move in the bow, the more you get a randomized value" Yep, and I think that by doing like that, it will be easier to see if the four numbers which are in the center have indeed more chances to be drawn ;)
But still, I think that a cube would be better than a ball because I think that it won't stay that easily above the previous number :)
Geneosis  [author] 1 Aug, 2013 @ 6:31am 
Hehe ^^ Thanks for the test bench anyway ;) I think the "central" numbers (those linked to the buttons at the center of the square) have more chances to be activated. But if you want a better randomizer, maybe linking multiple binary randomizer (1 ball, 2 buttons 2 funnels) will be more effective ^^ Also in the current version, the more you let time to the ball to move in the bow, the more you get a randomized value ;)
Azkunki 31 Jul, 2013 @ 12:32pm 
Haha, just read the desc... I'd better kill myself.
Azkunki 31 Jul, 2013 @ 11:36am 
Good system :) But I advice not to use this to pick a random number because some numbers are drawn more often than others ^^
I pushed the button 150 times, "here come the test results" ^^ :
_______________________
|__C__|__D__|__E__|__F__|
|__8*__|_14*_|_10*__|_10*_|
_______________________
|__8__|__9__|__A__|__B__|
|__9*_|__9*__|_18*_|__9*__|
______________________
|__4__|__5__|__6__|__7__|
|_12*_|_13*_|__11*_|_10*_|
______________________
|__0__|__1__|__2__|__3__|
|__5*_|__6*__|__4*_|__2*_|

I did it because I was wondering if the numbers 5, 6, 9 and A had more chances to be drawn than the others. I was right, but because of the ball often staying above the same funnel or just moving to a neighbouring one, some other numbers were picked up pretty often. I think that a cube would be better :) Also, I'll try to find a way to get a better random number generator (maybe I already have a nice idea).
Rei 10 Dec, 2012 @ 5:57pm 
Phew, the bouncing ball didn't make the indicator plates stay calm, there should a holder be placed between each. I know, that could be way too much items ... sadly. Did I mention already, how this map reminds me on my " PortCalc "? Oh yes, I forgot - you already faved it ^,^
Geneosis  [author] 10 Oct, 2012 @ 10:00am 
Will add the map to the list ^^
And yeah NAND gate and NOR gates were originally present in the BEE mod, but they caused some bugs so Ben removed them as said carol ;)
mood3rd 9 Oct, 2012 @ 7:39pm 
Geneosis
please try a map I just published.
"faithplate conundrum"
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=101830125
I hope you enjoy.
mood3rd 9 Oct, 2012 @ 7:37pm 
carol
thankyou
carol 9 Oct, 2012 @ 4:37pm 
I think he did implement the other gates but there were problems so he removed them again.

Not a big deal though the other gates are easy to construct from the 3 basic gates.