Forums
January 27, 2021, 06:28 AM

Author Topic: Random Map Selector  (Read 1327 times)

0 Members and 1 Guest are viewing this topic.

Offline Masta

  • Hero Member
  • *****

  • Norway Norway
  • Posts: 538
    • View Profile
Random Map Selector
« on: April 22, 2017, 07:54 PM »
Brief description:
Random Map Selector selects maps randomly.

How to use:
Open Settings.ini and add default scheme and the path to your WA folder.
A scheme file and a map folder must have identical names. e.g. TTRR.wsc and SavedLevels\TTRR.
In the lobby type in the name of the scheme you want to play and press F1 (don't press enter before F1).
If no scheme is specified the default scheme from the Settings.ini file will be chosen.

Keys:
F1 = Select default scheme
[scheme] -> F1 = Select scheme
F2 = Select random map
Shift+F2 = Backtrack
p -> F2 = Previous map
n -> F2 = Next map
[map author] -> F2 = Random map by author
a -> F2 = Random map by current author
rma -> F2 = Random map author
[number] -> F2 = Select map at positon [number]
info -> F2 = Number of maps and folders
about -> F2 = About program

Limitations:
I made it in AHK, it's not a module.
Inside the map folder for the scheme, maps must be in author folders. e.g. SavedLevels\TTRR\AZ01
Scheme files and map folders must not contain spaces symbols.
Only works in the online lobby.

Special thanks:
yanme
Korydex

Download:
https://www.tus-wa.com/files/file-1161/
« Last Edit: July 07, 2017, 10:35 AM by Nonentity »

Offline Hurz

Re: Random Map Selector
« Reply #1 on: April 22, 2017, 10:41 PM »

Offline Masta

  • Hero Member
  • *****

  • Norway Norway
  • Posts: 538
    • View Profile
Re: Random Map Selector
« Reply #2 on: April 23, 2017, 10:21 AM »
Random Map Selector works in-game and with all schemes.
Demonstration: https://www.youtube.com/watch?v=O0ZfDaP5pZ8

Offline Hurz

Re: Random Map Selector
« Reply #3 on: April 23, 2017, 11:32 AM »
Cool

Offline Tomi

Re: Random Map Selector
« Reply #4 on: April 23, 2017, 05:21 PM »
Man this is an awesome idea :) I was wondering a while back how this tool works, now finally I understand :D

Offline Korydex

Re: Random Map Selector
« Reply #5 on: April 29, 2017, 09:02 AM »
doesn't run on win 7 32 bit :v
« Last Edit: April 29, 2017, 09:20 AM by Korydex »

Offline Masta

  • Hero Member
  • *****

  • Norway Norway
  • Posts: 538
    • View Profile
Re: Random Map Selector
« Reply #6 on: July 07, 2017, 10:46 AM »
Update.
0.51
Fixed: Memory warning resulting in map not loading.
0.52
Added: Selecting the map now uses PageDown making it close to 8 times faster.
0.53
Fixed: Schemes and folders now work if they contain spaces.
0.54
Fixed: An offset is now added for the bundled schemes. This fixes incorrect scheme being selected if bundled schemes are not in a separate folder.
0.55
Added: It is now possible to select maps when there are no map author folders in SavedLevels\[Scheme]\.

Offline TheMadCharles

Re: Random Map Selector
« Reply #7 on: July 07, 2017, 12:41 PM »
will there be a possibility to add own schemes on your own? If so, I'm sold


Re: Random Map Selector
« Reply #8 on: July 07, 2017, 02:46 PM »
Could you open source it?
I'd be interested in something close to it that would use some of the feature of what you made.

Offline XanKriegor

Re: Random Map Selector
« Reply #9 on: July 07, 2017, 03:48 PM »
Its an AHK script, it can not be "closed".

Offline Masta

  • Hero Member
  • *****

  • Norway Norway
  • Posts: 538
    • View Profile
Re: Random Map Selector
« Reply #10 on: July 07, 2017, 04:31 PM »
will there be a possibility to add own schemes on your own? If so, I'm sold
I'm not sure what led you to believe it is not possible.

Could you open source it?
I'd be interested in something close to it that would use some of the feature of what you made.
To find the code just edit the exe with notepad or something and look at the bottom of the file. I may release it with comments and better readability if you are still interested. It's my first project though so the code isn't pretty.

Offline Korydex

Re: Random Map Selector
« Reply #11 on: August 03, 2020, 06:51 PM »
Update it to work with 3.8 plzzz

Offline Masta

  • Hero Member
  • *****

  • Norway Norway
  • Posts: 538
    • View Profile
Re: Random Map Selector
« Reply #12 on: August 16, 2020, 12:34 PM »
Updated.
Fixed
« Last Edit: August 16, 2020, 04:27 PM by Masta »

Offline Korydex

Re: Random Map Selector
« Reply #13 on: August 16, 2020, 02:36 PM »
Thank you so much!
« Last Edit: August 16, 2020, 05:15 PM by Korydex »

Offline Korydex

Re: Random Map Selector
« Reply #14 on: January 09, 2021, 12:38 PM »
Btw is it possible to have a similar script to select random soundbank?