Sign in to follow this  
JediArchivist

[WIP] KOTOR 2 Mira Romance Mod - Help Needed!

7 posts in this topic

This mod is intended to enable the male Exile in K2 to romance Mira.

 

It is comprised of:

- Modifications to Mira's dialogue file (dialogs.bif/Dialog/mira.dlg) --- 95% Done

Romance dialog lines added, the game only allows the Exile to pursue the romance if gender=male.

- Porting the animation from K1 where Revan and Bastila kiss - and have that scene in K2 with the male Exile and Mira! --- Done

I am working at identifying that script in K1, but i have no programming . scripting skills and i unfortunately have no idea how to port / make that scene trigger in K2.

Thanks to DarthParametric, i found out that the kiss scene was faked using a mod, i studied the bastila.dlg file from the mod and applied the same animations as there to get that effect. I got a totally different effect as intended, but that will do for now... Many thanks to DarthParametric for explaining where to find Bastila's dialogue file!

- Adding an entry in the Quests Log about the pursued romance with Mira --- Done

I will need to study the Quest Log Modding Tutorial.

Many thanks to LucasForums user Darth333 for his brilliant Tutorial, that can be found here: https://web.archive.org/web/20151010221351/http://www.lucasforums.com/showthread.php?s=&threadid=143372 This Tutorial was used to make this mod.

 

So far i have encountered some problems preventing me from finishing this mod:

- My edited .dlg file seems to break Mira's dialogue and i have no idea why... i opened and edited the file in Kotor Tool's Conversation Editor, i also re-opened and altered it in the standalone DlgEditor. Basically only part of the conversation is activated, and the conversation crashes when the conversation option which adds my custom replies is triggered and the conversation ends. I have no idea what is causing this, according to all dialog tutorials it should have no problems but id doesn't... I'm uploading my modded file here for you to test and see for yourselves what i mean. Just copy the mira.dlg file into your K2 Override folder!

This was solved using the standalone DLG Editor instead of the one bundled with Kotor Tool. Many thanks to JCarter426 and JC2  ,who helped greatly by pointing out the issues with the bundled dialog editor in Kotor Tool (it seems to corrupt the .dlg files) and recommending the standalone DLG Editor!

- I have no scripting knowledge and can't wrap my head around binding some scripts to the conversation:

1. Once the "Kiss me..." dialog line is triggered, the romance must be considered "enabled" and new dialogues should reflect that instead of just re-tracing the steps that "enabled" the romance.

2. Porting the animation / script from K1 where Revan and Bastila kiss - and have that scene in K2 with the male Exile and Mira - Done!

3. Modding the Quest Log, in order for it to reflect that the Exile is romancing Mira. - Done!

4. Optional: Have the other romanceable characters (Visas and the Handmaiden) somehow acknowledge the male Exile's romance with Mira - this requires scripting as well as editing their dialogue files (that I can do myself, but not the scripting and triggers).

 

I am looking for modders with Scripting and Dialog Editing skills to help me out wih this endevour...as in order for this to become a great mod i will need lots of help... If you know how to solve this please take a look at the bugged file, any help / advice is welcome!

 

 

UPDATE: Good News! I made a new mira.dlg file with DlgEditor and this one works perfectly!

Status update: I finished modding the .dlg file. I also used the same animations as in the K1 Bastila romance mod, although it had different results, but it works fine nonetheless!

The only thing i need help with now is if anyone knows how to edit a conversation to pop up a different line of dialogue after an event happened, as i have no scripting knowledge and can't wrap my head around the tutorials...

 

Many thanks go to: JCarter426, JC2, DarthParametric for the great advice and support!

 

*I'm uploading my modded dialogue file here for you to test for yourselves. Just download and copy the mira.dlg file into your K2 Override folder, and start a dialog with Mira in-game!

If You need a savegame for K2 where you have Mira on the Ebon Hawk to be able to talk to her, i also included that below!

 

mira.dlg

global.jrl

K2_Mira_EbonHawk_Savegame.zip

Share this post


Link to post
Share on other sites
1 hour ago, JediArchivist said:

Porting the animation from K1 where Revan and Bastila kiss

Isn't that just a fade to black in the vanilla game? I thought the kiss was a mod.

Edit: Yeah, here's the scene

K1_Vanilla_Bastila_Kiss_Scene_TH.jpg

There's a mod that adds in a different animation for Bastila and the PC (ANIMATION_LOOPING_TALK_PLEADING it would seem) and changes the camera angle in order to fake the kiss.

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, JediArchivist said:

My edited .dlg file seems to break Mira's dialogue and i have no idea why... i opened and edited the file in Kotor Tool's Conversation Editor, i also re-opened and altered it in the standalone DlgEditor.

KOTOR Tool doesn't support K2 dialogue files. My guess is trying to edit it at all with KOTOR Tool corrupted the file.

  • Like 1

Share this post


Link to post
Share on other sites
13 minutes ago, JCarter426 said:

KOTOR Tool doesn't support K2 dialogue files. My guess is trying to edit it at all with KOTOR Tool corrupted the file.

In addition, it doesn't work well with k1 files either, best bet is to use the dlg_editor found here

  • Like 1

Share this post


Link to post
Share on other sites

DarthParametric, i did not remember if the kiss with Bastila was in the original game or the result of a mod... I remember last time playing K1 on my iPad 3 about 2 years ago and the kiss scene was present as i recall...i probably installed the mod (since i used to mod the game even on IOS as well with all cool mods i could make work) and forgot about it... That simplifies things, i could just try to copy the animation and ita implementation from Bastila's .dlg file altered by the mod, as shown in Your post. Many thanks for clearing this out!

JCarter426 and JC2, thank You very much for Your useful insight! I will now definately re-edit the file from schratch, this time only with DLG Editor!

Can anyone tell me where exactly is Bastila's .dlg file located in K1... since K2 has the BIFs/dialogs.bif folder, and K1 has no such folder inside BIFs, and manually searching for the location of K1's dialogue files brought no results for me?

P.S.: I still need help with the scripting... I will update with what needs to be done after i remake the mira.dlg file with DLG Editor and take a look at how that Bastila Romance Mod changes the bastila.dlg file to fake that kiss...

Share this post


Link to post
Share on other sites
7 hours ago, JediArchivist said:

Can anyone tell me where exactly is Bastila's .dlg file located in K1.

It is k_hbas_dialog.dlg in BIFs -> templates.bif -> Dialog.

  • Like 2

Share this post


Link to post
Share on other sites

Thank You DarthParametric, i have been struggling to find that one for a long time!

 

UPDATE: I also figured i must mod the Quest Log, in order for it to reflect that the Exile is romancing Mira. I will search for a tutorial in that matter...

As soon as that is done i will upload a Beta version of the mod to the Files section!

 

UPDATE 2: Good News! I made a new mira.dlg file with DlgEditor and this one works perfectly!

Status update: I finished modding the .dlg file. I also used the same animations as in the K1 Bastila romance mod, although it had different results, but it works fine nonetheless!

 

UPDATE 3: More Good News! The first version of the mod is now live! I have uploaded it to the Files section, and it is awaiting verification and permission!

 

The only thing i need help with now is if anyone knows how to edit a conversation to pop up a different line of dialogue after an event happened, as i have no scripting knowledge and can't wrap my head around the tutorials...

Once the "Kiss me..." dialog line is triggered, the romance must be considered "enabled" and new dialogues should reflect that instead of just re-tracing the steps that "enabled" the romance.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this