Medal of Honor Allied Assault
The following guide contains detailed instructions intended to successfully setup Medal of Honor Allied Assault servers on Windows Server operating systems and Linux operating systems.
Windows Server Guide
Before Starting:
- Install MOHAA to default directory.
- Make sure you have installed the 1.1 US patch - shown to the left.
- If using a router, unblock port 12203. See screenshot to right.
- Make sure you have a valid CD key.
Getting Started:
After installing the 1.1 US patch, the first thing to do is to "explore" to C:\Program Files\EA GAMES\MOHAA\MAIN. To do this right click on the start button. Next, choose explore. On the left side of the screen that just popped up, you should see a minus right next to the C: drive. Click on the minus once. Now, you are browsing the top directory of the C drive.
Look onto the right side, and you should see a folder called "Program Files". Folders are always in alphabetical order, so scroll down if you don't see it right away. Double click on "Program Files". Now, find the EA Games folder and double click it. In the EA GAMES folder, double click on MOHAA. In this directory, you should see an executable file called MOHAA_server.exe Right click on this .exe, choose send to, and then desktop. Once we have finished setting up, you can run your server by double clicking the new shortcut on your desktop.
Server Setup:
In order to first setup a server, you must download a file called "server.cfg". You can download the file by clicking here. When the download file box pops up, choose save. Save it to C:\Program Files\EA GAMES\MOHAA\MAIN. To do this, click on the down arrow to the right of "Save In" at the very top. Now, it's just like using explore. Read "Getting Started" if you are still lost.
When the download is finished, don't close the file download box. Instead click on "Open". A new box opens, and Windows says the file cannot be opened. In the box that just popped up, bubble the second option that says "Select Program From a List" Hit OK. A new box pops up, and NotePad should already be highlighted. Make sure the box at the bottom is checked so that you won't have to do this again. Choose OK. Now, you can edit the server.cfg. The only important commands in this file are server name, maplist, and rcon.
Near the top of the server.cfg file, there should be a line with "seta sv_hostname". The name of your server goes inside the quotes to the right of this command. Next, scroll down until you see "// Server Passwords". Set your password in the quotes of the first line below "// Server Passwords". RCON allows you to insert commands, so you will definitely be using it. Scroll down towards the bottom. At the very end you should see "seta sv_maplist". Here, you can arrange, delete, and move the maps anyway you wish. However, if your server starts with an obj map, scroll up a little to "// Game Type Settings" and make sure the "seta g_gametype" is set to 3. If it's team match, set it to 2. If it's deathmatch, set it to 1. If it's roundbased, set it to 4. Underneath this, you'll see all possible levels, and you can specify what gametype you want to run for each level. See screenshots for locating this part. You can set the levels to the following:
- ctf - Cafture the Flag
- ft - Freeze-Tag - must have freeze-tag mod!
- obj - Objective
- dm - Deathmatch
- ffa - Free For All
After you have made all your changes, click on "File" and then click on "Save".
Next download one of Mefy's MOHAA mods if you want to be able to play Capture the Flag or Freezetag. Again save the file into the MAIN folder inside the MOHAA directory.
If you'd like to install any other mods, download them to the MAIN directory as well. All mods MUST go into this folder.
When you are done, go to your desktop, right click on our new shortcut, and choose properties. In the target field, place your cursor to the very right after the last quote, and copy and paste in the following commands:
+set dedicated 1 +set ui_console 1 +set g_gametype3 +set sv_maxclients 14 +exec server.cfg
Now, hit ok. Double click your shortcut, and bam the server is running!
Commands:
In order to run commands, you must first enable the console option in MOHAA's options. To toggle console on and off, press ` in game. Click here for help.
| Command |
Use |
| rcon yourpassword say hi |
Displays a message in your server. |
| rcon yourpassword set sv_privateClients "20" |
Creates a private server with 20 slots for a match. |
| rcon yourpassword set sv_privatepassword "yourpw" |
Locks the server with the password of yourpw. |
| rcon yourpassword exec server.cfg |
Unlocks the server and reloads default settings. |
| rcon yourpassword set fraglimit "7" |
Sets the roundlimit before the map changes or a team wins. |
| rcon yourpassword set timelimit "0" |
Sets the timelimit to the default of 5 minutes. |
| rcon yourpassword sv_runspeed 700. |
Sets run speed. Default 250 |
| rcon yourpassword sv_gravity 0 |
Sets gravity. Default 800 |
More Commands
Final Notes:
If you want your server to show up in GameSpy, unblock ports 12300 and 12203. GameSpy will find your server in about a week if and only if it has run 24/7. Xfire should find it instantly.
Linux Server Guide
This section is coming soon.
|
Edited
|
© Eric Arnol-Martin 2011
|
Last updated: 8/20/11
|
|
Thanks to {*BHC*}ZFreak for teaching me how to host MOHAA servers.
|
|