Jump to content
The Dark Mod Forums

Recommended Posts

Posted

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

Posted

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

Posted (edited)

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

Posted

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

Posted
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

Posted

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

Posted

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

Posted

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
Posted

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

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

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

    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
    • jivo

      I just uploaded a new version of the Visible Player Hands mod. It's been updated for TDM 2.13 and has new animations. Check out the post if you're interested!
      · 0 replies
    • datiswous

      I moved from Manjaro Linux (rolling release) to Linux Mint (LTS). One of the reasons was that I found the updates a bit too often and long. But now on Mint I get updates every day, although they're usually small updates.
      · 6 replies
    • JackFarmer

      "Hidden Hands: Vitalic Fever" - new update available including subtitles & compressed briefing video (thanks to @datiswous) and several fixes.
      · 0 replies
×
×
  • Create New...