OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Blacknite 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?
-
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.
-
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;
};
};
};
-
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
-
but it is like that, mission.island, the island's name is "brg_e".
-
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