Jump to content
The Dark Mod Forums

[resolved] Outro Video not playing since 2.10


SeriousToni

Recommended Posts

My Outro video if I finish my FM isn't playing anymore since 2.10 at least. Have there been changes made in this version or maybe 2.09 on how Outro videos need to be setup?

Can I check all my objectives if I test my FM via console so that I don't need to play through manually for testing?

Thanks for any help!

  • Like 1

"Einen giftigen Trank aus Kräutern und Wurzeln für die närrischen Städter wollen wir brauen." - Text aus einem verlassenen Heidenlager

Link to comment
Share on other sites

There is a script object to alter the objective state

setObjectiveState(1, OBJ_COMPLETE);
setObjectiveState(2, OBJ_COMPLETE);
:
:
:

If you do this for all the objectives (so until the number corresponding to the amount of objectives you have) the mission should end. There may also be a console command to finish the mission, but I am not certain about that.

Regarding the outro: Are there any hints in the console that may give a clue on what is going on?

  • Like 1

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Thanks for that, I'm not quite sure how to use this script but I load a savegame and finished the mission quickly with notarget.

The console doesn't print something useful, except there's a GUI problem. Can you read anything Outro Video Related to this?
 

MISSION COMPLETED                                                              
Saved Mission 1 Final Save                                                     
idSessionLocal::StopRecordingRenderDemo: not recording                         
--------- Game Map Shutdown ----------                                         
ModelGenerator memory: 12 LOD entries with 7 users using 1569 bytes, memory    
saved: 3170 bytes.                                                             
WARNING:idClipModel::FreeTraceModel: tried to free uncached trace model        
(index=0)                                                                      
--------- Game Map Shutdown done -----                                         
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window                        
'QuitGameDialogAskEverytimeOption' has value count unequal to choices count    
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window 'ColorPrecision' has   
value count unequal to choices count                                           
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window 'OpenDoorsOnUnlock' has
 value count unequal to choices count                                          
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window 'InvPickupMessages' has
 value count unequal to choices count                                          
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window 'HideLightgem' has     
value count unequal to choices count                                           
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window 'BowAimer' has value   
count unequal to choices count                                                 
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window 'FrobHelper' has value 
count unequal to choices count                                                 
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window 'showTooltips' has     
value count unequal to choices count                                           
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window 'MeleeInvertAttack' has
 value count unequal to choices count                                          
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window 'MeleeInvertParry' has 
value count unequal to choices count                                           
WARNING:idChoiceWindow:: gui 'guis/mainmenu.gui' window 'SCGeneralBind5' has   
value count unequal to choices count                                           
]condump outro.txt                                                             
Dumped console text to outro.txt.          

 

✏️ -- EDIT:
The video file is there in my folder /video and has .roq format. I also just double checked!

Edited by SeriousToni
additional note
  • Like 1

"Einen giftigen Trank aus Kräutern und Wurzeln für die närrischen Städter wollen wir brauen." - Text aus einem verlassenen Heidenlager

Link to comment
Share on other sites

Part 2:

I've also checked that besides the video exists and the "music", it is written in my mainmenu_custom_defs.gui

As I said, I didn't change anything here. It must have stopped working with a TDM update. Are .roq files still supported?

Here's the relevant content og my mainenu gui file

/* ---------------------------------------------------------------
 *
 * DE-BRIEFING VIDEO DEFINITIONS (<== yes, DE-briefing, briefing is handled above)
 *
 * If you're setting up de-briefing videos, these are the settings you need to change.
 * These settings are not limited to campaigns, single-missions can have debriefing 
 * videos as well.
 *
 * The MM_DEBRIEFING_<N>_VIDEO_SOUND_CMD lines define the soundshaders 
 * to be played during the de-briefing videos.
 *
 * Important: The syntax is "music YOURSHADER;", the "music" part is important
 * and should not be deleted, neither the trailing semicolon. 
 * This is the actual GUI command issued to the C++ code.
 *
 * Each mission has its own sound cmd, the first mission has number 1.
 *
 * --------------------------------------------------------------- */

/**
 * These define the window coordinates for your debriefing video(s).
 * The default is 0,0,640,480, which is full screen.
 */
#define MM_DEBRIEFING_VIDEO_TOP_X 0
#define MM_DEBRIEFING_VIDEO_TOP_Y 0
#define MM_DEBRIEFING_VIDEO_WIDTH 640
#define MM_DEBRIEFING_VIDEO_HEIGHT 480

// Defines the material colour of the debriefing video windowDef
#define MM_DEBRIEFING_VIDEO_MATCOLOR 1,1,1,1

#define MM_DEBRIEFING_1_VIDEO_MATERIALS "video/pens_outro;"
#define MM_DEBRIEFING_1_VIDEO_LENGTHS "14000;"
#define MM_DEBRIEFING_1_VIDEO_SOUND_CMD "music kneipe_ending;"

 

  • Like 1

"Einen giftigen Trank aus Kräutern und Wurzeln für die närrischen Städter wollen wir brauen." - Text aus einem verlassenen Heidenlager

Link to comment
Share on other sites

28 minutes ago, nbohr1more said:

Does this happen for both uncapped and capped FPS modes?

( Yes, ROQ is still supported. )

It happens in both, uncapped an capped that the video isn't playing.

"Einen giftigen Trank aus Kräutern und Wurzeln für die närrischen Städter wollen wir brauen." - Text aus einem verlassenen Heidenlager

Link to comment
Share on other sites

The file states, that the code you have altered is deprecated and therefore shouldn't be used anymore. You have to alter the above code (after uncommenting it). You may notice that the naming has slightly changed. I assume that this is due to the gui refactoring @stgatilov worked on.

 

EDIT: Try this

mainmenu_custom_defs.gui

  • Like 1

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Maybe I didn't notice that message because I still use the 'old' file then. I'll have to open a 2.10 gui file and see if I manage to update my old one with this properly. Thanks for pointing that out. I'm sorry I didn't come up with this check myself. I'll have a look and reply here if it works. Thanks again!

"Einen giftigen Trank aus Kräutern und Wurzeln für die närrischen Städter wollen wir brauen." - Text aus einem verlassenen Heidenlager

Link to comment
Share on other sites

Yes, the debriefing thing was changed during The Great Main Menu GUI Refactoring 😁

We updated the mission in FM database, but you are most likely looking at your own local version which is not compatible with the new engine. Download mission from in-game and take gui directory from there (perhaps compare with you local state using WinMerge).

  • Like 2
Link to comment
Share on other sites

Resolved. There's some new lines of code added and commented by stgatilov that duplicate the old code but a little bit further up in the file mainemenu_custom_defs.gui which I needed to add to my local version. Downloading the ingame downloader version and copying over these lines resolved the problem and the video is shown once again.

Thank you very much @stgatilov and @Obsttorte for finding the solution.

"Einen giftigen Trank aus Kräutern und Wurzeln für die närrischen Städter wollen wir brauen." - Text aus einem verlassenen Heidenlager

Link to comment
Share on other sites

  • SeriousToni changed the title to [resolved] Outro Video not playing since 2.10

You are welcome.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

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.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...