Skip to content

Milestone 3 - Starter Template

This template provides the stats, damage, and AI foundation for Milestone 3.

What's Included

  • UStatsComponent - Health and stamina management
  • IDamageable Interface - For damage handling
  • AEnemyNPC - Base enemy class with AI
  • Damage System - Basic damage types and handling
  • AI Framework - Controller and behavior tree structure

Download Template

📁 Download Template Files

Prerequisites

  • ✅ Completed Milestones 1-2
  • ✅ Working character and interaction system

Implementation Guide

Follow the detailed Milestone 3 Guide to implement:

  1. Stats System - Health, stamina, and regeneration
  2. Damage System - Apply and handle damage
  3. Enemy AI - Patrol, detection, and chase behaviors
  4. Combat Mechanics - Melee attacks and responses
  5. Death System - Handle character death and respawn

Key Features to Implement

  • [ ] Health and stamina tracking
  • [ ] Damage application and resistance
  • [ ] Enemy AI with perception
  • [ ] Patrol and chase behaviors
  • [ ] Combat mechanics
  • [ ] Death and respawn system

Testing Your Implementation

  1. Spawn an enemy in the level
  2. Enemy should patrol around spawn point
  3. Get close - enemy should detect and chase you
  4. Take damage from enemy attacks
  5. Health should decrease and regenerate

Next Steps

After completing this milestone:

  • Proceed to Milestone 4 for NPCs and events
  • Add more enemy types and behaviors
  • Enhance combat with special attacks