[mohaa] Rotating diff kinds of maps

Greg Miller gmiller at oei-tech.com
Tue Aug 6 12:15:34 EDT 2002


JNagle at franuniv.edu wrote:

> What is exactly needed to rotate different kinds of maps? I am running all
> Team Death Match maps right now but lets say i wanted a dm map then a team
> based and so on how would i do that?

Normally, I'd say get Crow King's mixed mode mod, but since Allied Assault is
down, you're probably going to have to do it yourself.

I've run a mixed matched server successfully. Basically what you need to do is
extract from the script files from the maps you want to run on your server.

For example, lets say I want to run 'Stalingrad' [map dm/mohdm6] in team
deathmatch (TDM) then jump into 'Omaha' [obj/obj_team3] in Objective (OBJ)
mode.

Extract mohdm6.scr from pak5.pk3 and drop it into maps/dm under your main
directory. If you don't have a maps or dm directory, you'll have to create
them.

Edit mohdm6.scr and just after 'main:' add the following line:
setcvar "g_gametype" "2"

Save the file

Extract obj_team3.scr from pk0.pk3 and drop it into maps/obj

Open the file and add just after 'main:'
setcvar "g_gametype" "4"

Save the file

Essentially what this does is after the map loads the referenced script file is
executed which in turn sets the appropriate gametype.

For those maps without script files, load them after one that has the
appropriate gametype set.

Hope this helps


--
name:Greg C. Miller
title:Systems and Network Administrator/Sr. Analyst
e-mail:gmiller at oei-tech.com
url:http://www.oei-tech.com/
voice:(540) 373-6025
fax:(540) 899-5471





More information about the Mohaa mailing list