Medal of Honour: Allied Assault
Here you'll get instructions how to install a linux dedicated Medal of Honour: Allied Assault server.
Preperation
If you want to install the server, you'll need the following items:
- The official CD-ROM Medal of Honour: Allied Assault
- The latest patch for Windows: mohaa_patch111.exe
- The linux binaries: mohaa_lnxded_1.11.tar.gz
Getting the Windows binaries
Up till now, the only way to get the game binaries for your linux server is to install Medal of Honour on a Windows machine, patch it and to copy the whole mohaa directory on to your linux server.
Installation of the Linux binaries
In order to start the server on your linux machine, you need to unpack the mohaa_lnxded_1.11.tar.gz file in your mohaa installation directory.
- $ cd /usr/local/games/mohaa
- $ tar -xvzf /tmp/mohaa_lnxded_1.11.tar.gz
Creating your server.cfg file
Final step to have your mohaa server ready, is to create your server.cfg file (needs to be in the ./mohaa/main directory).
Example server.cfg
// Server Name seta sv_hostname "DragonBe's MOHAA Server" // General Settings seta sv_fps "20" seta sv_timeout "120" //amount of time before assuming a disconnected state seta sv_precache "1" seta sv_fps "20" //max frame rate to clients - increasing will raise pings seta sv_maxRate "8000" seta sv_maxclients "16" seta g_maxGameClients "0" seta sv_privateClients "6" seta sv_allowDownload "1" seta sv_reconnectlimit "3" seta sv_zombietime "1" seta g_inactivity "180" seta g_forcerespawn "30" seta g_syncronousclients "0" seta sv_chatter "1" // Server Network Settings set sv_flood_waitdelay "10" //not too sure on this, possibly time before flooder is allowed to type again (default) set sv_flood_persecond "4" //messages per second to be considered a flood ??(default) set sv_flood_msgs "4" // ?? (default) net_noipx "1" //Disallows IPX connections, TCP only (network protocol) // Logs (You must create the log directory if you want logging) seta g_log "logs/games.log" seta logfile "1" seta g_logsync "0" // Extras seta sv_maxPing "0" seta sv_minPing "0" seta sv_floodProtect "1" // Server Passwords seta rconPassword "password" seta g_password "" seta sv_privatePassword "password" // Game Type Settings - ATTN-May be overwritten by MOH config file below // Set the type of game: 1=Deathmatch 2= Team match 3 = OBJ 4 = Roundbased seta g_gametype "1" seta timelimit "0" seta fraglimit "0" // seta capturelimit "6" seta sv_gamespy "0" // Show the server in gamespy // Game Play Default Settings //seta g_gravity "800" //seta g_knockback "1000" //seta g_quadfactor "3" //seta g_speed "320" //seta g_weaponRespawn "5" //seta g_weaponTeamRespawn "30" //respawn time in seconds for team games // dmflags -- flags that can be set in the dmflags variable. // to add multiple flags, total the dmflags you want in the var below // DF_NO_HEALTH 1 // DF_NO_POWERUPS 2 // DF_WEAPONS_STAY 4 // DF_NO_FALLING 8 // DF_INSTANT_ITEMS 16 // DF_SAME_LEVEL 32 // DF_NO_ARMOR 2048 // DF_INFINITE_AMMO 16384 // DF_NO_FOOTSTEPS 131072 // DF_ALLOW_LEAN 262144 // DF_OLD_SNIPERRIFLE 524288 // This will show Rifle Grenade but give you a shotgun // DF_GERMAN_SHOTGUN 1048576 seta dmflags 1310720 // shotgun + lean // Match Settings seta g_doWarmup "1" seta g_warmup "20" // Team Preferences seta g_teamAutoJoin "0" seta g_teamForceBalance "1" // seta g_friendlyFire "0" seta g_teamdamage "0" // FF on or Off 1 = on // Voting seta g_allowVote "1" // Start the Maprotatin/Game seta sv_maplist "dm/mohdm1 dm/mohdm2 dm/mohdm3 dm/mohdm4 dm/mohdm2 dm/mohdm1 dm/mohdm5 dm/mohdm6 dm/mohdm7" map dm/mohdm2
Starting the server
After finetuning your server.cfg you can start up the server with:
- $ ./mohaa_lnxded +exec server.cfg +map dm/mohdm1


