Home   Help Search Login Register  

Author Topic: Campaign Description Problem  (Read 646 times)

0 Members and 1 Guest are viewing this topic.

Offline CAS_Daniel

  • Members
  • *
  • Rifleman
Campaign Description Problem
« on: 09 Oct 2005, 01:31:54 »
Hi. I'm kind of new to campaign building so excuse me if this is caused by a simple error.

I've made a beta teaser campaign with my beta version missions so far, and have just wrote the description file for it by editing one I found on the net. The campaign runs fine until the first mission ends, then I get a warning message that closes OFP and says "Error In Campaign Structure".

This is my description file:

Code: [Select]
{
name = "Chapter Two";
firstBattle = Part1;



class Part1
{
name = "Part1";

cutscene =;

firstMission = LightsOut;
end1 =;
end2 =;
end3 =;
end4 =;
end5 =;
end6 =;
lost =;

class LightsOut: MissionDefault
{
end1 = Mayday;
end2 = 02asd;
end3 = 02asd;
end4 = 02asd;
end5 = 02asd;
end6 = 02asd;
lost = LightsOut;
template = LightsOut.catintro;
};
           
class Mayday: MissionDefault
{
end1 = PhotoShoot;
end2 = 03asd;
end3 = 03asd;
end4 = 03asd;
end5 = 03asd;
end6 = 03asd;
lost = Mayday;
template = Mayday.catintro;
};

class PhotoShoot: MissionDefault
{
end1 = Cornered;
end2 = Cornered;
end3 = 03asd;
end4 = 03asd;
end5 = 03asd;
end6 = 03asd;
lost = PhotoShoot;
template = PhotoShoot.CATIntro;
};


class Cornered: MissionDefault
{
end1 =;
end2 =;
end3 =;
end4 =;
end5 =;
end6 =;
lost = Cornered;
template = Cornered.catintro;
};
};
};

I'll keep looking meanwhile to see if it's something else I've overlooked. Thanks, Daniel.  :)
Romeo 2.5 UK-based Light Infantry Platoon
forums.romeo25.com/

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Campaign Description Problem
« Reply #1 on: 09 Oct 2005, 01:48:28 »
Shouldn't it be:

Code: [Select]
class Campaign
{
   name = "Chapter Two";
   firstBattle = Part1;

class Part1
{
...
...
};
};


Planck
I know a little about a lot, and a lot about a little.

Offline CAS_Daniel

  • Members
  • *
  • Rifleman
Re:Campaign Description Problem
« Reply #2 on: 09 Oct 2005, 13:13:49 »
Could you be a little clearer?  ???

I think I may have found the probelm anyway, the End 2 on the first mission wasnt linked to the next mission. Thanks anyway.  :P
Romeo 2.5 UK-based Light Infantry Platoon
forums.romeo25.com/