Jump to content
Sign in to follow this  
Rytuklis

What's wrong with my description.ext?

Recommended Posts

Upon adding the debriefing option my game refuses to load the mission, saying there's some code error in the CfgDebriefing. Help?

///////////////////////////////////////////////////////////
// Armed Assault Description File
// Created with ArmA Edit - Version 1.3.4000
///////////////////////////////////////////////////////////

showCompass = 0;
showGPS = 0;
showWatch = 0;
overviewtext = "";
author = "Rytuklis";
onLoadName = "01: The Invasion"; 
onLoadMission = "CSAT Coalition have invaded their neighbouring Altian Island. Sergeant Eugene Kostas finds himself in the middle of the CSAT invasion.";
loadScreen = "images\loadscreen.jpg";

// NOTE: Your sound/radio files must be in the ...\mission\sound
// folder and your music files in the ...\mission\music folder.
class CfgSounds
{
// List of sounds (.ogg files without the .ogg extension)
sounds[] = {nw1, resis1};

// Definition for each sound
	class nw1
{
	name = "nw1"; // Name for mission editor
	sound[] = {\sound\nw1.wav, db + 0, 1.0};
	titles[] = {0, ""};
};
class resis1
{
	name = "resis1"; // Name for mission editor
	sound[] = {\sound\resis1.wav, db + 0, 1.0};
	titles[] = {0, ""};
};

class CfgDebriefing
{
class End1
{
	title = "You have survived!";
	subtitle = "You have reached the stronghold.";
	description = "You are alive and safe, but the CSAT Forces have taken the island and the only opposition left are the various AAF Squads scattered around the island. Sooner or later, they will come after you.";
	pictureBackground = "";
	picture = "";
	picturecolors = {1.0,1.0,1.0,1};
{
};

Share this post


Link to post
Share on other sites

Your next-to-last bracket is wrong. It should be: };

Share this post


Link to post
Share on other sites

And your missing a closing bracket for CfgSounds

Share this post


Link to post
Share on other sites

Thanks a lot! This fixed it!

---------- Post added at 10:24 AM ---------- Previous post was at 09:52 AM ----------

Ok.. What the hell is wrong with it now? I added the CfgIdentities and it went fubar again, even though everything is identical to how it should be..

///////////////////////////////////////////////////////////
// Armed Assault Description File
// Created with ArmA Edit - Version 1.3.4000
///////////////////////////////////////////////////////////

showCompass = 0;
showGPS = 0;
showWatch = 0;
overviewtext = "";
author = "Rytuklis";
onLoadName = "01: The Invasion"; 
onLoadMission = "CSAT Coalition have invaded their neighbouring Altian Island. Sergeant Eugene Kostas finds himself in the middle of the CSAT invasion.";
loadScreen = "images\loadscreen.jpg";

// NOTE: Your sound/radio files must be in the ...\mission\sound
// folder and your music files in the ...\mission\music folder.
class CfgSounds
{
// List of sounds (.ogg files without the .ogg extension)
sounds[] = {nw1, resis1};

// Definition for each sound
	class nw1
{
	name = "nw1"; // Name for mission editor
	sound[] = {\sound\nw1.wav, db + 0, 1.0};
	titles[] = {0, ""};
};
class resis1
{
	name = "resis1"; // Name for mission editor
	sound[] = {\sound\resis1.wav, db + 0, 1.0};
	titles[] = {0, ""};
};
};
class CfgDebriefing
{
class End1
{
	title = "You have survived!";
	subtitle = "You have reached the stronghold.";
	description = "You are alive and safe, but the CSAT Forces have taken the island and the only opposition left are the various AAF Squads scattered around the island. Sooner or later, they will come after you.";
	pictureBackground = "images\pic2.jpg";
	picture = "images\pic1.jpg";
	picturecolors = {1.0,1.0,1.0,1};
     };
};
class CfgIdentities
{
   class Eugene
   {
     name = "Eugene Kosta";
     nameSound = "Leventis";
     face="GreekHead_A3_09";
glasses="None";
speaker="Male03GRE";
pitch=1.1;
   };
   class Aleksis
   {
     name = "Aleksis Authenaus";
     nameSound = "Stavrou";
     face="GreekHead_A3_07";
glasses="None";
speaker="Male04GRE";
pitch=1.1;
   };
};

Share this post


Link to post
Share on other sites

pictureColor[] = {1.0,1.0,1.0,1};

Share this post


Link to post
Share on other sites

I installed Notepad ++ and used the plugin provided, however, the Notepad finds no errors in my syntax and i'm positive that the error is not in CFGSounds, because it was like this before and worked until I added the CfgIdentities.

Edit @Larrow: Thank you a lot! That fixed it! You're my hero :D.

Share this post


Link to post
Share on other sites

Need to use your RPT to find some errors, especially like that one that just CTD on reading the mission files. That will tell you where to look e.g.

File F:\My Documents\Arma 3 - Other Profiles\Dev\mpmissions\del_rubbishTest.Stratis\description.ext, line 39: '/CfgDebriefing/End1.picturecolors': Missing ';' prior '}'
ErrorMessage: Config : some input after EndOfFile.

Goto "C:\Users\myWindowsUserName\AppData\Local\Arma 3\arma3_2014-08-31_12-12-01.rpt" and find the latest .rpt and open it in Notepad.

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  

×