Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Random Map Chooser
Random Map Chooser
Mar 30 2014, 6:42 pm
By: ComeAtMeBro  

Mar 30 2014, 6:42 pm ComeAtMeBro Post #1



Is there any program for Broodwar that randomly chooses a map from a set folder? This would be epic.



None.

Mar 30 2014, 8:24 pm NudeRaider Post #2

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

Chooses and does what with it? Because just selecting a random filename is can be done in excel:
run cmd and enter the following command in the folder with your maps:

dir /w > maps.txt

This will create a file named maps.txt that has one line with each map name. You may want to delete the overhead at the first and last few lines.
Open this file in Excel and enter the following formula into B1:

=INDIRECT("a"&(ROUND(RAND()*ROWS(A1:A???);0)))

where ??? is the number of lines (=number of files).
Every time you modify any cell (even press del in an empty cell) it outputs another map name to B1.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
Please log in to shout.


Members Online: NimoStar