Skip to content

KotOR Modding 102: Let's Space Kreia

Lachlan O'Neill edited this page Sep 22, 2020 · 5 revisions

Note: There are minor spoilers for TSL in this guide. But honestly, please play the games before modding them, as they're awesome :)

Introduction

Let's face it - Kreia can be a bit... abrasive at times. The PC threatens to dump her as soon as they get off Peragus, but we never actually had the chance to act on this threat... until now. In this tutorial, we're going to make a mod that allows us to throw Kreia out the airlock. We'll keep it simple for now, and avoid complex things like camera movements and quests.

There is a collection of save games on DeadlyStream, which I recommend downloading. Make sure you load a save from before you first enter the Ebon Hawk (so right before leaving Peragus is your best bet).

What we're going to do

The mod will be quite straightforward and linear, and will work as follows:

  1. The PC will start a dialog with Kreia, and threaten to throw her out the airlock.
  2. Kreia will warn the PC that they should not make threats unless they have the backbone to act on them.
  3. If the player decides to back their threat with actions, Atton, Kreia, and the PC gather at the airlock
  4. The player, and Atton, say some "goodbyes".
  5. The player has a final chance to space Kreia. 5.1. If they spare her, they will lose influence with Kreia for their lack of backbone. 5.2. If they go through with it, they will receive a notification that they have lost influence with Kreia (as killing a person is wont to do). They will then die shortly after, due to the life link between the PC and Kreia.

Features we're going to leave until Modding 202:

  • It would be great to see Kreia floating in space, but we'll leave that until the next tutorial.
  • We won't actually do anything via scripting except moving characters into place, and killing the PC at the appropriate time (although we could do all sorts of things).

How we'll do it

We will have to accomplish the following:

  • Edit Kreia's dialog on the Ebon Hawk, adding the option to threaten her with an old-fashioned spacing
  • Create a new dialog for the spacing scene
  • Create markers for all the players
  • Make sure we only play dialog from characters who are on the Ebon Hawk (for example, if the spacing is triggered right after Peragus, we shouldn't find HK in the party unless he's been cheated in).

Step 1: Editing Kreia's dialog

Step 2: Creating a new dialog for the spacing scene

Step 3: Creating positions for Kreia, Atton, and the PC

Step 4: Moving them into position at the start of the spacing scene

Step 5: Killing the PC

Step 6: Enjoying our handiwork

Clone this wiki locally