.campaign file woes


(/\ndy) #1

Hi, i’m not sure if this is the right forum for this, but i’m sure someone can help!

i’m running a server on a LAN only, not dedicated.
I’m having trouble with a .campaign file i have created. It seems to not load properly, with only the first 4 campaigns in the file being shown in the list of campaigns, followed by 5 ‘blank’ rows containing other campaigns not in this file (even though there are only 4 more campaigns in the file!). i.e. their name is blank on the left hand side and the map shows another campaign (in this case the campaign that comes with the temple map)

I have a few queries with regards this problem:

  1. is there a limit to the number of campaigns in any one .campaign file?
  2. what do the mapTC numbers mean? could there be a problem with these?
  3. The .campaign file is below, can anyone see any errors?
{
        name                    "Original Maps Europe->NAfrica (6)"
        shortname              "6originala"
        description            "The 6 original maps in a single campaign."
        maps                    "radar;railgun;fueldump;oasis;battery;goldrush"
        mapTC                  374 374
        type                    "wolfmp"
}

{
        name                    "Original Maps NAfrica->Europe (6)"
        shortname              "6original2a"
        description            "The 6 original maps in a single campaign, for your pleasure."
        maps                    "oasis;battery;goldrush;radar;railgun;fueldump"
        mapTC                  374 374
        type                    "wolfmp"
}

{
        name                    "Original Maps Different Order (6)"
        shortname              "6originaldiffordera"
        description            "railgun -> battery -> radar -> oasis -> goldrush -> fueldump"
        maps                    "battery;railgun;radar;oasis;goldrush;fueldump"
        mapTC                  374 374
        type                    "wolfmp"
}

{
	name			"Central Europe (3)"
	shortname		"cmpgn_centraleuropea"
	description		"original campaign europe."
	maps			"radar;railgun;fueldump"
	mapTC			374 374
	type			"wolfmp"
}

{
	name			"North Africa (3)"
	shortname		"cmpgn_northafricaa"
	description		"original campaign africa."
	maps			"oasis;battery;goldrush"
	mapTC			374 374
	type			"wolfmp"
}

{
        name                    "Lots of Maps (11)"
        shortname              "lots_maps"
        description            "this one might take a while."            
maps                    "battery;normandy_final;temple;fueldump;carnage2;railgun;goldrush;Stargate_1945;radar;1944_beach;oasis"
        mapTC                  374 374
        type                    "wolfmp"
}

{
        name                    "Custom Maps (5)"
        shortname              "custom_maps"
        description            "Don't like the original maps?."
        maps                    "1944_beach;normandy_final;temple;carnage2;Stargate_1945"
        mapTC                  374 374
        type                    "wolfmp"
}

{
        name                    "Good Maps"
        shortname              "good_maps"
        description            "These are the good maps. (at least in my opinion!)"
        maps                    "battery;temple;oasis;goldrush;radar;1944_beach;fueldump"
        mapTC                  374 374
        type                    "wolfmp"
}

the indentation seems to have got a little screwed up, sorry for the length!

incidentally it is the first four that show, the centraleurope one is there, the succeeding ones are not.

if anyone is wondering why i have the two original campaigns in there (renamed of course) it’s because i’m trying to run an et pro server with the new b_campaignFile cvar, where it only loads the maps used in one campaign file and its fun to play the original campaigns!


(/\ndy) #2

bump.

if no-one is going to answer specifically could someone please help me with the first two questions?

I have a few queries with regards this problem:

  1. is there a limit to the number of campaigns in any one .campaign file?
  2. what do the mapTC numbers mean? could there be a problem with these?

(chavo_one) #3

You should post this in general discussion. Most of us aren’t server admins…we are just lowly mappers.


(SiliconSlick) #4

I know that if you put 120 campaigns in a file, it will
kill the server. e.g. the last campaign file on this page:

http://www.nd80usa.net/slicks/newcampaigns.html

However, I’ve put 54 (9x6) in one file and had no problem.
e.g. singlemap2to10.pk3 on that same page.

The ingame browser typically does not show all the
campaigns. Best way to make sure they are all
working is:

  1. start server

  2. use the “map” command so that server will accept “campaign”
    command (typically the first map of the first campaign you are
    going to run)

  3. campaign A

  4. campaign B

  5. campaign C

  6. etc.

where A,B,C are the names of your campaigns.

Run through them all and it should let you know if
it accepting/reading them all.

SiliconSlick


(Superfreak) #5

There are 11 maps in one of the campaigns (lots_maps?) - AFAIK, there is a hard-limit of 10 maps per campaign…this may be the problem.

Superfreak


(SiliconSlick) #6

Now that the source is out, I see:


// Campaign saves
#define MAX_CAMPAIGNS                   64

in src/game/bg_public.h

My guess is that is the limit on the number of campaigns.

SiliconSlick (who knows it is somewhere between 54 and 120)