Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Switches Outcomes
[SOLVED] Switches Outcomes
This topic is locked. You can no longer write replies here.
Mar 6 2012, 10:05 pm
By: LaZyMiCro  

Mar 6 2012, 10:05 pm LaZyMiCro Post #1



I'm not sure if I'm counting wrong or something. But according to the Old New Wiki there are 64 outcomes for 6 switches. But I can only find like 40+. I read somewhere else there are 64 outcomes for 8 switches. What's going on?? I know how to use them etc. I just need to know if I can really get 64 outcomes from 6 switches or if I need 8. I have all 6 written on paper in front of me and can't seem to figure out how to get 64 outcomes from 6. Maybe it is 8.. Someone help me please. ^^



None.

Mar 6 2012, 10:22 pm DevliN Post #2

Woah

I'd trust the math on it:
Quote
This method will allow you to create a random number within the range of zero to some power of 2.
1 Switch: 2 Outcomes
2 Switches: 4 Outcomes
3 Switches: 8 Outcomes
4 Switches: 16 Outcomes
5 Switches: 32 Outcomes
6 Switches: 64 Outcomes
7 Switches: 128 Outcomes
8 Switches: 256 Outcomes
Basically the number of outcomes is 2x, where x=the number of switches.

Using a death counter (or set of death counters) might be easier than doing all those switches, though.



:devlin: Currently Working On: :devlin:
Myself

Mar 6 2012, 10:28 pm O)FaRTy1billion[MM] Post #3

👻 👾 👽 💪

There are 64 outcomes of 6 switches (26), and 256 outcomes for 8 switches (28).

The easiest way to find switches is to count them like binary, where each digit is one switch. From left to right: switch 1, switch 2, switch 3, switch 4, switch 5, switch 6. '0' means switch is cleared, '1' means switch is set.
If you don't know how to count in binary, it's just like counting normally... just skip all digits that are 2 through 9.
Here is all 64 possible combinations:
Code
000000 - 1
000001 - 2
000010 - 3
000011 - 4
000100 - 5
000101 - 6
000110 - 7
000111 - 8
001000 - 9
001001 - 10
001010 - 11
001011 - 12
001100 - 13
001101 - 14
001110 - 15
001111 - 16
010000 - 17
010001 - 18
010010 - 19
010011 - 20
010100 - 21
010101 - 22
010110 - 23
010111 - 24
011000 - 25
011001 - 26
011010 - 27
011011 - 28
011100 - 29
011101 - 30
011110 - 31
011111 - 32
100000 - 33
100001 - 34
100010 - 35
100011 - 36
100100 - 37
100101 - 38
100110 - 39
100111 - 40
101000 - 41
101001 - 42
101010 - 43
101011 - 44
101100 - 45
101101 - 46
101110 - 47
101111 - 48
110000 - 49
110001 - 50
110010 - 51
110011 - 52
110100 - 53
110101 - 54
110110 - 55
110111 - 56
111000 - 57
111001 - 58
111010 - 59
111011 - 60
111100 - 61
111101 - 62
111110 - 63
111111 - 64


EDIT:
Ninja'd (kinda) :P



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 6 2012, 10:33 pm LaZyMiCro Post #4



Thank you!! Helped a lot.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: Dem0n