Skip to content

KotOR Level Editor: Instantiating Templates

Lachlan O'Neill edited this page Sep 21, 2020 · 1 revision

General modding workflow

A large part of making a good mod is placing template instances throughout your scene. The KLE provides a visual, 3D interface for this.

Necessary windows

For this tutorial, you'll need to open the following windows:

  • KotOR -> Instance Editor
  • KotOR -> Template Picker

Introduction

In this tutorial, we are going to add some rubble and scenery to the tutorial level on the Ebon Hawk. We'll also add some

Picking a template type

In the template picker, at the top, there is a dropdown where you can select the type of template you want to instantiate. Since we're adding rubble (a placeable), select PLACEABLE from this dropdown.

Choosing a template location

Templates can be from the base game (in the templates BIF file), from the module folder, or from the override folder; there's a corresponding tab for each of these locations in the template picker. if you don't care where they're from, you can click the ALL tab to see every template available in a particular module, from any possible source.

In our case, we're going to load the rubble template from the base game, so click the Base tab.

Searching for objects

Below the tabs, there's a textbox you can type into, which will narrow down the options to only those containing your search string. Search for "rubble", and you'll find a rubble placeable template.

Instantiate the object

Position the scene camera to point down towards the ground, in the place you want to instantiate your rubble. Then click on the template name in the Instance Editor window, and an instance of that template will appear on the ground in front of the center of the scene view camera's view.

Move and rotate the rubble

Instantiate more rubble

Instantiate some friends

Clone this wiki locally