This repo contains the scripts we use to inject the triggers into our ladder maps, -zoom, -workercount, etc.
- Node and npm
- Git and Git Bash
- Run
npm install - Put the maps you want to add the triggers to into
./maps/w3c_maps/clean_maps - Run
./updateMaps.shwith bash (Git Bash on Windows for example) to add triggers to all the maps - The newly created maps will be saved into
./maps/w3c_maps/output
You can pass arguments to control the source map folder and filtering:
-
Custom base folder (argument 1)
Example:./updateMaps.sh ATR
Processes maps from
./maps/w3c_maps/ATRinstead ofclean_maps. -
Filter by game mode(s) (argument 2)
Example:./updateMaps.sh "" 2v2,4v4Processes only maps starting with
2v2_or4v4_from the defaultclean_mapsfolder. -
Custom folder with filter
Example:./updateMaps.sh clean_maps/tournament 1v1
Processes only maps starting with
1v1_from./maps/w3c_maps/clean_maps/tournament.