Multi Campaign Rotation

Discussion about specific ET servers

Moderators: Forum moderators, developers

Post Reply
=000=Firehawk44C
Posts: 10
Joined: Sun Jun 13, 2004 9:26 am
Location: Houston, TX
Contact:

Multi Campaign Rotation

Post by =000=Firehawk44C »

Hello- I am having some trouble getting 4 campaigns to rotate one after the other with a xp reset in between each campaign.

I found a few walk throughs but I still cant seem to get it right.

each of my 4 campaigns work fine on there own, they can be voted for etc.

This is what I thought shoud work for the campaign.cfg but it launches the first one and then repeats it.

campaign.cfg:

set d1 "campaign africa; set nextcampaign vstr d2"
set d2 "campaign custom; set nextcampaign vstr d3"
set d3 "campaign rtcw; set nextcampaign vstr d4"
set d2 "campaign europe; set nextcampaign vstr d1"

// server doesn't recognise the campaign command when the game code isn't running yet.
set d_initial "set g_gametype 4 ; map battery; set nextcampaign vstr d2"
vstr d_initial


The Campaigns are as follows:

1 - North Africa
Battery - new
Oasis
GoldRush

2 - Custom 1
TC_Venice_rc2 - competition version
Supply Depot2
Temple Final

3 - RTCW Classic
TC_Base
Frostbite_ET
ET_Ice

4 - Central Europe
Radar
Railgun
Fuel Depot - new


Thus far I have been trial and error'ing it. I installed ET/ET Pro 3.01 on a 2nd machine (fresh install) with my new campaigns for testing but I think I have run out of ideas.


Thanks in advance for any info.
User avatar
Kendle
Posts: 343
Joined: Tue Jun 03, 2003 2:32 am
Location: England
Contact:

Re: Multi Campaign Rotation

Post by Kendle »

I don't know if it's just a typo, but your script has an error, it should be:-

set d1 "campaign africa; set nextcampaign vstr d2"
set d2 "campaign custom; set nextcampaign vstr d3"
set d3 "campaign rtcw; set nextcampaign vstr d4"
set d4 "campaign europe; set nextcampaign vstr d1"

Other than that have you tried changing the order of maps within a Campaign? I made a campaign file using supplydepot2 as the first map and it didn't work. When I swapped it for something else, it worked. Some maps contain their own "campaign" scripts so you have to be careful which ones you use as the first map.
=000=Firehawk44C
Posts: 10
Joined: Sun Jun 13, 2004 9:26 am
Location: Houston, TX
Contact:

Post by =000=Firehawk44C »

ya, that was a typo- im sorry. I have gone through all of the maps to make sure there are no other campaign scripts in them (like Temple)...

Not sure what else it could be.

In the server .cfg i have the set gametype //'ed out b/c it said it shoulldnt be set if im using a rotation script.. So I think that is correct.
=000=Firehawk44C
Posts: 10
Joined: Sun Jun 13, 2004 9:26 am
Location: Houston, TX
Contact:

Post by =000=Firehawk44C »

OK, its running now. I swaped one of the custom maps around in the campaign and its now working.


Thanks.
Post Reply