Jump to content
Sign in to follow this  
manzilla

[Campaign Creation] Error in campaign structure

Recommended Posts

I'm trying to put together a mini test campaign but I keep getting a CTD an error at the difficulty selection screen. Once I press Play I get a CTD and an error about my campaign structure. I've tried many different description setups but I keep getting the CTD. I've looked over other community members campaign and my description isn't much different. I've read over the BIS info on packaging a campaign but I can't figure out what I'm doing wrong.

There's 3 missions in this mini-campaign.

Here's the most recent description file:

class MissionDefault
{
	lives = -1;

lost = ;
end1 = ;
end2 = ;
end3 = ;
end4 = ;
end5 = ;
end6 = ;
};

class Campaign
{
name = "ITest";
firstBattle = Intro;
disableMP = true;

class Intro
{
	name = "Start";
	cutscene =;
	firstMission = M0;
	end1 = ;
	end2 = ;
	end3 = ;
	end4 = ;
	end5 = ;
	end6 = ;
	lost = ;

	class M0: MissionDefault
	{
		end1 = M1;
		end2 = M0;
		end3 = M1;
		lost = M0;
		template = @Almost_Ready_Final.Takistan;

	};

	class M1: MissionDefault
	{
		end1 = M2;
		end2 = M1;
		end3 = M2;
		lost = M1;
		template = @Part2_new_Arty_in.Takistan;
	};

	class M2: MissionDefault
	{
		end1 = ;
		end2 = M2;
		lost = M2;
		template = @ACE2_Camp_3.Zargabad;
	};


};

};

Share this post


Link to post
Share on other sites

The only problem I can see is only a potential problem: have you tried removing the @ sign from the start of the mission folder names? Arma 2 reads that and $ as stringtable references usually. Not entirely sure that will work, but it's worth a try.

Share this post


Link to post
Share on other sites

I was gonna try that actually. I'll be back. Thanks for the quick reply.

EDIT:

That was the cause! Thanks again.

Edited by Manzilla

Share this post


Link to post
Share on other sites

I have been looking everywhere on how to make a campaign. I have some missions that I have made pretty similar to each other and thought it would be somthing to try out. Manzilla, you said that you found some info on packaging a campaign, do you still know where that is?

Thanks for the help!

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  

×