Setting up a MOHAA server

5 posts / 0 new
Last post
Setting up a MOHAA server

Been asked a few times so here is some examples over server configs -:

Some config examples for changing game types -:

The Team.cfg file:

// General Server Info Settings for Team DM
seta sv_hostname "GameServer Name Here - TDM"

// Map rotation
seta sv_maplist "dm/mohdm3 dm/mohdm4 dm/mohdm2 dm/mohdm1 dm/mohdm5 dm/mohdm6 dm/mohdm7"
set fraglimit "50"
set timelimit "15" //Sets the amount of time (in minutes) for map changes (0 = no timelimit)

// Generic map settings
seta g_gametype "2"
seta g_teamdamage "0"
seta g_teamForceBalance "0"

// Start with the map rotation
map dm/mohdm3

The object.cfg file:

// General Server Info Settings for Object Game Type
seta sv_hostname "GameServer Name Here - Objective"

// Map rotation
seta sv_maplist "obj/obj_team1 obj/obj_team2 obj/obj_team4 dm/mohdm3 dm/mohdm4 dm/mohdm2 dm/mohdm1 dm/mohdm5 dm/mohdm6 dm/mohdm7"
set fraglimit "5"
set timelimit "25" //Sets the amount of time (in minutes) for map changes (0 = no timelimit)

// Generic map settings
seta g_gametype "4"
seta g_teamdamage "0"
seta g_teamForceBalance "0"

// Start with the map rotation
map obj/obj_team1

The ffa.cfg file:

// General Server Info Settings for FreeForAll Server
seta sv_hostname "GameServer Name Here - FFA"

// Map rotation
seta sv_maplist "dm/mohdm3 dm/mohdm4 dm/mohdm2 dm/mohdm1 dm/mohdm5 dm/mohdm6 dm/mohdm7"
set fraglimit "15" //Anyone gets 15 frags, change next map
set timelimit "15" //Sets the amount of time (in minutes) for map changes (0 = no timelimit)

// Generic map settings
seta g_gametype "1"
seta g_teamdamage "0"
seta g_teamForceBalance "0"

// Start with the map rotation
map dm/mohdm3

The round.cfg file:

// General Server Info Settings for Round based servers
seta sv_hostname "GameServer Name Here - Round Match"

// Map rotation
seta sv_maplist "dm/mohdm3 dm/mohdm4 dm/mohdm2 dm/mohdm1 dm/mohdm5 dm/mohdm6 dm/mohdm7"
set fraglimit "5"
set roundlimit "3"
set timelimit "13" //Sets the amount of time (in minutes) for map changes (0 = no timelimit)

// Generic map settings
seta g_gametype "3"
seta g_teamdamage "0"
seta g_teamForceBalance "0"

// Start with the map rotation
map dm/mohdm3

Happy shooting - Kill em ALL and kill em again

 

 

Cheers

  Heatsinkbod

&nb

Re: Setting up a MOHAA server

John you forgot something important...

when you create your servers cfg files you need to create a shortcut to the MOHAA_server.exe and put this +set dedicated 2 +exec nameofthefile.cfg if you not put this on the shortcut the server will not run

Re: Setting up a MOHAA server

Hi Victor - you are correct but the CFG is on a server is what I meant you only need a short cut when running from home created server. The example above was for a CFG on a hosted server. Some of the EXE parm's need to be passed to the server but can be done in many ways........

In our case we use SCAPP to pass these or they are in the config already

Happy shooting - Kill em ALL and kill em again

 

 

Cheers

  Heatsinkbod

&nb