OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Wolf 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.
-
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
-
Alright, but how do I properly but this into the Description.ext, the Command Reference Guide seems to me to be somewhat vague.
-
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;
};
};
};
-
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?
-
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.
-
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.
-
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;
};
};
};
-
Thanks, I'll try that.
-
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?
-
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)
-
[attachment deleted by admin]
-
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
-
Alright, I'm still getting an error.
This is the error message
No entry 'campaigns\Revenge Series\description.ext/Campaign/Part1.mission1'.
-
Anyone know what's wrong here?
-
*Bumping*
-
I'm sorry to be impatient, but this is getting frustrating, I've been trying to get the Ext file to work, but it still keeps crashing.
-
Hi, I don't know how to make your campaign work but I found a little tutorial that might help you. Go to the Editors Depot, then find the bit on the left hand column that says SP Editing. Look down the list (from previous forum threads) until youy get to one that says "How do I get my campaign to work" or something like that anywhere. I hope it helps :)
-
that means the errors still in the description.ext either post that up again or just email black@zodiak.unitedgaming.net me the entire campaign and I'll try to fix it.