Jump to content
Sign in to follow this  
Cyper

Campaign does not appear!

Recommended Posts

Hi there,

I need some help with my campaign. It does not appear in the campaign menu.

I have 14 missions that are ready to be released very soon - only three tasks left - putting the campaign into .pbo, letting some people test it, and then change any errors.

This I what I have done so far:

1. I created a campaign map in documents/arma2.

2. I created a map called Operation Speer, with a folder called missions in it.

3. I put all my missions inside the mission map.

4. I put description.ext in the Operation Speer map.

Description.ext is as follows (and just to make it easy I tried it on only a few missions):

class CfgIdentities

{

class player

{

name = "James Cooley";

face = "Chad H.";

glasses = "None";

speaker = "Dusan";

pitch = 1.00;

};

};

class CfgSounds

{

};

class MissionDefault

{

lives = -1;

lost = ;

end1 = ;

end2 = ;

end3 = ;

end4 = ;

end5 = ;

end6 = ;

};

class Campaign

{

name = "Operation Speer";

firstBattle = chapter1;

class chapter1

{

name = "chapter1";

cutscene = ;

firstMission = 01 - ESCORT;

end1 = ;

end2 = ;

end3 = ;

end4 = ;

end5 = ;

end6 = ;

lost = ;

};

class 01 - ESCORT: MissionDefault

{

end1 = 03 - Bandits Crossing;

lost = 01 - ESCORT;

template = 01 - ESCORT.isladuala;

};

class 04 - Under Siege: MissionDefault

{

end1 = 01 - Escort;

lost = 04 - Under Siege;

template = 04- Under Siege.isladuala;

};

};

};

class Awards

{

};

class Penalties

{

};

And to repeat: My problems is simply that my campaign does not appear at all in the campaign screen in arma 2.

Share this post


Link to post
Share on other sites

You must put your campaign folder or campaign.pbo in arma 2\campaigns folder. If you dont have campaigns folder create one.

---------- Post added at 12:11 AM ---------- Previous post was at 12:06 AM ----------

For example:

d:\arma 2\campaigns\your campaign folder or campaign.pbo

Share this post


Link to post
Share on other sites

Thanks, it seems like the game read the file now. However, I got an error and the game crashed; ''File Campaigns/operation speer/description.ext, line42: /Campaign/: '-' encountered instead of''

Share this post


Link to post
Share on other sites

Put your whole description.ext for campaign here and we can check what is wrong.

---------- Post added at 06:39 AM ---------- Previous post was at 06:38 AM ----------

Ps: check line 42.

Share this post


Link to post
Share on other sites

This is the whole .ext that I use. I couldn't find anything in line 42.

class CfgIdentities

{

class player

{

name = "James Cooley";

face = "Chad H.";

glasses = "None";

speaker = "Dusan";

pitch = 1.00;

};

};

class CfgSounds

{

};

class MissionDefault

{

lives = -1;

lost = ;

end1 = ;

end2 = ;

end3 = ;

end4 = ;

end5 = ;

end6 = ;

};

class Campaign

{

name = "Operation Speer";

firstBattle = chapter1;

class chapter1

{

name = "chapter1";

cutscene = ;

firstMission = 01 - ESCORT;

end1 = ;

end2 = ;

end3 = ;

end4 = ;

end5 = ;

end6 = ;

lost = ;

};

class 01 - ESCORT: MissionDefault

{

end1 = 02 - 03 - Bandits Crossing;

lost = 01 - ESCORT;

template = 01 - ESCORT.isladuala;

};

class 04 - Under Siege: MissionDefault

{

end1 = 01 - Escort;

lost = 04 - Under Siege;

template = Under Siege.isladuala;

};

};

};

class Awards

{

};

class Penalties

{

};

Share this post


Link to post
Share on other sites

In this

name = "chapter1";
cutscene = ;
firstMission = 01 - ESCORT;
end1 = ;
end2 = ;
end3 = ;
end4 = ;
end5 = ;
end6 = ;
lost = ;
[color="#FF0000"]};[/color] 

You dont need that last }; this is line 42 ;) [you have 1 time to many }; in your description.ext becose of that]

After mission 01 - Escort End1 should by mission 02 -03 Bandits crosing (this is the name or you write here something wrong with that 02 - 03) but in description you have next mission 04 - Under siege. So after first mission campaign will crash.

PS: here is example of my description.ext I used this in ~15 of my campaigns (I only added next missions if my campaign have more missions then 11 or cut few lines if missions in campaign <11)

class CfgIdentities {};

class MissionDefault
{
	lives = -1;

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

class Campaign
{
name = "Battlefield Takistan";
firstBattle = prologue;

class prologue
{
	name = "prologue";
	cutscene =;
	firstMission = 0;
	end1 = ;
	end2 = ;
	end3 = ;
	end4 = ;
	end5 = ;
	end6 = ;
	lost = ;

	class 0: MissionDefault
	{
		end1 = 1;
		end2 = 1;
		end3 = 1;
		end4 = 1;
		end5 = 1;
		end6 = 1;
		lost = 0;
		template = 0.Takistan;
	};
	class 1: MissionDefault
	{
		end1 = 2;
		end2 = 2;
		end3 = 2;
		end4 = 2;
		end5 = 2;
		end6 = 2;
		lost = 1;
		template = 1.Takistan;
	};
	class 2: MissionDefault
	{
		end1 = 3;
		end2 = 3;
		end3 = 3;
		end4 = 3;
		end5 = 3;
		end6 = 3;
		lost = 2;
		template = 2.Takistan;
	};		
	class 3: MissionDefault
	{
		end1 = 4;
		end2 = 4;
		end3 = 4;
		end4 = 4;
		end5 = 4;
		end6 = 4;
		lost = 3;
		template = 3.Takistan;
	};
	class 4: MissionDefault
	{
		end1 = 5;
		end2 = 5;
		end3 = 5;
		end4 = 5;
		end5 = 5;
		end6 = 5;
		lost = 4;
		template = 4.Takistan;
	};
	class 5: MissionDefault
	{
		end1 = 6;
		end2 = 6;
		end3 = 6;
		end4 = 6;
		end5 = 6;
		end6 = 6;
		lost = 5;
		template = 5.Takistan;
	};
	class 6: MissionDefault
	{
		end1 = 7;
		end2 = 7;
		end3 = 7;
		end4 = 7;
		end5 = 7;
		end6 = 7;
		lost = 6;
		template = 6.Takistan;
	};
	class 7: MissionDefault
	{
		end1 = 8;
		end2 = 8;
		end3 = 8;
		end4 = 8;
		end5 = 8;
		end6 = 8;
		lost = 7;
		template = 7.Takistan;
	};
	class 8: MissionDefault
	{
		end1 = 9;
		end2 = 9;
		end3 = 9;
		end4 = 9;
		end5 = 9;
		end6 = 9;
		lost = 8;
		template = 8.Takistan;
	};
	class 9: MissionDefault
	{
		end1 = 10;
		end2 = 10;
		end3 = 10;
		end4 = 10;
		end5 = 10;
		end6 = 10;
		lost = 9;
		template = 9.Takistan;
	};
	class 10: MissionDefault
	{
		end1 = ;
		end2 = ;
		end3 = ;
		end4 = ;
		end5 = ;
		end6 = ;
		lost = ;
		template = 10.Takistan;
	};


};
};

class Awards {};

class Penalties {};

Edited by tom3kb

Share this post


Link to post
Share on other sites

Thanks, dude, the campaign more or less work now.

I can start and run the campaign but as soon as I complete the first mission I get message ''No entry 'Campaigns/operation speer/description.ext/Campaign/prologue.02 Bandits Crossing''

Its because of the prologue, but and I am not sure what the prologue is supposed to do or how its works.

class CfgIdentities {};

class MissionDefault
{
	lives = -1;

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

class Campaign
{
name = "Operation Speer";
firstBattle = prologue;

class prologue
{
	name = "prologue";
	cutscene =intro2.sqs;
	firstMission = 01 - Escort;
	end1 = ;
	end2 = ;
	end3 = ;
	end4 = ;
	end5 = ;
	end6 = ;
	lost = ;

	class 0: MissionDefault
	{
		end1 = 02 - Bandits Crossing;
		end2 = 02 - Bandits Crossing;
		end3 = 02 - Bandits Crossing;
		end4 = 02 - Bandits Crossing;
		end5 = 02 - Bandits Crossing;
		end6 = 02 - Bandits Crossing;
		lost = 02 - Bandits Crossing;
		template = 01 - ESCORT.isladuala;
	};
	class 1: MissionDefault
	{
		end1 = 03 - Under Siege;
		end2 = 03 - Under Siege;
		end3 = 03 - Under Siege;
		end4 = 03 - Under Siege;
		end5 = 03 - Under Siege;
		end6 = 03 - Under Siege;
		lost = 2 - Bandits Crossing;
		template = 02 - Bandits Crossing.isladuala;
	};
	class 3: MissionDefault
	{
		end1 = 01 - ESCORT;
		end2 = 01 - ESCORT;
		end3 = 01 - ESCORT;
		end4 = 01 - ESCORT;
		end5 = 01 - ESCORT;
		end6 = 01 - ESCORT;
		lost = 01 - ESCORT;
		template = 04 - Under Siege.isladuala;
	};		


};
};

class Awards {};

class Penalties {};

Share this post


Link to post
Share on other sites

My missions have names 0.takistan, 1.takistan etc so in description i write for mission with name 0:

class 0: Missiondefault and then end1, end2 etc.

You must use your missions names for example: class 02 - Bandits Crosing: MissionDefault etc.

---------- Post added at 11:37 PM ---------- Previous post was at 11:28 PM ----------

Your first mission is 01 - ESCORT so in place where you have class 0: MissionDefault you should write class 01 - ESCORT

and then End1 = 02 - Bandits Crossing; etc

Share this post


Link to post
Share on other sites

I used this description. It caused an error at line 33 (if I remember correctly).

My contact lenses are getting really dry.

class CfgIdentities {};

class MissionDefault
{
	lives = -1;

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

class Campaign
{
name = "Operation Speer";
firstBattle = prologue;

class prologue
{
	name = "prologue";
	cutscene = intro2.sqs;
	firstMission = 01 - Escort;
	end1 = ;
	end2 = ;
	end3 = ;
	end4 = ;
	end5 = ;
	end6 = ;
	lost = ;

	class 01 - ESCORT
	{
		end1 = 02 - Red River;
		end2 = 02 - Red River;
		end3 = 02 - Red River;
		end4 = 02 - Red River;
		end5 = 02 - Red River;
		end6 = 02 - Red River;
		lost = 01 - ESCORT;
		template = 01 - ESCORT.isladuala;
	};
	class 02 - Red River
	{
		end1 = 03 - Bandits Crossing;
		end2 = 03 - Bandits Crossing;
		end3 = 03 - Bandits Crossing;
		end4 = 03 - Bandits Crossing;
		end5 = 03 - Bandits Crossing;
		end6 = 03 - Bandits Crossing;
		lost = 02 - Red River;
		template = 02 - Red River.isladuala;
	};
	class 03 - Bandits Crossing
	{
		end1 = 01 - ESCORT;
		end2 = 01 - ESCORT;
		end3 = 01 - ESCORT;
		end4 = 01 - ESCORT;
		end5 = 01 - ESCORT;
		end6 = 01 - ESCORT;
		lost = 01 - ESCORT;
		template = 03 - Bandits Crossing;
	};		



};
};

class Awards {};

class Penalties {};

Share this post


Link to post
Share on other sites

You forgot to add : Missiondefault after each mission class so maybe this is the problem. Also if Bandits crosing is last mission in End1,2,3...Lost you dont write any mission name, only in template you write 03 - Bandits Crossing;

I changed your descritption.ext, you can check if now it works:

        class CfgIdentities {};

       class MissionDefault
       {
        	lives = -1;

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

       class Campaign
       {
       	name = "Operation Speer";
       	firstBattle = prologue;

       	class prologue
       	{
       		name = "prologue";
       		cutscene = intro2.sqs;
       		firstMission = 01 - Escort;
       		end1 = ;
       		end2 = ;
       		end3 = ;
       		end4 = ;
       		end5 = ;
       		end6 = ;
       		lost = ;

       		class 01 - ESCORT: MissionDefault
       		{
       			end1 = 02 - Red River;
       			end2 = 02 - Red River;
       			end3 = 02 - Red River;
       			end4 = 02 - Red River;
       			end5 = 02 - Red River;
       			end6 = 02 - Red River;
       			lost = 01 - ESCORT;
       			template = 01 - ESCORT.isladuala;
       		};
       		class 02 - Red River: MissionDefault
       		{
       			end1 = 03 - Bandits Crossing;
       			end2 = 03 - Bandits Crossing;
       			end3 = 03 - Bandits Crossing;
       			end4 = 03 - Bandits Crossing;
       			end5 = 03 - Bandits Crossing;
       			end6 = 03 - Bandits Crossing;
       			lost = 02 - Red River;
       			template = 02 - Red River.isladuala;
       		};
       		class 03 - Bandits Crossing: MissionDefault
       		{
       			end1 = ;
       			end2 = ;
       			end3 = ;
       			end4 = ;
       			end5 = ;
       			end6 = ;
       			lost = ;
       			template = 03 - Bandits Crossing;
       		};		



       	};
       };

       class Awards {};

       class Penalties {};

Also after prologue line you have in cutscene line something like this:

cutscene = intro2.sqs;

In my description i have always empty place there but if all work with this in your description i think all should be ok (maybe you launch cutscene there, I dont know).

name = "prologue";
	cutscene =;

Edited by tom3kb

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  

×