McGill University
Analysing simple heuristic hiding strategies for non-player characters in games
Abstract
dc:description.abstractThe need for a player to hide from opponents is an important part of many strategy and stealth games. Effective approaches to hiding for non-player character's (NPCs), however, are relatively rare, with most games either simply attributing player stealth to NPC companions, irrespective of their actual behaviour, or making use of highly scripted behaviours. In this thesis we examine algorithmic approaches to hiding in a game context. We explore several computationally simple strategies for ensuring an NPC can remain hidden with respect to a moving observer on a defined path. We evaluate these strategies with respect to an upper-bound on how successful an NPC can be in hiding. This allows us to determine relative quality of hiding heuristics, and can also be used to answer several interesting questions, such as how many NPCs can be hidden, the effective area hidden using a strategy, and for finding the good hiding spots in the game level. Our evaluation is performed using multiple game levels, including simple theoretical geometries used to illustrate the inherent difficulty of hiding, as well as levels inspired from commercial games of various genres. We also consider additional important factors, such as different speeds of NPCs and variation in observer paths.Our work suggests that simple cost-effective strategies are feasible for use in game levels to deliver a more natural NPC hiding behavior. Both complex and simpler heuristics for hiding perform similarly well, although the effectiveness of a strategy strongly depends on the structure of the game level, speed of the NPCs and the predefined path chosen for analysis.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Grantor dc:publisher
- McGill University
- Year dc:date.issued
- 2016
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Singh, Navjot
- Advisor dc:contributor.advisor
-
- Verbrugge, Clark (Internal/Supervisor)
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- OCLC
- 964092429
- Identifier URI
- https://hdl.handle.net/20.500.14905/86065
- Dc Identifier Other
- hyrax:1j92g994w