Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Switch Randomization
Switch Randomization
Apr 26 2008, 3:36 pm
By: Impersonation  

Apr 26 2008, 3:36 pm Impersonation Post #1



I'm working on a map and it will be using randomized switches. I need to know how to figure out all the combinations of outcomes these switches will have. I think I need either three or four switches. What I would like is for someone to list the combinations please. :bleh:



Post has been edited 26 time(s), last time on Jun 12 2008, 11:40 am by Impersonation.



None.

Apr 26 2008, 3:39 pm Brontobyte Post #2



Three Switch Randomized Combinations

1-----2-----3
S-----S-----S--1
------------C--2
------C----S--3
------------C--4
C-----C----C--5
------------S--6
------S-----C--7
------------S--8

S=Set
C=Cleared (Not Set(Text Triggers))

Each switch can either be set or cleared. (excluding randomized, toggle ) So for each switch their are 2 outcomes. All you need to do is multiply the current outcomes by two to find out how many possible outcomes their are.

EX: 1 switch = 2
2 switches = 4
3 switches = 8
4 switches = 16
So on and so forth.



None.

Apr 26 2008, 4:38 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

3 switches, 8 Combinations:
000
001
010
011
100
101
110
111
0 = cleared, 1 = set
You can easily expand it to 4 switches by copying the 8 combinations above and add a 0's to one copy and add 1's to the other copy (=16 combinations)

But let me say this: YOU ARE LAZY!




Apr 26 2008, 6:37 pm rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

Number of combinations is 2^n, where n is the number of randomizations. Brontobyte's 2nd method is best (not the smallest, but we're talking like 3 more triggers).

Of course, the best way is to learn how binary works, and do it yourself.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Apr 26 2008, 8:37 pm Falkoner Post #5



It's really not too difficult though, especially with three switches, maybe if you have like 7 or 8...



None.

Apr 27 2008, 4:35 am Brontobyte Post #6



This is all pretty much what I stated in my above post... :-_-:



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:16 am]
NimoStar -- ever wanted to play melee in installation tileset? Now you can https://staredit.net/topic/18929/
[02:29 am]
Symmetry -- TFW you google a problem and find the answer in a post you made yourself
[01:46 am]
Oh_Man -- How can i change my name here to put [TFE] on the end will thr website let me
[2026-9-10. : 6:02 pm]
Zoan -- of course it isn't full understanding. You could ask "is the mechanism by which this counterexample blows up the ONLY mechanism possible for an initial configuration to blow up?"
[2026-9-10. : 5:48 pm]
Zoan -- ppl do it all the time in PDEs
[2026-9-10. : 5:47 pm]
Zoan -- Heinermann
Heinermann shouted: it also didn't solve that problem but hey as long as the investors are pleased
Constructing a counterexample is answering the question: "Is Navier Stokes well posed?" in the negative
[2026-9-10. : 5:44 pm]
NudeRaider -- I only heard about it, didn't any news article, so what did it do then?
[2026-9-10. : 5:43 pm]
Heinermann -- it also didn't solve that problem but hey as long as the investors are pleased
[2026-9-10. : 5:39 pm]
NudeRaider -- I have no idea tbh. All I know no human was ever able to solve it, but there's at least a few that beat portal ;)
[2026-9-10. : 5:32 pm]
Zoan -- Navier Stokes is not that esoteric I thought
Please log in to shout.


Members Online: Wing Zero, Zoan