[Paper Review] Feasibility Study: Moving Non-Homogeneous Teams in Congested Video Game Environments
This paper proposes using Conflict-Based Min-Cost-Flow (CBM), a state-of-the-art optimal TAPF algorithm, to enable real-time, collision-free movement of non-homogeneous agent teams in congested video game environments. The method dynamically re-plans paths every 12 time steps using CBM, achieving average solution times under 0.2 seconds per call, demonstrating feasibility for real-time gameplay with formation-keeping and dynamic goal updates.
Multi-agent path finding (MAPF) is a well-studied problem in artificial intelligence, where one needs to find collision-free paths for agents with given start and goal locations. In video games, agents of different types often form teams. In this paper, we demonstrate the usefulness of MAPF algorithms from artificial intelligence for moving such non-homogeneous teams in congested video game environments.
Motivation & Objective
- To address the challenge of moving non-homogeneous agent teams—composed of different types like warriors, rogues, and mages—through congested, dynamic video game environments.
- To enable real-time path planning with dynamic goal updates, even before all agents reach prior goals.
- To maintain collision-free movement while allowing agents of the same type to interchange goal locations, modeling real team-based gameplay.
- To evaluate the feasibility of using optimal TAPF algorithms like CBM for real-time performance in video game scenarios.
- To lay the foundation for future systems that combine swarm-based methods and CBM for long-distance formation-keeping with dynamic adaptation.
Proposed method
- Uses Conflict-Based Min-Cost-Flow (CBM), a two-level optimal TAPF algorithm, to solve for collision-free paths in real time.
- Applies a time-expanded network and min-cost max-flow formulation on the lower level to compute paths under constraints.
- Performs best-first search on a collision tree at the upper level to resolve inter-group agent conflicts.
- Re-plans paths every 4, 8, or 12 time steps using new goal locations specified by the player.
- Imposes cost one for move actions and zero for waits, with high penalty for inter-group collisions to improve efficiency.
- Uses a 30x30 cell planning window centered on agents, adapting to goal direction and environmental constraints.
Experimental results
Research questions
- RQ1Can optimal TAPF algorithms like CBM be used effectively in real-time video game environments with dynamic goal updates?
- RQ2How efficiently can CBM compute collision-free paths for non-homogeneous teams in congested, complex maps?
- RQ3What is the performance overhead of re-planning with dynamic goal changes, and can it sustain real-time operation?
- RQ4How do different goal pattern widths and update frequencies affect makespan and planning time?
- RQ5Can CBM maintain formation-like behavior in dynamic environments despite temporary disruptions in congestion?
Key findings
- CBM achieved average solution times of 0.153 seconds per call for the wide-12 configuration, well within real-time feasibility.
- The makespan remained stable across configurations, with narrow-12 achieving 156 time steps and wide-12 at 184, indicating efficient pathfinding.
- The number of CBM calls decreased with longer update intervals, dropping from 50 (wide-4) to 14 (wide-12), showing scalability with update frequency.
- In all configurations, the average running time per CBM call stayed below 0.202 seconds, confirming real-time performance potential.
- The system successfully managed path planning for 10 agents in 3 distinct types (warriors, rogues, mages) through narrow passages and dynamic goal changes.
- The results demonstrate that optimal TAPF algorithms can be effectively applied to real-time video game scenarios with non-homogeneous teams.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.