### **Creating a Sample Conversation with JSON** Using the exported Greeting.json as a template, let’s set up a new conversation. #### **Step-by-Step** 1. **Copy JSON**: - Duplicate **Greeting.json**, rename to **Farewell.json**. - Edit **Farewell.json**: ```json { "environment": { "environmentImagePath": "environment/street", "ambientAudioPath": "environment/street_ambience" }, "nodes": [ { "id": "Start", "characterName": "Merchant", "characterSpritePath": "characterSprite/merchant", "emotionalState": "Sad", "dialogueText": "Goodbye, come again!", "choices": [], "audioToPlayPath": "audioToPlay/farewell", "animationToPlayPath": "animationToPlay/wave", "characterPanelColor": { "r": 1, "g": 1, "b": 1, "a": 1 }, "dialoguePanelColor": { "r": 1, "g": 1, "b": 1, "a": 1 }, "textColor": { "r": 0, "g": 0, "b": 0, "a": 1 } } ] } ``` - Ensure assets (**street.sprite**, **street_ambience.wav**, **farewell.wav**) are in their respective **Resources** subfolders. 2. **Import JSON**: - Select **Merchant-NPC**. - Right-click > **Import Conversation from JSON**, pick **Farewell.json**. - A new **Farewell** node appears under **Merchant-NPC** with **Environment** and a **Start** node. 3. **Test**: - Add conditions to **Conversations[1]** (e.g., **Time Since Start > 5**) to trigger **Farewell**. - Play, wait 5 seconds, hit T—**Farewell** should play.