Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Turalyon on January 23, 2006, 05:19:09 pm
-
Hoi.
I have a question to all you guys who know what the stuff in the .fs2 files means and especially to Silent Warrior (if he isl reading this forum)
The campaign is Crusade, chapter 1, the mission is "Close encounters"
Your goals:
Defend the Azrael transport
Cover the transport's docking
Provide cover while it's docked
Bonus target:
Try without reinforcements
All nice and shiny BUT. After achieving every goal, even the bonus target, I get the you-did-well speech but the mission counts as failed (not the firs campaign where that happened)
And I can't even skip the mission by failing it 5 times. Even after clicking "Proceed to next mission" I come to the same mission again.
And now to you FREDers out there. What exactly does that mean:
$Mission: SIRYukonho.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRRecon.fs2" ) )
( ( true ) ( next-mission "SIRYukonho.fs2" ) )
)
+Level: 0
+Position: 0
$Mission: SIRRecon.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRHomerun.fs2" ) )
( ( true ) ( next-mission "SIRRecon.fs2" ) )
)
+Level: 1
+Position: 0
$Mission: SIRHomerun.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRAssault.fs2" ) )
( ( true ) ( next-mission "SIRHomerun.fs2" ) )
)
+Level: 2
+Position: 0
$Mission: SIRAssault.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRBroomhead.fs2" ) )
( ( true ) ( next-mission "SIRAssault.fs2" ) )
)
+Level: 3
+Position: 0
$Mission: SIRBroomhead.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRHastalavista.fs2" ) )
( ( true ) ( next-mission "SIRBroomhead.fs2" ) )
)
+Level: 4
+Position: 0
$Mission: SIRHastalavista.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRMeeting.fs2" ) )
( ( true ) ( next-mission "SIRHastalavista.fs2" ) )
)
+Level: 5
+Position: 0
$Mission: SIRMeeting.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRMeeting.fs2" ) )
( ( true ) ( next-mission "SIRCapture.fs2" ) )
)
+Level: 6
+Position: 0
$Mission: SIRCapture.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRCapture.fs2" ) )
( ( true ) ( next-mission "SIRLastSweep.fs2" ) )
)
-
My first guess would be that the campaign file isn't properly set to allow the player to proceed; more specifically, the author may have overlooked all possible outcomes of the mission that would allow the player to go on. It should be set to check that the goals are complete and a separate one to check for the Bonus goal, too, if the ending messages are separate.
Do you have a copy of at least one of the missions for download? If I can take a look, I may be able to help a little better.
-
+Level: 5
+Position: 0
$Mission: SIRMeeting.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRMeeting.fs2" ) )
( ( true ) ( next-mission "SIRCapture.fs2" ) )
)
Should be
+Level: 5
+Position: 0
$Mission: SIRMeeting.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRCapture.fs2" ) )
( ( true ) ( next-mission "SIRMeeting.fs2" ) )
)
With the old version no matter how many times you played or what you did you'd be sent back to the mission you'd just played cause they are the wrong way round.
BTW : It should be noted that you don't actually need to complete a single mission in this campaign correctly to advance to the next mission. I can only hope that Silent Warrior was doing something really advanced with persisent variables cause otherwise there may be nothing to stop you from simply jumping out the second the mission starts and going on to the next mission as if you had succeeded. (Give it a try if you don't feel like playing the mission again).
-
Level: 5
+Position: 0
$Mission: SIRMeeting.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRMeeting.fs2" ) )
( ( true ) ( next-mission "SIRCapture.fs2" ) )
)
Should be
+Level: 5
+Position: 0
$Mission: SIRMeeting.fs2
+Flags: 0
+Formula: ( cond
( ( true ) ( next-mission "SIRCapture.fs2" ) )
( ( true ) ( next-mission "SIRMeeting.fs2" ) )
)
I KNEW IT ^^
I thought as much, but I wasn't sure. Well, I might even start to understand FRED. But my first "mission" is to finish to translation of Revenge
-
If you actually look closely at the code it's pretty obvious that every single mission has the second condition name the mission you just played. This is the way FS2 makes you replay a failed mission.
For the 5th mission they've gotten reversed somehow and that's what gave you trouble.
-
The fix worked. Thanks
-
Sorry, that was my first campaign-stunt. I was hoping it was long forgotten by now. :) At least I learned SOMETHING from it.