Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Trixta

Campaign Problem

Recommended Posts

Can anyone help me sort out this bloody campaign structure? Please! Keep getting an Error in Campaign Structure. I get the feeling the problem's staring me in the face but I can't see it. Fresh, informed, eyes appreciated.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class MissionDefault

{

lives = -1;

lost =;

end1 =;

end2 =;

end3 =;

end4 =;

end5 =;

end6 =;

};

class Campaign

{

name = "Unofficial Business";

firstBattle = Prologue;

class Prologue

{

name = "The Long Bad Friday";

cutscene = XA00.CAIN;

firstMission = easternfront;

lost =;

end1 =;

end2 =;

end3 =;

end4 =;

end5 =;

end6 =;

class easternfront: MissionDefault

{

end1 = allquiet;

end2 = allquiet;

end3 = allquiet;

end4 = allquiet;

end5 = allquiet;

end6 = allquiet;

lost = easternfront;

template = XA01.EDEN;

};

class allquiet: MissionDefault

{

end1 = kneejerk;

end2 = kneejerk;

end3 = kneejerk;

end4 = kneejerk;

end5 = kneejerk;

end6 = kneejerk;

lost = allquiet;

template = XA02.EDEN;

};

class kneejerk: MissionDefault

{

end1 = hurricane;

end2 = hurricane;

end3 = hurricane;

end4 = hurricane;

end5 = hurricane;

end6 = hurricane;

lost = kneejerk;

template = XA03.EDEN;

};

class hurricane: MissionDefault

{

end1 = mortonmeets;

end2 = mortonmeets;

end3 = mortonmeets;

end4 = mortonmeets;

end5 = mortonmeets;

end6 = mortonmeets;

lost = hurricane;

template = XA04.EDEN;

};

class mortonmeets: MissionDefault

{

end1 = regroup;

end2 = regroup;

end3 = regroup;

end4 = regroup;

end5 = regroup;

end6 = regroup;

lost = mortonmeets;

template = XA05.EDEN;

};

class regroup: MissionDefault

{

end1 = gatekeeper;

end2 = savingnamib;

end3 = gatekeeper;

end4 = gatekeeper;

end5 = gatekeeper;

end6 = gatekeeper;

lost = regroup;

template = XA06.EDEN;

};

class savingnamib: MissionDefault

{

end1 = gatekeeper;

end2 = gatekeeper;

end3 = gatekeeper;

end4 = gatekeeper;

end5 = gatekeeper;

end6 = gatekeeper;

lost = savingnamib;

template = XA06x.EDEN;

};

class gatekeeper: MissionDefault

{

end1 = heartsnminds;

end2 = heartsnminds;

end3 = heartsnminds;

end4 = heartsnminds;

end5 = heartsnminds;

end6 = heartsnminds;

lost = gatekeeper;

template = XA07.EDEN;

};

class heartsnminds: MissionDefault

{

end1 = leavinglamentin;

end2 = leavinglamentin;

end3 = leavinglamentin;

end4 = leavinglamentin;

end5 = leavinglamentin;

end6 = leavinglamentin;

lost = heartsnminds;

template = XA08.EDEN;

};

class leavinglamentin: MissionDefault

{

end1 = custer;

end2 = custer;

end3 = custer;

end4 = custer;

end5 = custer;

end6 = custer;

lost = leavinglamentin;

template = XA09.EDEN;

};

class custer: MissionDefault

{

end1 = dejavu;

end2 = dejavu;

end3 = dejavu;

end4 = dejavu;

end5 = dejavu;

end6 = dejavu;

lost = custer;

template = XA10.EDEN;

};

class dejavu: MissionDefault

{

end1 = lessismeaux;

end2 = lessismeaux;

end3 = lessismeaux;

end4 = lessismeaux;

end5 = lessismeaux;

end6 = lessismeaux;

lost = dejavu;

template = XA11.EDEN;

};

class lessismeaux: MissionDefault

{

end1 = dunkirk;

end2 = dunkirk;

end3 = dunkirk;

end4 = dunkirk;

end5 = dunkirk;

end6 = dunkirk;

lost = lessismeaux;

template = XA12.EDEN;

};

class dunkirk: MissionDefault

{

end1 =;

end2 =;

end3 =;

end4 =;

end5 =;

end6 =;

lost = dunkirk;

template = XA13.EDEN;

};

};

};

class CfgSounds

{

sounds[] = { };

};

class CfgRadio

{

sounds[] = { };

};

Have excluded the identities to save space, have pasted everything that comes after it.

Share this post


Link to post
Share on other sites

Warning: Idiot on the keyboard.

Please ignore this thread - I've found the problem and it had nothing to do with the .ext file. I've asked the moderator to remove this thread and hopefully the evidence of my stupidity will be purged soon.

Share this post


Link to post
Share on other sites

Instead of removing the thread, it would be more interesting if you can share the solution of it (even it was some typos) and where you made the mistake, in the case someone else run into the same problem.

Share this post


Link to post
Share on other sites

Damn you, I was really hopin' to keep this quiet.

I misread the campaign tutorial (Charlie Howarth), or rather I was lazy and skipped the bit in question assuming I knew it.

I pbo'd the individual missions and them put them into my campaign\missions folder, rather than the templates.

Rest assured I felt I had achieved a new height in sheer idiocy.

On the up side it did give me an idea for my profile pic (coming soon).

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×