Sign in to follow this  
nonameperson66

TSLRCM 907mal Cutscene Logic

Recommended Posts

Hello everyone. I have made some more progress on my mod to port the extended scenes from TSLRCM to the Kotor 2 Unofficial Patch mod. I am stuck, however, at trying to get the party members attacking Kreia scene (907krepart.dlg I think) to play. After completing the Bao-Dur Remote, GOTO, and HK scene, the game loads into the 907mal module, but there is a black screen and the cutscene never starts. I was wondering if anyone could help me understand the way that TSLRCM knows what cutscene to play and when. I know that there is a global variable called '907MAL_CUTSCENE' that is created at the start of 907mal, but I don't understand how the module is using that global variable to know when to play the correct scene. Any help with this would be greatly appreciated!

Share this post


Link to post
Share on other sites

If you're talking about a cutscene playing when loading a module, then the two avenues are either the module's OnEnter script (defined in the ARE and/or IFO), or the OnEnter script of a trigger placed over the module's entry point (script defined in the UTT, placement in the GIT).

The former is

https://github.com/KOTORCommunityPatches/Vanilla_KOTOR_Script_Source/blob/master/TSL/TSLRCM/Modules/907MAL_Malachor_V_Trayus_Core_(cutscene)/k_907_enter.nss

which looks like what you want.

Share this post


Link to post
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.

Sign in to follow this