OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CAS_Daniel 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:
{
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. :)
-
Shouldn't it be:
class Campaign
{
name = "Chapter Two";
firstBattle = Part1;
class Part1
{
...
...
};
};
Planck
-
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