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

    • Ansome

      Taking a break to alleviate burnout. In retrospect, I probably shouldn't have jumped into a map-making contest so quickly after just finishing another project and especially with my busy schedule, but I do believe I have something that the community will enjoy. No clue if I'll be able to finish it on time for the competition if I factor in a break, but I'd rather take my time and deliver something of quality rather than engage in development crunch or lose part of the map's soul to burnout.
      · 1 reply
    • Skaruts

      Working on an update for my mission By The Cookbook. If anyone that played it has any further bugs to report, please let me know.
      I posted more details about the update in the mission thread.
      · 1 reply
    • lucien

      being thankful for tdm is a good feeling
      · 0 replies
    • The Black Arrow

      Happy birthday to me!
      Yes, today's my birthday and as much as I want to play The Dark Mod, I won't until it's late Autumn, where it should be a bit chilly in my place and there's some wind too.
      For now, it's time to enjoy my birthday, if any of you want to play a great fan mission in my honour...Well that's asking too much, just play the mission because it's fun, not because of me, enjoy it yourself! 💪
      · 5 replies
    • nbohr1more

      New texture wiki article created: https://wiki.thedarkmod.com/index.php?title=Creating_textures_from_Ornate_Photos
      · 11 replies
×
×
  • Create New...