Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: FreeSpaceFreak on November 17, 2008, 12:30:06 pm

Title: Campaign end on player death?
Post by: FreeSpaceFreak on November 17, 2008, 12:30:06 pm
So, I want a campaign to end when the player dies. But the end-campaign SEXP plays the detonation of Capella and Petrarch's speech cutscenes.

Is there any way around this?
Title: Re: Campaign end on player death?
Post by: karajorma on November 17, 2008, 12:45:51 pm
Not easily. At the moment there is no way to turn off the debriefing from within the mission. If there was you could easily do it in the campaign file but at the moment you're kinda screwed by the fact that you'll get a debrief.

If you're willing to completely lose them from that mission then using the campaign end-mission option will work.
Title: Re: Campaign end on player death?
Post by: Mobius on November 17, 2008, 01:28:20 pm
Maybe you can circumvent the problem...

You may have a debriefing reporting the player's death and then a cutscene mission(credits and/or commemoration) with no debrief. I'm not sure, though.
Title: Re: Campaign end on player death?
Post by: FreeSpaceFreak on November 17, 2008, 01:46:03 pm
The mission has no debriefing by default (meaning, in Mission Specs, "no debrief" is checked). But other missions will follow after it, if the player survives this one. Only if the player dies here, the campaign should end.

Kara, what is "the campaign end-mission option"?
Title: Re: Campaign end on player death?
Post by: karajorma on November 17, 2008, 01:48:35 pm
In the campaign editor not the Events Editor.
Title: Re: Campaign end on player death?
Post by: FreeSpaceFreak on November 17, 2008, 03:13:07 pm
Okay, I'll try that. Thanks in advance!
Title: Re: Campaign end on player death?
Post by: General Battuta on November 17, 2008, 04:41:48 pm
So is this a scenario where if the player dies the campaign ends, but if they don't die the campaign proceeds?

That sounds wildly aggravating. Thank goodness for the tech room!
Title: Re: Campaign end on player death?
Post by: eliex on November 17, 2008, 11:47:25 pm
That's pretty cool. If the player gets told about it before hand, they will really play it as if they were a real pilot in 2335.  :)
Title: Re: Campaign end on player death?
Post by: karajorma on November 18, 2008, 01:14:58 am
So is this a scenario where if the player dies the campaign ends, but if they don't die the campaign proceeds?

That sounds wildly aggravating. Thank goodness for the tech room!

It depends on how it's done. If we're talking about a mission where the player gets to make a choice between a heroic death and living to play a few more missions it might work as the death would be a natural campaign ending point.

On the other hand if we're talking about "Die in this mission and you have to start the whole thing again!" then we're taking the express train to ****ty town.
Title: Re: Campaign end on player death?
Post by: Vidmaster on November 18, 2008, 02:39:39 am
well, if you are looking for a campaign that lets the player die ingame and advance to the next mission afterwards (even if the next mission is just the credits), play my DarkChildren for TBP.
There, you die at the end.
Title: Re: Campaign end on player death?
Post by: FreeSpaceFreak on November 18, 2008, 11:15:57 am
So is this a scenario where if the player dies the campaign ends, but if they don't die the campaign proceeds?

That sounds wildly aggravating. Thank goodness for the tech room!

It depends on how it's done. If we're talking about a mission where the player gets to make a choice between a heroic death and living to play a few more missions it might work as the death would be a natural campaign ending point.

On the other hand if we're talking about "Die in this mission and you have to start the whole thing again!" then we're taking the express train to ****ty town.
It's... somewhere in between :nervous: But you can always go to the campaign room and retry the mission you died in, no? Anyhow, there are no missions following the player's death.
Title: Re: Campaign end on player death?
Post by: karajorma on November 18, 2008, 11:24:50 am
Once a campaign ends the only way to play it via the ready room is to restart it. You can play the missions in the tech room individually but even then you can't progress, see cutscenes or even actually play missions after the one you died in (unless you use CTRL + SHIFT + S to expose them).

NB. The FS2 main campaign did not end. That is why you can replay the last mission. :v: deliberately left the campaign unended so you could see the other ending.
Title: Re: Campaign end on player death?
Post by: Herra Tohtori on November 18, 2008, 11:34:31 am
Make an ending cutscene that replaces the FS2 ending video in your campaign! ;7
Title: Re: Campaign end on player death?
Post by: Goober5000 on November 18, 2008, 11:42:34 am
So, I want a campaign to end when the player dies. But the end-campaign SEXP plays the detonation of Capella and Petrarch's speech cutscenes.

Is there any way around this?
This is only supposed to happen if the active campaign is the default FreeSpace2 campaign (in SCP anyway).  Otherwise it's a bug.
Title: Re: Campaign end on player death?
Post by: FreeSpaceFreak on November 19, 2008, 02:18:39 pm
Once a campaign ends the only way to play it via the ready room is to restart it. You can play the missions in the tech room individually but even then you can't progress, see cutscenes or even actually play missions after the one you died in (unless you use CTRL + SHIFT + S to expose them).

NB. The FS2 main campaign did not end. That is why you can replay the last mission. :v: deliberately left the campaign unended so you could see the other ending.
Oh... hmm... Perhaps I shouldn't do it then...

Make an ending cutscene that replaces the FS2 ending video in your campaign! ;7
:shaking:

This is only supposed to happen if the active campaign is the default FreeSpace2 campaign (in SCP anyway).  Otherwise it's a bug.
Well, the SEXP description kinda says that it's for use by the default campaign only. It's just not stated very clearly IMHO, which is why I tried it :D
Title: Re: Campaign end on player death?
Post by: Mobius on November 21, 2008, 11:13:06 am
When a SEXP description says "should" you must follow its hint instead.