Skip to main content
First, create the Data Assets that will define your NPC’s personality and your world’s lore. Feel free to take a look at the example data asset we used for the DemoLevel in the folder shown below. Data Asset Location NPC Personality Data Glade Core Pn
  1. Create an NPC Personality Data Asset:
    • In the Content Browser, right-click and go to Miscellaneous -> Data Asset.
    • Select NPCPersonalityData as the class. Name this asset in a way that makes sense for your game. (e.g., DA_Olenna_Personality).
    • Open the asset and fill out the fields:
      • Names: Add the character’s name. The first entry is used for the UI.
      • Lore Entries / System Instructions / etc.: Add various text snippets to define the character’s backstory, speaking style, and instructions for the AI. (you are welcome to follow the demo personality assets for guidance) NPC Personality Data Asset Name Prompt Personality Unreal Pn
      • Personality Emotions: You can statically adjust any of the 10 emotional values from 0 to 100 to tune each NPC. For Dynamic emotion adjustment, subscribe to Pro and reach out. NPC Personality Emotions Config
      • ElevenLabsVoiceID: If using ElevenLabs, enter the specific Voice ID string here.
      • PiperModelName: If using the local Piper TTS, enter the Piper Model Name but make sure you are downloading a voice you want to use as the plugin consists of 2 basic voices to start out with. There are 26 English voices (US/British) and a vast amount of other languages. NPC Personality Data Asset Voice Model Config Pn
        1. Go into Project Settings -> Plugins -> GladeTTS and you will be able to download, delete, and change the Piper voice model there. Choose a Piper model from this list of Piper models and press Download and Import to have it ready to use. Then you can just input the Piper Model Name you downloaded back into the input section shown in the previous image (NPC Personality Data Asset). Piper Model Importer Unreal Pn
        2. Custom models will be available soon for Pro, Enterprise and Business subscribers (custom training and hugging face models). If you want to train your own custom model, Download and Import with your own ONNX and onnx.json links in the same format.
  2. Create a World Lore Data Asset:
    • Create another Data Asset, but this time select WorldLoreData as the class. Name it (e.g., DA_World_Lore).
    • Open the asset and add LoreEntries containing common knowledge that all NPCs should be aware of.
UE World Lore Data Pn