Sophia Leigh setup - Tomb-Raider-Level-Editor/Tutorials GitHub Wiki

Written Kubsy

This tutorial will consists of 2 parts:

  1. Sophia Leigh setup – Original way known as “Tower mode” (using nullmeshes)
  2. Sophia Leigh setup – Normal mode (behaving like a normal enemy)

Let’s get started.

Sophia Leigh Original “Tower mode” setup

For this way to work you need to have:

The 1st we will do is to setup our map. So create new rooms (or create a new level if you wish) and start building your room. I have designed my room like this:

user59950_pic16245_1686140945

Now place Sophia and Lara at the opposite end of the room. Like in the screenshot.

Now you can start placing your AI_X1 nullmeshes. So place each nullmesh whenever you like and start numbering them from 0 to n where n is the number of nullmeshes you have placed.

In my case I have placed 5 nullmeshes, each are numbered from 0 to 5 respectively.

user59950_pic16246_1686140945

The last thing you also need to do is to give Sophia OCB 1 number (Very important as Sophia will have unexpected behaviour if she does not have OCB 1)

user59950_pic16248_1686140954

Now Sophia should work, so whenever you are ready. Press build and play and test.

https://streamable.com/f94ovd

Very important note: In TR3, Sophia was hardcoded to be killed by a shatter, (heavy triggering electricity) and had unlimited health. In TEN, ALL Sophia hardcoded aspects have been removed including her unlimited health. This was done to allow user to customize her behaviour via Lua, and design the way she dies in their levels.

Sophia Leigh “Normal mode” setup

This is a new mode introduced to Sophia in TEN. In this mode, Sophia will just follow Lara like a normal enemy, and she will not have her knockback effect. This is useful if you want to design Sophia to have clones of herself to attack you at once for example.

To set this up: All you need is to place Sophia in a room and put OCB 0 in her:

user59950_pic16247_1686140945

The final results:

https://streamable.com/9imo2r