> For the complete documentation index, see [llms.txt](https://munubera-dev.gitbook.io/munubera-dev-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://munubera-dev.gitbook.io/munubera-dev-docs/english/using-and-configuring-the-framework.md). Agents can also search and read this documentation through its [MCP server](https://munubera-dev.gitbook.io/munubera-dev-docs/~gitbook/mcp).

# Using and Configuring the Framework

Now create your first dialogue with the framework.

To get started:

1. Right-click in the Content Browser.
2. Go to:\
   📂 Miscellaneous → Data Table<br>

   <figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2FxKzFuy6QwMCnYqiXBPev%2Fimage.png?alt=media&amp;token=83fe1d4d-195d-4c1c-a123-7523d9f75d87" alt=""><figcaption></figcaption></figure>

#### Creating the Data Table

After creating the **Data Table**, Unreal Engine asks you to select a **Structure (Struct)**.

> ⚠️ **Important**
>
> The **Dynamic Dialogue Framework** works **only** with the **`ST_DynamicDialogue`** structure.
>
> Any other structure prevents the system from working correctly.

**Always select:**

`ST_DynamicDialogue`

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2Folh2o1BYmhD7tFFwRBOJ%2Fimage.png?alt=media&amp;token=e0ee4d56-e764-4ca0-ae72-a2124959e032" alt=""><figcaption></figcaption></figure>

4. After selecting the Struct, name your Data Table.

This tutorial uses:

📌 DynamicDialogue\_Test<br>

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2F3EXngtDka6EDAnOXDx3y%2Fimage.png?alt=media&amp;token=0795e1e6-8e68-499e-8111-dcdf762525c9" alt=""><figcaption></figcaption></figure>

<p align="center">⚡ You can use any other name.</p>

***

<h2 align="center">Creating Dialogue Lines</h2>

Open the Data Table after naming it. Then create your dialogues.

In the Data Table:

1. Click:\
   📌 Add<br>

   <figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2FBYPQF49aafePbEIBj5cI%2Fimage.png?alt=media&amp;token=f6de1373-48b1-4ad7-8d70-41ff259bc5f2" alt=""><figcaption></figcaption></figure>

⚡ Add as many dialogue lines as you need.

2. Clicking **Add** creates a new row in the table.

Each row represents one dialogue line in the framework.

***

<h2 align="center">Dialogue Row Settings</h2>

After creating the first row, you can access the main dialogue settings.

Configure:\
• Player Dialogue\
• AI Dialogue\
• Delays\
• Voice Sounds\
• Languages\
• Speaker Tags\
• Subtitle Settings\
• And more

⚡ Each row works as an independent dialogue within the framework.

***

<h2 align="center">Dialogue Settings</h2>

#### Dialogue Exchange Delay

Defines the time between dialogue lines during playback.

**Recommended minimum value:**

📌 **0.3**

> ⚠️ **Important**
>
> Do not use values below **0.3**. The **Dynamic Dialogue Framework** uses this minimum to synchronize lines, events, animations, and internal processes.
>
> Lower values can cause unexpected behavior, synchronization failures, and dialogue bugs.

In most cases, **0.3** provides fast, smooth, and stable dialogue transitions. Use higher values for a slower pace.

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2FZKPRoMJNXR3fdejdenee%2Fimage.png?alt=media&amp;token=cde6e0cb-14a0-491c-a7fd-c5c51f0d52eb" alt=""><figcaption></figcaption></figure>

***

<h2 align="center">📂 CurrentDialogueDataAsset</h2>

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2Fnh28n6yIxnmkoaKTiGlO%2Fimage.png?alt=media&amp;token=85cb1d61-d497-4a40-9223-448c11f95d3f" alt=""><figcaption></figcaption></figure>

#### Dialogue Data Asset

> ⚠️ **Important**
>
> **Do not fill in this field.** It **must remain empty**.
>
> The **Dynamic Dialogue Framework** sets the **Dialogue Data Asset** when dialogue initializes. This makes it available throughout the system.
>
> Filling in this field can cause unexpected behavior and affect the framework.

✅ **Always leave this field empty.** This is **required** for correct system operation.

***

<h2 align="center">Dialogue Speakers</h2>

Below **Dialogue Settings**, the **Dialogue Speakers** section defines each conversation participant's lines.<br>

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2FLpAO1hRhCe8brb3RFzfo%2Fimage.png?alt=media&amp;token=bae48528-a9a2-4f95-87be-bb5ab1c9d306" alt=""><figcaption></figcaption></figure>

Each entry represents a **Speaker (Character)**. It can contain all dialogue-related information:

* Dialogue text;
* Audio (Voice Lines);
* Events;
* Animations;
* Facial expressions;
* All other **Dynamic Dialogue Framework** features.

> 💡 **Note**
>
> Each character has its own section. Expand **Dialogue Speaker 01**, **Dialogue Speaker 02**, or another Speaker to configure their dialogue details.

***

<h2 align="center">Languages</h2>

The **Dynamic Dialogue Framework** natively supports multiple languages. Configure text and audio for each supported language.

In **Dialogue Speakers**, define:

* 🌐 The system's primary language;
* 💬 Dialogue text for each language;
* 🔊 Corresponding audio for each language;
* 🎙️ The character or voice playing the line.<br>

  <figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2FIRlUFKRkRZvu5XlbbEkv%2Fimage.png?alt=media&amp;token=c909cf29-5984-41a8-a930-f655fc727069" alt=""><figcaption></figcaption></figure>

#### Supported Languages

This project example configures:

* 🇧🇷 Portuguese
* 🇺🇸 English
* 🇪🇸 Spanish

> ⚠️ **Important**
>
> Add **only one entry per language**. The framework uses only the **first entry** found. Multiple entries for the same language can cause unexpected behavior.

> 💡 **Note**
>
> Each language can have its own text and audio file. This enables independent dubbing for every supported language.

✅ During dialogue playback, the framework selects the correct **text** and **audio** for the primary language.

***

<h2 align="center">Dialogue Speaker Identifier</h2>

This is one of the **most important** **Dynamic Dialogue Framework** settings. It determines **where the character voice plays from** during dialogue.

#### DialogueSpeakerTag

The **DialogueSpeakerTag** field defines the **Tag** used to find the Actor that plays the line.

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2Fb2XG8yO1hAUryz7PC2LI%2Fimage.png?alt=media&amp;token=b2dd4ec7-37df-4794-9af9-ff0c47f7169f" alt=""><figcaption></figcaption></figure>

The example above uses:

📌 `Player_Test`

During dialogue playback, the framework searches for an Actor with this Tag. It then plays this Speaker's audio from that Actor.

#### Configuration

1. Create a **Tag** for the speaking character or AI.
2. Set the same Tag in **DialogueSpeakerTag**.
3. Add the exact same Tag to the **Character**, **Pawn**, **NPC**, or other Actor playing the voice.

> ⚠️ **Important**
>
> The **DialogueSpeakerTag** value must exactly match the Tag on the Unreal Engine Actor. Without a matching Actor, the framework cannot find the voice source.

***

<h3 align="center">Sound Attenuation</h3>

Below it is the **Sound Attenuation** field.

Set a **Sound Attenuation Asset** to control spatial audio behavior:

* 🔊 Maximum hearing distance;
* 📉 Gradual volume reduction;
* 🎧 3D audio (Spatialization);
* 🌍 Sound range and propagation;
* ⚙️ Other advanced Unreal Engine audio settings.

Appropriate **Sound Attenuation** makes dialogue more realistic. Voice perception changes with the distance between player and character.

💡 **Recommendation:** Always use a **Sound Attenuation Asset** for more immersive, natural sound.

***

<h2 align="center">🚀 Update V1.0.2 – Per-Dialogue Animations</h2>

Version **1.0.2** adds individual animations for each dialogue line.

The **Player** and **AI** can now play different animations for each line. This creates more dynamic, cinematic conversations.

Each Data Table entry includes:

📌 **Conversation Animations**

Set one or more animations to play when that dialogue line runs.

Each line can have its own animation. Create unique gestures, reactions, and behaviors throughout the conversation.

***

<h2 align="center">🏷️ How the System Identifies the Animation Actor</h2>

Animations use the same identification system as dialogue lines.

The framework finds an Actor with the matching **Tag** and plays its animation.

Correct Tag configuration is essential.

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2Fh0VVFO4m2WMFKNZRmrM0%2Fimage.png?alt=media&amp;token=31f113ed-178f-4fb5-84ec-732c15c049b8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2F6W69E9rsjOOqLNmkcFS0%2Fimage.png?alt=media&amp;token=f6da7434-9083-4ddd-9231-468a20efc0e9" alt=""><figcaption></figcaption></figure>

Example:

• If the line belongs to the AI, only the AI with the correct Tag plays the animation.\
• If the line belongs to the Player, only the Player with the matching Tag plays the animation.

⚡ The Actor playing the audio also plays the animation.

***

<h2 align="center">Configuring the Animation Montage</h2>

Before using an **Animation Montage**, verify its configuration.

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2FtF7cLd9FWDIYhXyzYPr7%2Fimage.png?alt=media&amp;token=9bce7af9-3319-4e56-8547-9b495e159cae" alt=""><figcaption></figcaption></figure>

> ⚠️ **Important**
>
> The Animation Montage **Slot** can vary by project configuration.<br>
>
> This example uses:
>
> 📌 `DefaultGroup.DefaultSlot`
>
> If your project uses a different Slot, configure the Animation Montage with that Slot. Otherwise, the animation may not play correctly during dialogue.

💡 **Recommendation:** Use the same Slot configured in the character's **Animation Blueprint**.

***

<h2 align="center">Configuring the Animation Blueprint</h2>

Depending on your Animation Blueprint, the character might slide while the animation plays.

Apply this configuration to prevent that behavior.

First, locate your main locomotion logic.

Then:

1. Create a **Save Cached Pose** node.<br>

   <figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2F3AVYltmkjhOe9WefoScv%2Fimage.png?alt=media&amp;token=e32b88be-d9ee-4cfa-8220-08a72827be93" alt=""><figcaption></figcaption></figure>
2. Give it any name.
3. This documentation uses **Locomotion**.
4. Connect the movement logic to the Cached Pose.
5. Create two **Use Cached Pose** nodes using the saved pose.
6. Add a **Slot (DefaultSlot)** node.
7. Add a **Layered Blend Per Bone** node.
8. Connect the nodes exactly as shown.<br>

   <figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2FkUs2rDi6YvAyoyKHCKz5%2Fimage.png?alt=media&amp;token=c4a58852-1d71-4017-863d-1d1a042fb4fe" alt=""><figcaption></figcaption></figure>

The final structure should follow the illustrated flow.

***

<h2 align="center">Configuring Layered Blend Per Bone</h2>

After creating the structure, select **Layered Blend Per Bone** and configure these parameters.

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2FAqkXuXnI2gp330rhWq8w%2Fimage.png?alt=media&amp;token=fb189cdd-f50b-4197-a3f2-f20f5c4790ed" alt=""><figcaption></figcaption></figure>

#### Blend Mode

📌 Branch Filter

#### Layer Setup

📌 1 Element

#### Branch Filters

📌 Bone Name: spine\_01

📌 Blend Depth: 1

These settings limit dialogue animations to the upper body. The lower body continues normal locomotion.

***

<h2 align="center">Creating Your First Dialogue</h2>

You now know the **Dynamic Dialogue Framework** structure and workflow. Create your own dialogue.

Configure the **Data Table** for your project. Add lines, audio, animations, events, and other framework features.

> 💡 **Tip**
>
> The project includes a fully configured **Dialogue Data Asset**. Use it as a reference while creating your own dialogues.

***

<h2 align="center">Adding the Trigger to the Level</h2>

After configuring the **Data Table**, return to:

📌 **TriggerBox\_InteractDialog**

Add this **Actor** to your level.

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2FqLShLsKDa76d5AdSpDUc%2Fimage.png?alt=media&amp;token=35b3e119-01b0-48b0-b946-aa7736934e8c" alt=""><figcaption></figcaption></figure>

#### Steps

1. Drag **TriggerBox\_InteractDialog** into the scene.
2. Place it where the dialogue should start.
3. Adjust the **Box Collision** size to define the activation area.

> ⚡ **How it works**
>
> When the player enters the **Box Collision**, **TriggerBox\_InteractDialog** starts its configured dialogue automatically.

***

<h2 align="center">Configuring the Trigger</h2>

After adding **TriggerBox\_InteractDialog** to the map, configure which dialogue the Trigger runs.

<h3 align="center">Data Table</h3>

In **Data Table**, select the Data Table you created.

This tutorial uses:

📌 **DynamicDialogue\_Test**

This Data Table contains dialogue lines, audio, animations, events, and other framework settings.

<figure><img src="https://436801671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1UpAr8NYd8VY0DMnmy2W%2Fuploads%2FbrmNnz0kBraaiH8I1GkE%2Fimage.png?alt=media&amp;token=da89fe48-8766-4108-93be-0bed2d4d0285" alt=""><figcaption></figcaption></figure>

> ⚠️ **Important**
>
> Selecting a **Data Table** is **required**. If this field is empty, **TriggerBox\_InteractDialog** has no dialogue to run.

✅ Ensure the selected Data Table contains the dialogue you want to play.

***

<h2 align="center">Simple Workflow</h2>

The framework is designed for a simple workflow.

The process is:

1. Create a Data Table.
2. Configure the dialogue.
3. Select the Data Table in the Trigger.

⚡ The framework handles everything else automatically.

***

<h2 align="center">Final Result</h2>

After completing the configuration, the system works in your project.
