KotOR Modding 202: Let's Make a Complex Mod - lachjames/KotOR-Modding-Guide GitHub Wiki
Note: There are minor spoilers for KotOR 1 in this guide. But honestly, please play the games before modding them, as they're awesome :)
Introduction
What we're going to do
We are going to re-implement the Tatooine Temple, with the following features:
- Restored Tatooine Temple (based on the module from DeadlyStream
- A fully animated Sarlacc Pit
- A new NPC, the Caretaker of the Rakatan Temple
- A new questline where you can sacrifice NPCs to the Sarlacc Pit for dark-side loot
- Some new items as quest rewards
How we'll do it
There will be several components to this project, each of which will require some detailed work:
Restoring the Tatooine Temple
We are going to create a story mod for KotOR 1 based on the Tatooine Temple module, which was found in the game files by modders but not actually used in the game. The module, as it stands, has some issues that we're going to need to fix, including:
- Adding a skybox
- Fixing the walkmesh
Creating the Sarlacc Pit
The general consensus is that the big hole in the Tatooine Temple is where a Sarlacc Pit should have been. Since there is no Sarlacc Pit in the game files, we are going to have to create one. We will use the 3D model from the Sketchup 3D Warehouse (found here) as a base. We will need to:
- Import the model into Blender
- Animate the model
- Save it to mdl-ascii format
- Convert it from mdl-ascii to an mdl/mdx pair.
Creating a new NPC
The "Caretaker" is the sole occupant of the Ancient Rakatan Temple, who has looked after it for all this time. He is thousands of years old, with his life sustained by the dark side power of the Temple and through sacrifices to the Sarlacc Pit.
Creating the NPC will involve:
- Creating a new UTC template and instantiating it in the module
- Creating a dialog tree for the NPC
- Adding alien voicings to the NPC
Creating a new questline
We will create a quest, "Sacrifices to the Gaping Maw", which will involve finding NPCs in Tatooine and convincing them to meet you at the Tatooine temple. The following targets will be available for sacrifice:
- The Chieftain of the Sand People (you can convince them that there are more Krayt Dragon Pearls).
- The Jawa leader (you can mention that you found a large stash of valuable droid parts in the temple, and that you couldn't carry it all back with you).
- Sharina Fizark, the woman who is selling the Wraid Plate (you can tell her that you've found a stash of loot at the temple, and need someone to help you carry it back - you promise her credits for her troubles).
- Czerka Protocol Officer (you can tell them that you've found signs of valuable minerals in the Krayt Dragon's Lair, and that you believe it could be a nice place for Czerka to set up a mining operation).
- Griff (you can send him a message saying that you've found a cache of ancient Rakatan wine, aged for 10,000 years, and that you want a business partner).
The quest will involve the following phases:
- The player finds the Star Map after defeating the Krayt Dragon. When they get back on the Ebon Hawk, they receive an encrypted message from a mysterious treasure hunter. T3-M4 is able to decrypt the message using the Ebon Hawk's private security key (this is a reference to another planned quest, so stay tuned for that!). The message claims that there is more to the Krayt Dragon's lair than originally meets the eye, and that the player needs to dig under the Star Map.
- The player returns to the Krayt Dragon's Lair. There is a small mound of dirt behind the Star Map, which they can dig up to find a tunnel to the Buried Temple.
- The player walks through the passageway and through the cave system, and finds the Buried Temple. They meet the Caretaker, an ancient Rakatan Priest who is over 10,000 years old. He is sustained by the dark-side power of the Temple, and through sacrifices to the Sarlacc Pit (found in the central chambers of the temple). The priest says that he is growing weak, and will soon need to make sacrifices. He asks the player if they would be willing to find some sacrifices. The player asks why he can't just steal some Bantha and use them, but the priest says that sentience is required for the sacrifices to be valid (as while the Force permeates all things, it flows more heavily in sentient creatures, even non-Force sensitive ones).
- As the dark-side leg of this quest, the player can make as many sacrifices to the Sarlacc Pit as they want, as long as there are NPCs available to trick. When the player makes each sacrifice, they get a reward from the owner of the temple (discussed below).
- When the player has made three sacrifices to the temple, the temple owner regains full strength. He says that he can sense the power of the Force flowing through the player, and that their sacrifice will sustain him for another thousand years. He then attacks the player, and the player kills him.
- With his dying breaths, the priest tells the player that they must become the new Caretaker of the Temple after his death. For each NPC that the player sacrifices to the Sarlacc Pit, after the first three (which are used to sustain the priest), the player gains a +1 bonus to a chosen attribute. This might be a little OP, but in KotOR the player's already one-shotting most NPCs by mid-game so it's not a big deal. It might make the final boss battle easier, at least, which is a nice reward.
Creating new items
We will create some nice rewards for the player. The first three sacrifices to the Sarlacc Pit will yield the following three items (respectively):
- A Rakatan crystal, orange and with nice bonuses to strength and wisdom
- A Rakatan Je'daii Cloak, which provides moderate armor bonuses while permitting Force power use
- The choice between two different final bonuses:
- An ancient Rakatan Force channeler, which gives -5 to strength and +5 to wisdom.
- An ancient Rakatan Battlesaber, which gives +5 to strength but -5 to wisdom.
After the third sacrifice, the player will instead receive attribute bonuses for each sacrifice to the pit.