Getting Maps To Work On My Server


(casper) #1

Hi, simple question for all you guys really but I have to ask it.

Just booted up a new server on wolfenstein for my friends and it works fine. Only problem is that I put some maps in the et main folder today (ie. saberpeak.pk3, sg_1945.pk3 etc) and I dont know how to get them to run, thought they would just automatically start running but they dont! Any ideas? Do I have to enter something into the console?


(]UBC[ McNite) #2

You need a campaigncycle.cfg or a stopwatchcycle.cfg for that. Look at teh ones that come standard with ET, they are actually pretty easy to change/copy. Then you need to start the cycle.cfg within your server.cfg (which happens when you start your server again) and all s done.


(casper) #3

set d1 “campaign cmpgn_northafrica ; set nextcampaign vstr d2”
set d2 “campaign cmpgn_centraleurope ; set nextcampaign vstr d1”

// server doesn’t recognise the campaign command when the gamecode isn’t running yet.
set d_initial “set g_gametype 4 ; map oasis ; set nextcampaign vstr d2”
vstr d_initial

Is what shows up in the campaigncycle.cfg what am I doing? Help?


(casper) #4

OK can someone just give me an example of how this works! What do I write in the campaigncycle.cfg to get saberpeak working for instance? campaign saberpeak ; set nextcampaign vstr d2 ???


(nUllSkillZ) #5

I haven’t set up a server.
I think you should ask in the general discussion forum.
May be someone there has experience in setting up a server.


(]UBC[ McNite) #6

This is what I use for our clanserver:

the campaigncycle_ubc.cfg:

// CAMPAIGN-CFG for ]UBC[ Public Clanserver
// config by ]UBC[ McNite
//
set d1 "campaign cmpgn_mediterranean ; set nextcampaign vstr d2"
set d2 "campaign cmpgn_middleeurope ; set nextcampaign vstr d1"
// server doesn't recognise the campaign command when the gamecode isn't running yet.
set d_initial "set g_gametype 4 ; map oasis ; set nextcampaign vstr d2"
vstr d_initial

As you can see I only changed few words of the original campaigncycle.cfg.
In the server.cfg i use the following lines:

// MAP ROTATION SCRIPT 
// 
exec campaigncycle_ubc.cfg              // Campaign mode 
//exec objectivecycle.cfg           // Objective mode 
//exec lmscycle.cfg                 // Last Man Standing mode 
//exec stopwatchcycle.cfg           // Stopwatch mode 

// WATCHDOG 
// 
// in case the game dies with an ERR_DROP 
// or any situation leading to server running with no map 
// set com_watchdog 10                     // defaults 60 
set com_watchdog_cmd "exec campaigncycle_ubc.cfg"   // defaults to quit 

works fine. So whenever the server starts again it will exec the campaigncycle with the maps I put up. When you want a stopwatch-server you only need to change that in the server.cfg and build your own sw-cycle.cfg.


(]UBC[ McNite) #7

lol i forgot the UBC.campaign-file, which tells ET which custom campaigns you set up and which maps are in them.

This is the UBC.campaign:

{
	name			"^>MEDITERRANEAN"
	shortname		"cmpgn_mediterranean"
	description		"^0Mediterranean Campaign**^0maps are:**^01. ^>Siwa Oasis*^02. ^>tc Venice rc2*^03. ^>Gold Rush**^0you get all maps fast from a redirected server******^>Enjoy your stay &**^>FRAG for FUN!!!"
	maps			"oasis;tc_venice_rc2;goldrush"
	mapTC			374 374
	type			"wolfmp"
}

{
	name			"^>EUROPE"
	shortname		"cmpgn_middleeurope"
	description		"^0Europe Campaign**^0maps are:**^01. ^>Radar*^02. ^>Supplydepot (fixed)*^03. ^>Base*^04. ^>Caen**^0you get all maps fast from a redirected server******^>Enjoy your stay &**^>FRAG for FUN!!!"
	maps			"radar;supplydepot2;tc_base;caen"
	mapTC			374 374
	type			"wolfmp"
}

You have to make a .pk3 of this file. The UBC.pk3 has to be located inside etmain.
The UBC.campaign file has to be located in /scripts within the etmain-folder, so u have to zip it with the subfolder /scripts.


(S.S.Heirpie) #8

For one are you using a mod for example ETPRO SHRUB??? I think for something easy Id go for the Objextive cycle, what you want to do is look in the maps .pk3 and find the Name of the BSP thats the name that you will use in your cycle…here is a for instance:

set d1 “set g_gametype 2 ; map 1944_beach ; set nextmap vstr d2”
set d2 “set g_gametype 2 ; map beta44_cherbourg ; set nextmap vstr d3”
set d3 “set g_gametype 2 ; map berserk ; set nextmap vstr d4”
set d4 “set g_gametype 2 ; map xdam ; set nextmap vstr d5”
set d5 “set g_gametype 2 ; map escaped1 ; set nextmap vstr d6”
set d6 “set g_gametype 2 ; map TownSquare ; set nextmap vstr d1”
vstr d1

very simple, just edit your obj cycle and add it to your et main, and on the server.cfg twords the bottom you will see something like this:

// MAP ROTATION

//exec campaigncycle.cfg // Campaign mode
exec objectivecycle.cfg // Objective mode
//exec lmscycle.cfg // Last Man Standing mode
//exec stopwatchcycle.cfg // stopwatch
// WATCHDOG

notice the objextive cycle is not hashed out…

turn off your server and then restart it, make sure you have the map names typed correctly!!. ET does not like to play maps that you have spelled incorrectly…


(casper) #9

ok well they are objectives but I thought it was supposed to be set up as a campaign. Anyone got yahoo, please pm me casperfromventrilo.


(casper) #10

ok what am I doing wrong? I set the campaigncycle.cfg to recognise a tk6.pk3 as below:

set d1 “campaign tx6 ; set nextcampaign vstr d2”
set d2 “campaign cmpgn_northafrica ; set nextcampaign vstr d3”
set d3 “campaign cmpgn_centraleurope ; set nextcampaign vstr d1”

// server doesn’t recognise the campaign command when the gamecode isn’t running yet.
set d_initial “set g_gametype 4 ; map oasis ; set nextcampaign vstr d2”
vstr d_initial

The next step was putting the TK6.pk3 together. It includes a file called 6map that says this:

{
name “TripleX”
shortname “TX6”
description “Triple ><you are invited to our server to explode on impact. Radar, Battery, Goldrush, Railgun, Oasis then Fueldump.”
maps “fun_beach_final;mml_helmsdeep_a3;raiders;saberpeak_final;StarGate_1945”
mapTC 374 374
type “wolfmp”
}

This includes the maps I want to use! Both these files are under etmain and the server has been restarted. Now all it does it crash the original maps so that they time out when swapping over. Cant even call a vote for the new maps. Any ideas?


(deej) #11

did you pack the campaign file inside a scripts directory in the PK3? BTW ET is case sensitive so do “campaign TX6”