Sauerworld Forum

Map Organizer/Filter Gui Menu

Salatiel

  • ***
  • 116
  • +25/-1
    • Projects by Salatiel
Map Organizer/Filter Gui Menu
« on: March 10, 2018, 11:02:07 PM »
Is a simple map filter, the idea is to create shortcuts for your maps, and save them into categories which can be disabled/enabled. To create a shortcut enter the name of the map in the text field, and the category that it should be saved, then click on "Refresh" and "save".



File names are for identification only, your original map will stay in /packages/base and will never be touched.


How it works?
 - Categories and "maps" are just text files that are saved in /packages/favmaps, they are accessed by Loopfiles, and what matters in them is just the name, not the content...

Note: When you add the first map, a folder will be created in .sauerbraten/packages/favmaps, the gui will use it to save the "shortcuts". You do not need to move any map externally, and to delete a shortcut simply remove it from the packages/favmaps folder (mygames/sauerbraten, or .sauerbraten/).

Leave your feedback, thanks!
@Salatiel#5274

Doko

  • **
  • 71
  • +4/-0
Re: Map Organizer/Filter Gui Menu
« Reply #1 on: March 12, 2018, 08:24:11 PM »
This looks great, pretty useful... But i will be not able to try it until this weekend, but ill give you some suggestions if i find anything.