Home   Help Search Login Register  

Author Topic: Campaign problem.  (Read 705 times)

0 Members and 1 Guest are viewing this topic.

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Campaign problem.
« on: 18 Jun 2006, 14:27:19 »
Ok, so I took a look at a tute and decided to mosh on with the campaign editor. I think I'm advancing steadily.
I got this error message today when I tried to load the campaign in the editor.

'.' encountered instaed of a '}'

Here's my Description.ext

Code: [Select]
class CfgIdentities
{
class me1
{
name = "Paul Johnson";
face = "ArchNamFace6";
glasses="None";
speaker = "Jonah";
pitch = 0.95;
};
class him1
{
name = "James Harrison";
face = "ArchNamFace19";
glasses="None";
speaker = "Marc";
pitch = 0.85;
};
class him2
{
name = "Brian Roby";
face = "ArchNamFace18";
glasses="None";
speaker = "John";
pitch = 1.0;
};
class him3
{
name = "Paul Imperioli";
face = "ArchNamFace2";
glasses="None";
speaker = "George";
pitch = 0.85;
};
class him4
{
name = "Damien Richards";
face = "ArchNamFace1";
glasses="None";
speaker = "greg";
pitch = 1.05;
};
class him5
{
name = "Andy Struecker";
face = "ArchNamFace5";
glasses="None";
speaker = "george";
pitch = 1.05;
};
class him6
{
name = "James Denver";
face = "ArchNamFace4";
glasses="None";
speaker = "rob";
pitch = 0.95;
};
class him7
{
name = "Tony Wilkinson";
face = "ArchNamFace3";
glasses="None";
speaker = "adam";
pitch = 0.95;
};
class him8
{
name = "Pete Mitchell";
face = "ArchNamFace17";
glasses="None";
speaker = "greg";
pitch = 0.95;
};
class him9
{
name = "Bob King";
face = "ArchNamFace16";
glasses="None";
speaker = "george";
pitch = 0.95;
};
class him10
{
name = "Mark Norman";
face = "ArchNamFace15";
glasses="None";
speaker = "rob";
pitch = 0.85;
};
class him11
{
name = "Bart Starr";
face = "ArchNamFace14";
glasses="None";
speaker = "adam";
pitch = 0.85;
};
class him12
{
name = "Brian Matthews";
face = "ArchNamFace13";
glasses="None";
speaker = "adam";
pitch = 0.85;
};
class him13
{
name = "Chase Brooks";
face = "ArchNamFace12";
glasses="None";
speaker = "Dan";
pitch = 0.85;
};
class SF1
{
name = "David Marshall";
face = "ArchNamFace18";
glasses="None";
speaker = "peter";
pitch = 0.85;
};
class Mont1
{
name = "Nguyet Cam";
face = "SebVCFace5";
glasses="None";
speaker = "georgiy";
pitch = 1.15;
};
class mont2
{
name = "Tuan Xuan";
face = "SebVCFace7";
glasses="None";
speaker = "boris";
pitch = 1.05;
};
class Loud
{
name = "Mike Loud";
face = "face3";
glasses="None";
speaker = "jonah";
pitch = 1.10;
};
class Steed
{
name = "Orenthil D. Jackson";
face = "ArchNamFace21";
glasses="None";
speaker = "Dan";
pitch = 0.80;
};
class Burg
{
name = "Gary Burghoff";
face = "Face43";
glasses="Spectacles";
speaker = "Dan";
pitch = 1.15;
};
class Boss
{
name = "Col. Potter";
face = "Face16";
glasses="none";
speaker = "Dan";
pitch = 1.85;
};
};


class Awards
{
    class Award01
    {
        limit = 12;
        abel = ;
        cain = ;
        eden = ;
    };
    class Award02
    {
        limit = 40;
        abel = ;
        cain = ;
        eden = ;
    };
    class Award03
    {
        limit = 100;
        abel = ;
        cain = ;
        eden = ;
    };
};

class Penalties
{
    class Penalty01
    {
        limit = -1;
        abel = ;
        cain = ;
        eden = ;
    };
    class Penalty02
    {
        limit = -7;
        abel = ;
        cain = ;
        eden = ;
    };
    class Penalty03
    {
        limit = -12;
        abel = ;
        cain = ;
        eden = ;
    };
    class PenaltyGameOver
    {
        limit = -15;
        abel = ;
        cain = ;
        eden = ;
    };
};

exitScore = -15;




class MissionDefault
{
     lives = -1;

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

class Campaign
{
    name =  "ArcLightandElephantGrass";
    firstBattle = Part1;



    class Part1
    {
        name = "BackintheShit";

        cutscene = ;

        firstMission = Tanh_Mhon.nam_25;
        lost = ;
        end1 = ;
        end2 = ;
        end3 = ;
        end4 = ;
        end5 = ;
        end6 = ;

        class Tanh_Mhon.nam_25: MissionDefault
        {
            end1 = Back_in_the_Shit.nam_25;
            end2 = Back_in_the_Shit.nam_25;
            end3 = Back_in_the_Shit.nam_25;
            end4 = Back_in_the_Shit.nam_25;
            end5 = Back_in_the_Shit.nam_25;
            end6 = Back_in_the_Shit.nam_25;
            lost = Tanh_Mhon.nam_25;
            template = Tanh_Mhon.nam_255;
        };
        class Back_in_the_Shit.nam_25: MissionDefault
        {
            end1 = LZ_Delta.nam_25;
            end2 = LZ_Delta.nam_25;
            end3 = LZ_Delta.nam_25;
            end4 = LZ_Delta.nam_25;
            end5 = LZ_Delta.nam_25;
            end6 = LZ_Delta.nam_25;
            lost = Back_in_the_Shit.nam_25;
            template = Back_in_the_Shit.nam_25;
        };
        class LZ_Delta.nam_25: MissionDefault
        {
            end1 = Chieu_Hoi.nam_25;
            end2 = Chieu_Hoi.nam_25;
            end3 = Chieu_Hoi.nam_25;
            end4 = Chieu_Hoi.nam_25;
            end5 = Chieu_Hoi.nam_25;
            end6 = Chieu_Hoi.nam_25;
            lost = LZ_Delta.nam_25;
            template = LZ_Delta.nam_25;
        };
        class Chieu_Hoi.nam_25: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = Chieu_Hoi.nam_25;
        };
    };

};

class CfgSounds
{
    sounds[] = { };
};

class CfgRadio
{
    sounds[] = { };
};
};
};
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re: Campaign problem.
« Reply #1 on: 18 Jun 2006, 14:58:55 »
unsure if it helps, but the last 2 "}" at the end eof your description seems to be too much. Not sure if this will solve the problem but i didn't found any other errors. but i never made a campaign so don't trust me too much.  ;)