|
OpenMoHAA ..
|
Medal of Honor: Allied Assault is the default game, but expansions are also supported.
Base game and expansions can be started from one of the 3 launchers:
Spearhead and Breakthrough are supported in OpenMoHAA using the com_target_game variable.
To change the target game, append the following command-line arguments to the openmohaa and omohaaded executable:
OpenMoHAA will also use the correct network protocol version accordingly. The default value of com_target_game is 0.
On Windows, a shortcut can be created to the openmohaa executable, with the command-line argument appended from above to play an expansion.
The argument +set com_target_demo 1 must be appended to command-line to play the game or host a server using demo assets. Allied Assault, Spearhead and Breakthrough demos are supported.
The location of user-writable data, like the console logfile, saves and configuration files can be found in different locations depending on the platform:
There will be one or more subdirectories like in the game installation folder, they match the game being used: either base game main or expansions mainta/maintt.
This is by design since ioquake3 and has two advantages:
If necessary, the location of user-writable data can be changed manually by setting the fs_homepath variable in the command-line argument. This is useful when running a dedicated server that can only use the game directory to store/read data. The value can be a relative path (relative to the current working directory) or an absolute path. Example:
The game directory is intended to be read-only, which is the reason why the home path exists. This prevents existing files in the game directory from being accidentally overwritten.
Note that the configuration file isn't created nor written automatically on a dedicated server (omohaaded).
For more settings such as configuring bots, see Configuration and commands.