1 Screenshot

About This File

Bastila Romance Scriptfix
for Kotor 1 (GOG/retail)
by Markus Ramikin
version 1.1

*******************
Readme contents
*******************

I. The bugs (SPOILERS)
II. The bugs - technical description
III. Installation
IV. Other mods
V. Old savegames
VI. Changelog
VII. Disclaimers and permissions.

*************************
I. The bugs (SPOILERS)
*************************

After you've kissed Bastila, you can have a final conversation with her where the romance gets put on hold "until Malak is defeated". Two later dialogs potentially have lines that bring up the romance. These dialogs have bugs:

First, confronting Evil Bastila on Temple Summit, on Rakata:
- if you've had that post-kiss conversation with her, the game will not recognize the romance, and you will miss out on certain dialog options.

Second, the final confrontation with Bastila on the Star Forge has an opposite problem:
- If you've sunk the romance completely, for example by saying "Sorry, Bastila, that starship won't fly", the game will mistakenly give you the romance dialogue option.

Of course Kotor 1 players have known for years that Bastila's romance is buggy, and several attempted fixes already exist. But these modify Bastila's dialog file from the Ebon Hawk conversations, so 1. they don't fix the second situation, on the Star Forge, and 2. they don't help a player whose savegame is already past the kiss+conversation part.

This modification fixes both situations directly. Now you will get romance-related dialogue options on Rakata and the Star Forge regardless of whether you've discussed the kiss with her afterwards, but you will not get these options if you've shot her down.

*************************************
II. The bugs - technical description
(you may safely skip this)
*************************************

The romance is controlled by the variable K_SWG_BASTILA. Once you've completed Bastila's plot it should have one of these values:
K_SWG_BASTILA = 12: kissed Bastila = romance active
K_SWG_BASTILA = 13: kissed Bastila AND talked afterwards = romance active
K_SWG_BASTILA = 99: romance sunk (or unavailable because the PC is female)

The Temple Summit dialog only recognizes the romance if the value is 12, which is why common advice to players is to not talk to Bastila after the kiss.

The Star Forge dialog only recognizes the romance if the value is greater than 12, which means it will mistakenly recognize it even if it's 99, and may fail to recognize it if you didn't talk to Bastila after the kiss.

To further complicate things, some of the Temple Summit dialog's endings run a script that sets the value to 13, even when it was 99. This mistakenly restores a killed romance for players who wanted to just stay friends.

My fixed scripts recognize the romance at values 12 and 13 in both dialogs, as well as prevent the mistaken reactivation when it was 99.

****************
III. Installation
****************

Unzip, copy the files from Override into your game's Override folder.

*****************
IV. Other mods
*****************

Compatible with any mod out there that doesn't modify the same script files, or redesign the romance too much (i.e. the K_SWG_BASTILA variable behaves the same way).

Compatible with K1R. At the time I'm writing this K1R contains a different Bastila romance fix, but that simply becomes irrelevant if my mod is present. Its changes to Bastila's dialog file neither hurt nor help.

For authors of mods that allow a female PC x Bastila romance: I provide a version of my fix that removes the gender check. "Use it well. Use it for good." ;) Players should note that this does NOT automatically make my fix compatible with such mods - it depends on how these mods are written. Consult the authors to be sure.

The mod was tested with the GOG version, and I expect it'll work fine with the old retail/CD versions too. I will not be testing the Steam version, and I make no guarantees about it at all. (PSA: Don't get gaming classics from Steam, kids - good old games are the speciality of Good Old Games, duh.)

********************
V. Old savegames
********************

Compatible with pre-existing savegames, including past the kiss+conversation on the Ebon Hawk, up until the Temple Summit confrontation with Dark Bastila.

Savegames from past the Temple Summit may fail to benefit from the fix fully, especially if your character's relationship with Bastila is supposed to be platonic.

*****************
VI. Changelog
*****************

1.0 -> 1.1:
- Players who were deliberately NOT romancing Bastila could still sometimes get romantic lines in the second confrontation, on the Star Forge. This is properly fixed now; there was one more offending script to take care of.
- [by request] added a variant without a gender check, so that this fix can (potentially) be used with mods that allow a female x Bastila romance.

************************************
VII. Disclaimers and permissions.
************************************

The usual stuff applies. The mod is provided as-is and with no guarantees; by installing it, you accept it may melt your computer, cause nuclear war, and hasten the heat death of the Universe.

Distribute freely, including incorporating it in your mods, as long as you give credit.


What's New in Version 1.1   See changelog

Released

Fix improved: now people who are "just friends" with Bastila won't mistakenly receive romantic dialog lines on the Star Forge. Note that you must use a savegame from before the confrontation with Bastila on Rakata.

Added an optional "no gender check" variant, in case anyone wants to incorporate it into a female PC x Bastila romance mod.

(1.1 reuploaded after rewriting the readme a little.)

  • Thanks 2



User Feedback

Recommended Comments

Has anyone played that with steam version and got no erros? After reading I got afraid lol

Never mind... just got trough that part, it works fine with steam version

Share this comment


Link to comment
Share on other sites

Yeah, I see the vanilla script is:

SetGlobalNumber("K_SWG_BASTILA", 13);

Just wanted to confirm whether any updates were required for the existing v1.0 scripts for K1CP.

Share this comment


Link to comment
Share on other sites
13 minutes ago, DarthParametric said:

@Markus Ramikin what are the specific changes in 1.1? A quick glance suggests only the addition of an empty k_punk_bastadd. The other scripts seem the same.

@DarthParametric Yeah, that's it. The vanilla k_punk_bastadd fires at the LS end of the first Bastila confrontation, and sets Bastila's plot variable to a romance value even when it shouldn't be. This is part of the reason the Star Forge conversation is bugged. Replacing it with a dummy script helps properly fix that SF conversation.

(Sorry if I confused you with reposting, was figuring out something about formatting)

Share this comment


Link to comment
Share on other sites

we have this mod and the "K1 Bastila Romance Glitch Fix 2.0" are both compatible or i just need one? also are any of this fixes included in the community patch?

Share this comment


Link to comment
Share on other sites
On 10/12/2023 at 5:38 AM, DarthParametric said:

Yes, this is included in K1CP, as stated in the readme.

The readme states that this is compatible with the Kotor 1 Restoration, not the Community Patch.

So I want to make sure:

Is this mod compatible with the Kotor 1 Community Patch ? 

Share this comment


Link to comment
Share on other sites
5 minutes ago, ZatroolMG said:

Is this mod compatible with the Kotor 1 Community Patch ?

As per K1CP's readme, this mod is already integrated. You don't need it if using K1CP.

Share this comment


Link to comment
Share on other sites
1 minute ago, DarthParametric said:

As per K1CP's readme, this mod is already integrated. You don't need it if using K1CP.

Oh well, didn't check K1CP's readme. My bad, and thank you!

Share this comment


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
Add a comment...

×   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.