Difference between revisions of "Compiling:Scripts"
Line 2: | Line 2: | ||
* Download: [[File:compile]] | * Download: [[File:compile]] | ||
'''Note:''' Not tested on Windows | '''Note:''' Not tested on Windows | ||
+ | === Requirements === | ||
+ | * Ruby 1.9.x | ||
− | + | === Usage === | |
− | + | * Adjust the values in the GAMES-hash below | |
+ | * Adjust/add the presets below | ||
+ | * Adjust sound below | ||
+ | * compile -g <game> -p <preset> [-m] <mapname> [-play] (-m can be omitted at all times) | ||
− | + | === Example === | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | Example | ||
compile -g rain -p quick -m r_tutorial -play | compile -g rain -p quick -m r_tutorial -play | ||
− | This would compile the map r_tutorial.map of the game Rain using the 'quick' | + | This would compile the map r_tutorial.map of the game Rain using the 'quick' preset and open it in the game after compiling. |
− | preset and open it in the game after compiling. | ||
[[Category:Compiling]] | [[Category:Compiling]] |
Revision as of 19:53, 20 August 2011
Preset Manager
- Download: File:Compile
Note: Not tested on Windows
Requirements
- Ruby 1.9.x
Usage
- Adjust the values in the GAMES-hash below
- Adjust/add the presets below
- Adjust sound below
- compile -g <game> -p <preset> [-m] <mapname> [-play] (-m can be omitted at all times)
Example
compile -g rain -p quick -m r_tutorial -play
This would compile the map r_tutorial.map of the game Rain using the 'quick' preset and open it in the game after compiling.