Home   Help Search Login Register  

Author Topic: Help in making a campaign  (Read 792 times)

0 Members and 1 Guest are viewing this topic.

Offline Blacknite

  • Members
  • *
  • Chiefs runs the navy!
Help in making a campaign
« on: 12 Dec 2005, 03:09:24 »
Ok, first thing first.  I have already used Campaign Editor, and I will get an error message with something like "'/' this encounter instead of this '.'" or something like that.

I have also decrypted the origional campaign file, and copied it and changed it a bit, and I still get the same error message!

Any solutions?

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Help in making a campaign
« Reply #1 on: 12 Dec 2005, 03:36:57 »
Go back through and manully make sure your code is right.

Post the campaign description.ext here so that we can paruse it, and hopefully spot something.
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline Blacknite

  • Members
  • *
  • Chiefs runs the navy!
Re:Help in making a campaign
« Reply #2 on: 12 Dec 2005, 03:47:07 »
class CfgIdentities
{

};

class Awards
{

};

class Penalties
{

};

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

   class Part1
   {
      name = "The Beginning";
      
      cutscene = ;

      firstMission = Intro.brg_e;
      end1 = Part1;
      end2 = Part1;
      end3 = Part1;
      end4 = Part1;
      end5 = Part1;
      end6 = Part1;
      lost = Part1;

      class Intro.brg_e: MissionDefault
      {
         end1 = Mission1.brg_e;
         end2 = Mission1.brg_e;
         end3 = Mission1.brg_e;
         end4 = Mission1.brg_e;
         end5 = Mission1.brg_e;
         end6 = Mission1.brg_e;
         lost = Intro.brg_en_noe;
         template = Intro.brg_en_noe;
      };
      class Mission1.brg_e: MissionDefault
      {
         end1 = Mission2.brg_en;
         end2 = Mission2.brg_ens;
         end3 = Mission2.brg_en;
         end4 = Mission2.brg_en;
         end5 = Mission2.brg_en;
         end6 = Mission2.brg_en;
         lost = Mission1.brg_e;
         template = Mission1.brg_e;
      };
      class Mission2.brg_en: MissionDefault
      {
         end1 = ;
         end2 = ;
         end3 = ;
         end4 = ;
         end5 = ;
         end6 = ;
         lost = Mission2.brg_en;
         template = Mission2.brg_en;
      };
   };   
};

Offline 456820

  • Contributing Member
  • **
Re:Help in making a campaign
« Reply #3 on: 12 Dec 2005, 19:43:22 »
yep the reason is that you cant have "." in the names of the missions so re name all your mission folders and change it to
mission.eden or whatever you cant have 01.mission.eden the . in between the name and the island doesnt matter and also change the . in the campaign description aswell i had the same problem its all fixed now

Offline Blacknite

  • Members
  • *
  • Chiefs runs the navy!
Re:Help in making a campaign
« Reply #4 on: 13 Dec 2005, 00:00:16 »
but it is like that, mission.island, the island's name is "brg_e".

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:Help in making a campaign
« Reply #5 on: 13 Dec 2005, 12:51:35 »
456820 is right. I think this is what you should do to make it work. I removed the island file extension and the dot (.) from your quoted code in the example below. Read 456820's post again and observe the difference between your code and this example...


   class Part1
   {
      name = "The Beginning";
      
      cutscene = ;

      firstMission = Intro;
      end1 = Part1;
      end2 = Part1;
      end3 = Part1;
      end4 = Part1;
      end5 = Part1;
      end6 = Part1;
      lost = Part1;

      class Intro: MissionDefault
      {
         end1 = Mission1;
         end2 = Mission1;
         end3 = Mission1;
         end4 = Mission1;
         end5 = Mission1;
         end6 = Mission1;
         lost = Intro
         template = Intro.brg_en_noe;
      };

Good luck
OFPEC | Intel Depot
RETARDED Ooops... Retired!