Jump to content
The Dark Mod Forums

Support for GUI-based debrief


Recommended Posts

I just stumbled across this comment from @stgatilov and was wondering if the GUI-based debrief was implemented.  Turns out is wasn't, so consider this an official feature request 🙂

My own requirements aren't terribly complicated - just the ability to either:

  • display a page or pages similar to the briefing
  • show just a custom image (e.g. a newspaper article or something)
  • display a readable like in the game (again the newspaper example works here).

Not sure if it should display before the stats screen or after?

I've only put about 2 minutes of thought into this, so I imagine others will have more to add.

Also, I'm scared of working with GUI files, so making it as simple as possible would be great (especially if it's just to display an image).

 

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

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.

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.

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.

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 1

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
Link to comment
Share on other sites

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.

×
×
  • Create New...