Sophia Leigh setup - Tomb-Raider-Level-Editor/Tutorials GitHub Wiki
Written Kubsy
This tutorial will consists of 2 parts:
- Sophia Leigh setup – Original way known as “Tower mode” (using nullmeshes)
- 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:
- Sophia leigh in your wad (SOPHIA_LEIGH_BOSS)
- AI_X1 nullmesh
- Modified ENERGY_BUBBLES (you can find them here: https://github.com/TombEngine/Resources by downloading Sophia Leigh wad pack)
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:
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.
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)
Now Sophia should work, so whenever you are ready. Press build and play and test.
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:
The final results: