This package requires at least Unity 6000.0.46f1

Demo Scene

There is a demo scene in HorrorEngine/AddOns/NPCCompanion/Scenes/NPCScene

The scene contains an NPC that will spawn at startup. The can interact and

image.png

Add an NPC to your scenes

Drag and drop the prefab NPCSpawnPoint located in HorrorEngine/AddOns/NPCCompanion/Prefabs/ into your scene.

Assign the prefab to Spawn on the NPCSPawnPoint component

image.png

There are 2 types of NPC included.

Creating your own NPC

Before creating a new NPC, make sure you import your NPC model correctly with its Rig set to Humanoid and using the correct Avatar.

image.png

It’s recommended (probably necessary) that your NPC shares the same rig than the main character. This ensures all equipped attachments, such as weapons, work in the same way for the NPC. If your NPC will use its own weapons, and you’re not planning to allow the player to transfer equipment to the NPC, this can be ignored.

A new NPC can be created using the New actor wizard located in the top bar Horror Engine→Wizards→New Actor

image.png