vendredi 19 décembre 2025

Unreal Engine : Enemy Behavior and token system

 On this demo, I show a group of enemy behavior against player.

Architecture

 
Enemy can do 3 actions : 

- Melee attack : Enemy goes to player position and try a melee attacks
-  Shooting attack : Enemy launch a projectile to player
- Strafe : Enemy rotate around player 

Token system

A lot of game like Doom and Lord of the ring use token system. The goal is to avoid that all enemies attacks all at once, enemy try to get token (melee or shooting) to execute action, if not enemy will do passive action (strafe)

Token System  

 

Aucun commentaire:

Enregistrer un commentaire