Home   Help Search Login Register  

Author Topic: Linking a series of missions into a campaign  (Read 3444 times)

0 Members and 1 Guest are viewing this topic.

Wolf

  • Guest
Linking a series of missions into a campaign
« on: 05 Sep 2002, 06:29:09 »
ok, I've looked through the nice new Editors Depot, but I didn't see anything concering this there, if I missed it sorry, and I think this is the right place to put this question.

I have a series of missions, how can I link them together like in a campaign so you have to beat the first one before going on to the second and so on....
If you happen to have a link to a program, or simply the info on how . . .
Any help is appreciated.

Thank you for your time.

SimonRussi

  • Guest
Re:Linking a series of missions into a campaign
« Reply #1 on: 05 Sep 2002, 09:18:20 »
in the OFPEC command reference there's a description of the campaign description.ext which describe the sequence of battles in your campaign...
i don't know if it has been uploaded and i don't have it now
i'm sorry

Wolf

  • Guest
Re:Linking a series of missions into a campaign
« Reply #2 on: 05 Sep 2002, 17:21:57 »
Alright, but how do I properly but this into the Description.ext, the Command Reference Guide seems to me to be somewhat vague.

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Linking a series of missions into a campaign
« Reply #3 on: 05 Sep 2002, 21:09:19 »
which bit arn't you sure of? this is a two mission campaign, the two missions are called mission1.eden & mission2.eden create a folder in your campaign directory and inside that make a description.ext with all this in. Then create a folder called missions and put your two missions in.

class MissionDefault
{
     lives = -1;
    lost = ;
    end1 = ;
    end2 = ;
    end3 = ;
    end4 = ;
    end5 = ;
    end6 = ;
};

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

    class Part1
    {
        name = "part 1";
        cutscene = ;

        firstMission = mission1;
        lost = ;
        end1 = ;
        end2 = ;
        end3 = ;
        end4 = ;
        end5 = ;
        end6 = ;

        class mission1: MissionDefault
        {
            end1 = mission2;
            end2 = mission2;
            end3 = mission2;
            end4 = mission2;
            end5 = mission2;
            end6 = mission2;
            lost = mission1;
            template = mission1.Eden;
        };
        class mission2: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = mission2.Eden;
        };
    };
};

Wolf

  • Guest
Re:Linking a series of missions into a campaign
« Reply #4 on: 05 Sep 2002, 21:34:11 »
ok, great, but if its just in a folder won't a person just be able to move it out to single missions?
I want to make this availeble to download, and I wasnt it to play like the original campaings.
Will this work? or am I dreaming?

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Linking a series of missions into a campaign
« Reply #5 on: 05 Sep 2002, 21:40:09 »
You can load the campaign into the mission editor and export to single missions, You have to tag on an islandname (.eden) to the folder in order to open it in the editor. The editor will create a empty mission.sqm for you and you might get a message saying the file is read only or something ignore it and just export to single missions. Tthen just rename it to campaignname.pbo and put it in your campaign directory.

Wolf

  • Guest
Re:Linking a series of missions into a campaign
« Reply #6 on: 05 Sep 2002, 22:16:19 »
ok
I get this
Error in campaign Structure

So I'm assuming I made a mistake in the Ext file.
Cna you tell me what I did wrong, what I still need to add?

class MissionDefault
{
    lives = -1;
    lost = ;
    end1 = ;
    end2 = ;
    end3 = ;
    end4 = ;
    end5 = ;
    end6 = ;
};

class Campaign
{
    name =  "Revenge Series";
    firstBattle = Part1;

    class Part1
    {
        name = "part 1";
        cutscene = ;

        firstMission = mission1;
        lost = ;
        end1 = ;
        end2 = ;
        end3 = ;
        end4 = ;
        end5 = ;
        end6 = ;

        class mission1: MissionDefault
        {
            end1 = mission2;
            end2 = mission2;
            end3 = mission2;
            end4 = mission2;
            end5 = mission2;
            end6 = mission2;
            lost = mission1;
            template = Revenge.Abel;
        };
        class mission2: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = Revenge2.Eden;
   };
        class mission3: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = Revenge3.Eden;
   };
        class mission4: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = Revenge4.Abel;
   };
        class mission5: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = Revenge5.Cain;
        };
    };
};

Thank you.

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Linking a series of missions into a campaign
« Reply #7 on: 06 Sep 2002, 00:43:59 »
try it like this, your class should be named the same as the mission and make sure the missions are in this dir \campaignname\Missions the you shouldn't get that error. You'll have to fill out the end's for each mission because you won't get past the second mission at the moment

class MissionDefault
{
    lives = -1;
    lost = ;
    end1 = ;
    end2 = ;
    end3 = ;
    end4 = ;
    end5 = ;
    end6 = ;
};

class Campaign
{
    name =  "Revenge Series";
    firstBattle = Part1;

    class Part1
    {
        name = "part 1";
        cutscene = ;
        firstMission = revenge;
        lost = ;
        end1 = ;
        end2 = ;
        end3 = ;
        end4 = ;
        end5 = ;
        end6 = ;

        class revenge: MissionDefault
        {
            end1 = revenge2;
            end2 = revenge2;
            end3 = revenge2;
            end4 = revenge2;
            end5 = revenge2;
            end6 = revenge2;
            lost = revenge;
            template = Revenge.Abel;
        };
        class revenge2: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = Revenge2.Eden;
   };
        class revenge3: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = Revenge3.Eden;
   };
        class revenge4: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = Revenge4.Abel;
   };
        class revenge5: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = Revenge5.Cain;
        };
    };
};

Wolf

  • Guest
Re:Linking a series of missions into a campaign
« Reply #8 on: 06 Sep 2002, 02:16:44 »
Thanks, I'll try that.

Wolf

  • Guest
Re:Linking a series of missions into a campaign
« Reply #9 on: 06 Sep 2002, 02:30:48 »
class MissionDefault
{
    lives = -1;
    lost = ;
    end1 = ;
    end2 = ;
    end3 = ;
    end4 = ;
    end5 = ;
    end6 = ;
};

class Campaign
{
    name =  "Revenge Series";
    firstBattle = Part1;

    class Part1
    {
        name = "part 1";
        cutscene = ;

        firstMission = Revenge;
        lost = ;
        end1 = ;
        end2 = ;
        end3 = ;
        end4 = ;
        end5 = ;
        end6 = ;

        class Revenge: MissionDefault
        {
            end1 = revenge2;
            end2 = revenge2;
            end3 = revenge2;
            end4 = revenge2;
            end5 = revenge2;
            end6 = revenge2;
            lost = revenge1;
            template = Revenge.Abel;
        };
        class revenge2: MissionDefault
        {
            end1 = Revenge3;
            end2 = Revenge3;
            end3 = Revenge3;
            end4 = Revenge3;
            end5 = Revenge3;
            end6 = Revenge3;
            lost = Revenge2;
            template = Revenge2.Eden;
   };
        class Revenge3: MissionDefault
        {
            end1 = Revenge4;
            end2 = Revenge4;
            end3 = Revenge4;
            end4 = Revenge4;
            end5 = Revenge4;
            end6 = Revenge4;
            lost = Revenge3;
            template = Revenge3.Eden;
   };
        class Revenge4: MissionDefault
        {
            end1 = Revenge5;
            end2 = Revenge5;
            end3 = Revenge5;
            end4 = Revenge5;
            end5 = Revenge5;
            end6 = Revenge5;
            lost = Revenge4;
            template = Revenge4.Abel;
   };
        class Revenge5: MissionDefault
        {
            end1 = ;
            end2 = ;
            end3 = ;
            end4 = ;
            end5 = ;
            end6 = ;
            lost = ;
            template = Revenge5.Cain;
        };
    };
};

this is what's in the ext, but its still CTD with an error in the ext?

Offline Garcia

  • Members
  • *
  • Leeds United is the best football team...EVER!
Re:Linking a series of missions into a campaign
« Reply #10 on: 06 Sep 2002, 08:52:00 »
U could DL the campaign tool, I guess u'll find it over at OFP.info :-*
But I've never used it, so I don't know how it works ::)

Garcia

(P.S Join OFPRC)

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Linking a series of missions into a campaign
« Reply #11 on: 06 Sep 2002, 13:33:08 »


[attachment deleted by admin]

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Linking a series of missions into a campaign
« Reply #12 on: 06 Sep 2002, 13:39:42 »
If you would post your error message, it would be easier to get the reason for it.  ;)

:note - take care, that there is now space (blank) field at
the end of your description.ext after the last };

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Wolf

  • Guest
Re:Linking a series of missions into a campaign
« Reply #13 on: 06 Sep 2002, 23:07:01 »
Alright, I'm still getting an error.

This is the error message
No entry 'campaigns\Revenge Series\description.ext/Campaign/Part1.mission1'.

Wolf

  • Guest
Re:Linking a series of missions into a campaign
« Reply #14 on: 07 Sep 2002, 17:09:55 »
Anyone know what's wrong here?
« Last Edit: 07 Sep 2002, 22:47:58 by Wolf »