Skip to content

Milestone 4 - Starter Template

This template provides the friendly NPC and events foundation for Milestone 4.

What's Included

  • AFriendlyNPC - Talking NPC base class
  • ITalkable Interface - For dialog interactions
  • Dialog System - Basic conversation structure
  • ATriggerEventActor - Event trigger implementation
  • Event Subsystem - Game event routing

Download Template

📁 Download Template Files

Prerequisites

  • ✅ Completed Milestones 1-3
  • ✅ Working character, interaction, and AI systems

Implementation Guide

Follow the detailed Milestone 4 Guide to implement:

  1. Friendly NPCs - Non-hostile characters with dialog
  2. Dialog System - Conversation management
  3. Event Triggers - Area-based gameplay events
  4. Event Routing - Subsystem for event handling
  5. World Storytelling - Environmental narrative

Key Features to Implement

  • [ ] Friendly NPC with dialog
  • [ ] Conversation system
  • [ ] Dialog UI display
  • [ ] Event triggers and areas
  • [ ] Event routing via subsystem
  • [ ] Interactive world storytelling

Testing Your Implementation

  1. Create a friendly NPC in the level
  2. Walk up to NPC - "Talk" prompt should appear
  3. Press interact - dialog should start
  4. Step into trigger areas - events should fire
  5. Check logs for event messages

Next Steps

After completing this milestone:

  • Proceed to Milestone 5 for testing and polish
  • Add branching dialog options
  • Create quest and objective systems