Jump to content
The Dark Mod Forums

Support for GUI-based debrief


Frost_Salamander

Recommended Posts

I would definitely love to see something like this. It would be a great way to write a cliffhanger or lead-in to a subsequent FM, and I would have used this for A Good Neighbor were it an option at the time. 

Ideally, it should also allow for custom music to be played; different from the music played during the briefing

And yeah, when it comes to GUIs, simplicity is always best. These suckers are complicated and I have spent way too much time lately diving into these.

  • Like 1
Link to comment
Share on other sites

Official support within DM would be great, but I suspect it could be done now using something like this:

  • Create "go to location x" as the last objective in the mission. This is a "controlled by external script" objective.(assuming the last step in the mission is to go to a location)
  • At location x, create a triggle_multiple that calls a script
  • The script checks that all other objectives have been met. If so, display the GUI debrief page(s). Then, when the player finishes reading, set final objective to Complete. Mission will end.

This assumes it is possible to display an arbitrary GUI in the middle of a mission. For my WIP, I want a debrief, so I'll experiment with this.

  • Like 1
Link to comment
Share on other sites

4 minutes ago, joebarnin said:

Official support within DM would be great, but I suspect it could be done now using something like this:

  • Create "go to location x" as the last objective in the mission. This is a "controlled by external script" objective.(assuming the last step in the mission is to go to a location)
  • At location x, create a triggle_multiple that calls a script
  • The script checks that all other objectives have been met. If so, display the GUI debrief page(s). Then, when the player finishes reading, set final objective to Complete. Mission will end.

This assumes it is possible to display an arbitrary GUI in the middle of a mission. For my WIP, I want a debrief, so I'll experiment with this.

I did something like this for Hare in the Snare, although it plays a video instead of showing a GUI.

  • Like 1

TDM Community Github: https://github.com/thedarkmodcommunity

My fan missions: The Hare in the Snare, Part 1, 

The Lieutenant Series: In Plain Sight  High Expectations Foreign Affairs

Link to comment
Share on other sites

You dont have to be scared to create a gui, just put the gui-file in a folder, in the fm folder. And follow the guide on our wiki.

I only dont know how to show the gui after missions ending.

https://wiki.thedarkmod.com/index.php?title=GUI_Scripting_Language

Edited by freyk
  • Like 2

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Thanks @Frost_SalamanderI wanted to request this as well.

13 hours ago, joebarnin said:

This assumes it is possible to display an arbitrary GUI in the middle of a mission. For my WIP, I want a debrief, so I'll experiment with this.

Interesting idea. Should be possible.

https://wiki.thedarkmod.com/index.php?title=A_Full-Screen_Slide_in_Mid-Game

I have been thinking of making a campaign and then moving the finished objectives and loot etc. Over to the new map (if possible) and immediately end it. Between the 2 map files you can have a briefing, which would become sort of the debriefing.

Edited by datiswous
  • Like 1
Link to comment
Share on other sites

  • 11 months later...

Yes please: I've wanted something like this for a long time! One thing that always makes me sad in TDM is when a mission just... abruptly ends: Obviously every FM has an ending, but I never liked just transitioning to a stats screen as if nothing you did in the world mattered. I'd absolutely love a debriefing GUI just like the briefing one, where you can either have text or an image slideshow with music and voice-over which would be even better! Maybe some old FM's can be updated to use this too, I'd totally replay them just for that.

One additional idea: Since FM's with multiple endings are something I always wished for and would love to do myself, support for multiple debriefing GUI's would be ideal, so the kinds of objectives you completed can execute a different one or skip / add certain passages. Absolutely hope the team can consider this, should be just a GUI execution hook to implement it so why not :D

  • Like 2
Link to comment
Share on other sites

2 Ideas:

1. As a temporarly workaround would it be possibe to override the mainmenu_debriefing_video.gui file ? Since it's just a gui it might be possible to place a different kind of briefing gui there.

2. An idea is to place a debriefing button in the mission succes screen, so you can replay the debriefing.

Link to comment
Share on other sites

  • 2 weeks later...
4 hours ago, stgatilov said:

https://bugs.thedarkmod.com/view.php?id=6509

Which stages of debriefing (GUI and video) should happen first?

Is it possible for the mapper to choose which comes first?

  • Like 1

TDM Community Github: https://github.com/thedarkmodcommunity

My fan missions: The Hare in the Snare, Part 1, 

The Lieutenant Series: In Plain Sight  High Expectations Foreign Affairs

Link to comment
Share on other sites

22 hours ago, Frost_Salamander said:

Is it possible for the mapper to choose which comes first?

If that is made an option, it should be done for both the briefing and debriefing screens. Currently in every briefing I've seen, video comes before the text pages: It would be most consistent to do the same for the new GUI.

Link to comment
Share on other sites

  • 3 weeks later...

In the latest dev17026-10712, GUI debriefing is supported.
It works exactly the same way as GUI briefing.

It would be great if someone tries it 😉

For the nearest future, I'd like to support passing information from game script to GUI debriefing.
So that you could show different things in debriefing depending on what player did in the mission.

  • Like 1
  • Thanks 3
Link to comment
Share on other sites

Thank you for the lovely change! I wonder if anyone can let FM authors know about it: I think this is a great opportunity to update old FM's if their authors are still around and willing to... if anyone does maybe drop a mention here, I'll be happy to replay them for this addition alone.

Link to comment
Share on other sites

21 hours ago, stgatilov said:

For the nearest future, I'd like to support passing information from game script to GUI debriefing.
So that you could show different things in debriefing depending on what player did in the mission.

Is it already possible to pass information from the briefing to the mission? I don't think I ever saw this implemented apart from the starter-location selection.

 

18 hours ago, MirceaKitsune said:

Thank you for the lovely change! I wonder if anyone can let FM authors know about it: I think this is a great opportunity to update old FM's if their authors are still around and willing to... if anyone does maybe drop a mention here, I'll be happy to replay them for this addition alone.

TDM is currelently in early dev, maybe a bit soon to start implementing in missions? I think it's better to wait for beta, so no changes will be done to the system.

Edited by datiswous
Link to comment
Share on other sites

On 3/28/2024 at 10:43 PM, Frost_Salamander said:

Is it possible for the mapper to choose which comes first?

I could be wrong, but I think you could build a button-controled (de)briefing which shows a video on the last slide.

Edited by datiswous
Link to comment
Share on other sites

5 hours ago, datiswous said:

TDM is currelently in early dev, maybe a bit soon to start implementing in missions? I think it's better to wait for beta, so no changes will be done to the system.

Obviously the change will only work in last night's dev snapshot and onward. But missions can already start implementing this: It's just that older TDM versions won't see the debrief screen and only future players or dev users will enjoy them.

Link to comment
Share on other sites

7 hours ago, datiswous said:

Is it already possible to pass information from the briefing to the mission? I don't think I ever saw this implemented apart from the starter-location selection.

That is interesting question.
I think no?

In principle, I guess I can cover it as well.
If I want to expose persistent info from mission as gui vars, I can as well copy some gui vars into persistent info before mission.

  • Like 1
Link to comment
Share on other sites

Another thing, not sure if it's entirally related:

If you have a campaign, you might want to have different maps loaded depending what you do in the mission. Currently there's one specific order, but it would be cool if another map could be loaded. So you could get different debriefings, but also different followup missions based on that.

I don't want to derail the topic, so if needed this could be split into a new feature request.

Link to comment
Share on other sites

30 minutes ago, datiswous said:

If you have a campaign, you might want to have different maps loaded depending what you do in the mission. Currently there's one specific order, but it would be cool if another map could be loaded. So you could get different debriefings, but also different followup missions based on that.

Are you going to build two separate missions knowing that player will only see one of them?
I think this is "cool in theory", but in reality using such a feature requires tremendous amount of work from mapper, so nobody will use it.

Link to comment
Share on other sites

Ok, but you could also load all maps in your campaign, but in a different order.

Or you could make a copy of the map and change some things. So it doesn't have to be an entirally different mission (which indeed might be too much work).

So for example the first mission has an objective to place the plans to build a bridge over the river in a specific place. Then the next mission has that bridge (map1), or does not have that bridge (map2). Mapper only has to make a copy of the map and remove the bridge (and maybe a small amount of other things).

I just think that having only one specific order is pretty restrictive. But if it's a lot of work to implement it might not be worth it.

Edited by datiswous
Link to comment
Share on other sites

Another plausible scenario is where the player has a number of tasks/missions to complete but they can choose to do them in any order - giving the player a bit more agency,

Tied with this, you might want to be able to re-enter a mission - e,g, it's some sort of hub (memories of the 'Pocket Plane' in Baldur's Gate 2 come to mind).

Link to comment
Share on other sites

  • 2 weeks later...

As a matter of fact, I implemented passing info from briefing to game and from game to debriefing:

At some moment I think I should put this info to wiki...

This will be available in the future dev build.

P.S. By the way, you can also override which .map file to start, although I'm very skeptical that this feature is worth the trouble you'll get in maintainability. Small variations of the same map should be better implemented by writing the "main" game script.

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Sotha

      WIP mission name confirmed: "The Last Offering"
       
      · 5 replies
    • Sotha

      Today I started writing readables for my WIP mission.
      I wrote my usual text and then crammed it into AI and boom, high quality stuff comes out.
      I used to say that clipper is the mappers best friend, but now it seems it is more like "AI is the mappers best friend."
      · 2 replies
    • The Black Arrow

      Just saw further into 2.13 development, or is it 2.14? Anyway, proper Parallax Mapping...Absolutely fuck yes, please!
      · 2 replies
    • nbohr1more

      Happy Halloween! "Gem of Souls" is out:
       
      Psst, someone let Darkfate know...
      · 1 reply
    • The Black Arrow

      Is there a thread for "Moving Day 2: Look Who's Moving Now"? If not, could someone hint me on what is Dick's birthday? This mission is quite enjoyable on its disturbing creepy implications.
      · 3 replies
×
×
  • Create New...