Jump to content
Sign in to follow this  
IndeedPete

The new Campaign Description.ext

Recommended Posts

Hi there,

i'm just goofing around with the PBOing of a custom campaign. As for now, i'm a little confused as i read that creating campaigns should be working like in Arma 2. "Should be" are the keywords, because my old template from Arma 2 causes in Arma 3 that the campaign is double listed and it cannot find any overview pictures (not from the missions, nor the main picture from the campaign).

"Old" campaign description.ext which causes errors:

class MissionDefault
{
	lives = -1;

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

class Campaign
{
firstBattle = Beginning;
disableMP = 1;

briefingName = "Insomnia";
author = "IndeedPete";
overviewPicture = "main.paa";
overviewText = "";

class Beginning
{
	name = "test";
	cutscene = ;
	firstMission = M01;
	end1 = ;
	lost = ;

	class M01: MissionDefault
	{
		end1 = M02;
		lost = M01;
		template = IP_INS01.Stratis;
	};

	class M02: MissionDefault
	{
		end1 = M03;
		lost = M02;
		template = IP_INS02.Stratis;
	};

	class M03: MissionDefault
	{
		end1 = M04;
		lost = M03;
		template = IP_INS03.Stratis;
	};

	class M04: MissionDefault
	{
		end1 = M05;
		lost = M04;
		template = IP_INS04.Stratis;
	};

	class M05: MissionDefault
	{
		end1 = M06;
		lost = M05;
		template = IP_INS05.Altis;
	};

	class M06: MissionDefault
	{
		end1 = M07;
		lost = M06;
		template = IP_INS06.Altis;
	};

	class M07: MissionDefault
	{
		end1 = M08;
		lost = M07;
		template = IP_INS07.Altis;
	};

	class M08: MissionDefault
	{
		lost = M08;
		template = IP_INS08.Altis;
	};
};
};

Stucture of folder that gets PBOed:

unbenanntckd2o.jpg

Aside from that every mission has its own description.ext which contains overview info, author, etc. since i used to test them individually. I'd be happy for any hints or explanations!

I already checked the biki for Mission Overview and Campaign Description.ext but mayb ei'm missing something here.

Share this post


Link to post
Share on other sites

No ideas out there? I might have to wait for the BIS camapaign to come up and then take it apart...

Share this post


Link to post
Share on other sites

Hi, IndeedPete - did you ever find a solution to this one?

Share this post


Link to post
Share on other sites

Hi IndeedPete.

try this code. it will show the campaign pictures and text. but there is something missing for the missions :(

class M00: MissionDefault

{

end1 = M01;

lost = M00;

template = Mission_01.Stratis;

terrain = Stratis;

#ifndef _DISABLE_DESCRIPTION

class Description

{

#include "Missions\Mission_01.Stratis\description.ext"

};

#endif

};

if somebody knows feel free to share

Share this post


Link to post
Share on other sites

Thanks, but I think I've sorted this out already. It's working fine on my end. Just for reference I'll leave the current M.E.R.C.S. description here:

class Campaign
{
name = "IP_CMP_MERCS";
firstBattle = Missions;
disableMP = 1;
enableHub = 1;

briefingName = "M.E.R.C.S.";
author = "IndeedPete";
overviewPicture = "\Campaigns\IP_CMP_MERCS\img\cmp_overview.jpg";
overviewText = "Born in Karthoum, Sudan, Raif Salih became an orphan at the early age of two. Growing up as one of the poorest people in one of the poorest countries on this planet he basically had no other option than to join the military - the Sudanese Armed Forces (SAF).<br/><br/>Years of civil wars and conflicts in east Africa escalated in a major offensive led by Ethiopian forces against their neighbouring countries, including Sudan. The few friends Raif had fell quickly against the overwhelming enemy. What was left of the SAF was able of holding Karthoum but could never win the war.<br/><br/>Raif knew that even if the Ethiopians would somehow back down there was nothing left of what he called home once. Nothing left to live for and certainly nothing to die for. When he saw his chance he took the little he had, deserted from the SAF and ran for it. Somehow, he made it past the besiegers and travelled for weeks through the east Sahara with nothing more than his feet and the hope for a new life somewhere else. When Raif finally reached Alexandria, Egypt he was offered a ride to Greece, European Federation by a Greek named 'Nikos'. A dangerous and expensive travel but Nikos appeared trustworthy and nice, so Raif agreed to a deal for the chance to live his dream... ";

class MissionDefault
{
	lives = -1;

	Hub01 = Hub01;
	Hub01Fail1 = Hub01;
	Hub01Fail2 = Hub01;
	Hub01Fail3 = Hub01;
	MOut_Renegade = MOut_Renegade;

	Hub02 = Hub02;
	Hub02Fail1 = Hub02;
	Hub02Fail2 = Hub02;
	Hub02Fail3 = Hub02;

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

class Missions
{
	name = "The Beginning";
	cutScene = ;
	firstMission = MIn;
	end1 = ;
	end2 = ;
	end3 = ;
	end4 = ;
	end5 = ;
	end6 = ;
	lost = ;

	#define _CAMPAIGN 1

	class Hub01: MissionDefault
	{
		M01a = M01a;
		M01b = M01b;
		M01c = M01c;
		M02a = M02a;
		M02b = M02b;
		M02c = M02c;
		M03 = M03;
		M04a = M04a;
		M04b = M04b;
		M04c = M04c;
		M05 = M05;
		MOut_Quit = MOut_Quit;
		MTrans01 = MTrans01;
		template = MERCS_Hub01.Stratis;
	};

	class Hub02: MissionDefault
	{
		M06 = M06;
		MMain01 = MMain01;
		template = MERCS_Hub02.Altis;
	};

	class MIn: MissionDefault
	{
		template = MERCS_MIn.Stratis;
	};	

	class M01a: MissionDefault
	{
		template = MERCS_M01a.Altis;
	};	

	class M01b: MissionDefault
	{
		template = MERCS_M01b.Altis;
	};	

	class M01c: MissionDefault
	{
		template = MERCS_M01c.Altis;
	};	

	class M02a: MissionDefault
	{
		template = MERCS_M02a.Altis;
	};

	class M02b: MissionDefault
	{
		template = MERCS_M02b.Altis;
	};

	class M02c: MissionDefault
	{
		template = MERCS_M02c.Altis;
	};

	class M03: MissionDefault
	{
		template = MERCS_M03.Altis;
	};

	class M04a: MissionDefault
	{
		template = MERCS_M04a.Altis;
	};

	class M04b: MissionDefault
	{
		template = MERCS_M04b.Altis;
	};

	class M04c: MissionDefault
	{
		template = MERCS_M04c.Altis;
	};

	class M05: MissionDefault
	{
		template = MERCS_M05.Altis;
	};

	class M06: MissionDefault
	{
		template = MERCS_M06.Altis;
	};

	class MMain01: MissionDefault
	{
		template = MERCS_MMain01.Altis;
	};	

	class MOut_Renegade: MissionDefault
	{
		template = MERCS_MOut_Renegade.Altis;
	};	

	class MOut_Quit: MissionDefault
	{
		template = MERCS_MOut_Quit.Altis;
	};	

	class MTrans01: MissionDefault
	{
		template = MERCS_MTrans01.Altis;
	};	

	// #include "description.fsm"
};
};

  • Thanks 1

Share this post


Link to post
Share on other sites

By the way. Do you know how to turn on the CinemaBorders like on the East Wind campaign??

Share this post


Link to post
Share on other sites

[0] call BIS_fnc_cinemaBorder;

0 - borders appear.

1 - borders disappear.

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  

×