The purpose of this tutorial is to introduce you to the concept of a mod, or modification, that we use in OpenRA. Mods can either define an entirely new game (like cnc, or d2k), or apply tweaks or maps to an existing mod.
Launching Mods
You can specify which mods to load when you launch the game from the command line, or by changing the arguments in the launcher shortcuts.
Under windows, you can do this by creating a new shortcut to C:\Program Files\OpenRA\OpenRA.Game.exe.
Right click on the shortcut, select properties and go to the Shortcut tab.
Go to the target box and type a space at the end, then type: `Game.Mods='
The target box should now read:
Code: Select all
C:\Program Files\OpenRA\OpenRA.Game.exe Game.Mods=
The Game.Mods argument lets you specify a list of mods to load. The order they are specified is important; they are loaded in order, so the ones later in the list override earlier items.
For example, to load the game with the `ra_perf' mod, which adds some debugging maps to ra, you would use
Code: Select all
Game.Mods=ra,ra_perf
For example, the game will crash if you try to launch it with
Code: Select all
Game.Mods=ra_perf # This doesn't work!
To run the cnc mod, you would use
Code: Select all
Game.Mods=cnc
Code: Select all
Game.Mods=cnc,ra # This doesn't work either
Mod Structure
*** Todo: finish ***