Difference between revisions of "Compiling:Scripts"

From Custom Map Makers Wiki
Jump to: navigation, search
(Created page with "== Preset Manager == * Download: File:compile '''Note:''' Not tested on Windows # Requirements # 1. Ruby 1.9.x # # Usage # 1. Adjust the values in the GAMES-hash below # 2....")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Preset Manager ==
 
== Preset Manager ==
* Download: [[File:compile]]
+
* [http://hazewood.de/files/compile Download]
 
'''Note:''' Not tested on Windows
 
'''Note:''' Not tested on Windows
 +
=== Requirements ===
 +
* Ruby 1.9.x
  
# Requirements
+
=== Usage ===
# 1. Ruby 1.9.x
+
* Adjust the values in the GAMES-hash below
#
+
* Adjust/add the presets below
# Usage
+
* Adjust sound below
# 1. Adjust the values in the GAMES-hash below
+
* compile -g <game> -p <preset> [-m] <mapname> [-play] (-m can be omitted at all times)
# 2. Adjust/add the presets below
+
 
# 3. Adjust sound below
+
=== Example ===
# 4. compile -g <game> -p <preset> [-m] <mapname> [-play]
+
   compile -g rain -p quick -m r_tutorial -play
#    -m can be omitted at all times.
+
This would compile the map r_tutorial.map of the game Rain using the 'quick' preset and open it in the game after compiling.
#
 
# 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.
 
  
 
[[Category:Compiling]]
 
[[Category:Compiling]]

Latest revision as of 19:58, 20 August 2011

Preset Manager

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.