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 - at the best of times, Kreia can be abrasive. 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 spare her:

    a. If they spare her, they will lose influence with Kreia for their lack of backbone.

    b. 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 Kreia, Atton, and the PC where they should spawn at the start of the spacing scene
  • Create scripts to spawn the characters at the start of the scene
  • Create a script to lower player influence with Kreia, and then (on a delayed timer) kill the PC at the end of the scene

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: Losing influence with Kreia (oh, and killing the PC)

Step 6: Enjoying our handiwork

Clone this wiki locally