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.sh
with 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/ATR
instead ofclean_maps
. -
Filter by game mode(s) (argument 2)
Example:./updateMaps.sh "" 2v2,4v4
Processes only maps starting with
2v2_
or4v4_
from the defaultclean_maps
folder. -
Custom folder with filter
Example:./updateMaps.sh clean_maps/tournament 1v1
Processes only maps starting with
1v1_
from./maps/w3c_maps/clean_maps/tournament
.