ET Custom campaign


(stebbi67) #1

Hi all.

You will probably think, no not again. I have searched forum and searched the net but I can not find the answer to my problems.

I want to create my own campaign. I run the server on linux from the command line and I do not have any Xwindow installed ( due to lack of memory ).

I have created this cfg which I call ice.cfg :

set d1 “campaign cmpgn_ice ; 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 battery ; set nextcampaign vstr d1”
vstr d_initial

Then I created the ice.campaign file :

{
name “cmpgn_ice”
shortname “cmpgn_ice”
description “Stay alive boys”
maps “battery;supplydepot;fueldump;goldrush;oasis;townsquare_final;”
mapTC 374 374
type “wolfmp”
}

I added the ice.campaign file to a zip file, called ice.zip, and renamed it to ice.pk3. I placed both files in the etmain directory. Then I changed the configuration of the server.cfg :

// MAP ROTATION

exec ice.cfg // Campaign mode
//exec campaigncycle.cfg // Campaign mode
//exec objectivecycle.cfg // Objective mode
//exec lmscycle.cfg // Last Man Standing 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.cfg” // defaults to quit

When I start the server ( with the command “etded” ) it starts with the battery map and stays there. The server does not run any other maps.

Any idea, someone, anyone?


(Tenebro) #2

Perhaps you have the other supleydepot version, named supplydepot2, that’s maybe why the server can’t go to the next map. Check that all the maps in the campaign are located inside the etmain folder, and to find the real name to put on the campaign pk3 file, unzip the map file and take a look at the name of the archives.

Regards.


(stebbi67) #3

I have gone throught the pk3 folders and compared them with the campaign file. It all looks good. I will try the supplydepot2 instead of supplydepot and see if that will do the trick.


(Etnies) #4

Go to this link and download this file, This is what i use its easy, http://returntocastlewolfenstein.filefront.com/file/gofetch/bm9ybWFsfHx8MzI5NzN8fHxUV0Z3SUZKdmRHRjBhVzl1SUVOeVpXRjBiM0k9fHx8VmVyIDF8fHwyMDZ8fHwvVXRpbGl0aWVzL1NlcnZlcl9Ub29sc3x8fG1hcHJvdGF0aW9uLnppcHx8fDE1MTYwOTMyOTczNzMxMQ==


(stebbi67) #5

I added the supplydepot2.pk3 to the etmain directory and changed the map section of the campaign file from supplydepot to supplydepot2 but still the same problem.

I have dowloaded the suggested file and used the program to create new files, which are now in the etmain directory and changed the server.cfg to run the new cfg file. I’m testing this right now and I will let you know how it works.

P.s. My ET version is 2.60.


(Etnies) #6

This will work just put the .cfg file and the pk3 file into etmain folder, it should auto download the campaign when you connect to your server, then ref your self and put it on.


(mortis) #7

After the last map, you cannot have a semicolon ; it causes the server to freak out when it loads your campaign, because it think there is another map called " (null) " after that. The only reason it loads battery is because you specified that it should start on that map…(set d_initial “set g_gametype 4 ; map battery ; set nextcampaign vstr d1” )

So instead of:

maps “battery;supplydepot;fueldump;goldrush;oasis;townsquare_final;”

It should be:

maps “battery;supplydepot;fueldump;goldrush;oasis;townsquare_final”

–Mortis


(stebbi67) #8

Thanks for the tips everyone. It is working now.

What I did was to use the program, which Etnies, recommented but the server restarted the campaign with out running the townsquare_final map. Then I downloaded the townsquare_final.pk3 map ( not the townsquare_final.zip file) and after that it worked, at last. :drink:
Perhaps it was something in the format change when I renamed the file from zip to pk3.

My campaign file looks like this now :

{
name “icecold2”
shortname “cmpgn_icecold2”
description “icecold**1. battery2. fueldump3. goldrush4. oasis5. supplydepot2*6. townsquare_final”
maps “battery;fueldump;goldrush;oasis;supplydepot2;townsquare_final”
mapTC 374 374
type “wolfmp”
}

So mortis you were right :wink:

If you want to join the server type “stebbi.homeip.net:27960” in connect to ip.