Skip to content

Add an AI controlled character

Continuing from adding a player character, we will now add an ai controlled character to the scene.

The steps are identical to adding a player character, with the exception that you will not toggle on the Controlled by Player switch.

Still in the Characters tab, click on the Create Character button once more.

Generate the ai controlled character

In the Create New Character dialog toggle on Enable AI Generation.

Then in the AI Generation Instructions field type in something like

The other worldly housekeeper, with a dark, horrible secret. Appearing like a peculiar man, his true form is horrid beyond imagination and not yet revealed to Annabelle.

You must include an attribute that describes his true form.

Tip

Make sure you include intructions for everything that is important for the character, LLMs are not great at generating something interesting by themselves, they will often go down tropes and cliches. So be specific and detailed, but not long winded.

Then leave everything else as is and click the Create Character button.

world-editor-create-npc-1

This will start the generation process, which may take a few moments and then the character will be added to the scene.

world-editor-create-npc-2

Refining the character

Unlike the player character, which is going to be controlled by a human being, its important to make sure the AI controlled character has all the information it needs to act in a way that is consistent with the scene and the story.

You should look over the Attributes and add / remove any that are not needed or missing.

There is more information on how to do this in the Character Editor section of the user guide.

However one thing that's always good to do is switch to Actor tab and generate some dialogue instructions. These will guide the AI on how to act and talk.

On top of the Acting instructions field is a Generate button, click on it to have the AI generate some instructions for you. You can then edit them as needed.

world-editor-create-npc-3

For our example it generated

Speak in a polite and cultured tone, punctuated with moments of chilling intensity. Elias enjoys wordplay and subtle threats, often veiled as quaint observations. His voice should be soft and measured, like velvet over steel. When discussing souls or his true form, let a hint of primal hunger seep into his words, a guttural undercurrent betraying the monster beneath.

Which seems good enough for our purposes.

Related Resources

Save the scene

world editor unsaved changes

Once you are happy with the character, click on the Save button to save the scene.