TY - JOUR AU - Kelly, John-Paul AU - Botea, Adi AU - Koenig, Sven PY - 2021/09/27 Y2 - 2024/03/28 TI - Offline Planning with Hierarchical Task Networks in Video Games JF - Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment JA - AIIDE VL - 4 IS - 1 SE - Full Papers DO - 10.1609/aiide.v4i1.18673 UR - https://ojs.aaai.org/index.php/AIIDE/article/view/18673 SP - 60-65 AB - <p>Artificial intelligence (AI) technology can have a dramatic impact on the quality of video games. AI planning techniques are useful in a wide range of game components, including modules that control the behavior of fully autonomous units. However, planning is computationally expensive, and the CPU and memory resources available to game AI modules at runtime are scarce. Offline planning can be a good strategy to avoid runtime performance bottlenecks. In this work, we apply hierarchical task network (HTN) planning to video games. We describe a system that computes plans offline and then represents them as game scripts. This can be seen as a form of generating game scripts automatically, replacing the traditional approach of composing them by hand. We apply our ideas to the commercial game The Elder Scrolls IV: Oblivion, with encouraging results. Our system generates scripts automatically at a level of complexity that would require a great human effort to achieve.</p> ER -