.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!


(Rain) #2

[quote="/
dy"]
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?

[/quote]
Yes, there is a 64-campaign limit.

[quote="/
dy"]
2. what do the mapTC numbers mean? could there be a problem with these?
[/quote]
They’re the Texture Coordinates – the x, y location on the map image for the upper left when drawing the small version of the map (e.g. in the server creation menu, or during intermission.)

[quote="/
dy"]
3. The .campaign file is below, can anyone see any errors?
[/quote]
Yep.

[quote="/
dy"]
<pre>{
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”
}</pre>
[/quote]

Campaigns are limited to 10 maps.


(/\ndy) #3

ah ha, cheers.


(/\ndy) #4

hmm, no, it’s still doing the same thing. argh.