Back to search

Chalmers University of Technology

Simulating an Ecosystem - Exploring the possibility of generating terrain-dependent nonplayer character behaviour by using an evolutionary-based fuzzy cognitive map

Abstract

dc:description.abstract

Providing immersive experiences in video games often proves to be difficult as rudimentary Non-Playable Characters (NPCs) can appear repetitive to players. In an attempt to address this issue, we used the game engine Unity to implement a behavioral model using evolving Fuzzy Cognitive Maps (FCMs). An FCM is a weighted directed graph where nodes represent concepts and edges determine their causality. Through simulations in a procedural generated environment and usage of genetic algorithms, we sought a correlation between the decision-making of animals and their environment. As the animals’ FCMs processed input from the environment, their decision making developed throughout several generations. Simulations, done with three different environments, have shown that animals simulated in hostile environments evolved to prioritise certain actions such as escaping as opposed to those in peaceful environments. Evolved FCMs consistently performed better than their predecessors and we concluded that our model could be used to successfully create environment dependent decision making of NPCs in a video game setting.

Degree

thesis:*
Level thesis:degree_level
M2
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data och informationsteknik
Year dc:date.issued
2020

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • HABAGIL, BEN
  • KÖRE, JONATHAN
  • SCHWARTZ, ISAK
  • SOLBERG, ALEXANDER
  • SÖLVELAND, AUGUST
  • ZETTERLUND, ROBERT
Advisor dc:contributor.supervisor
  • Heron, Michael
Committee member dc:contributor.committeemember
  • Obaid, Mohammad

Subjects

dc:subject × 6

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
DATX02

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

HABAGIL, BEN; KÖRE, JONATHAN; SCHWARTZ, ISAK; SOLBERG, ALEXANDER; SÖLVELAND, AUGUST; ZETTERLUND, ROBERT. Simulating an Ecosystem - Exploring the possibility of generating terrain-dependent nonplayer character behaviour by using an evolutionary-based fuzzy cognitive map. M2 thesis, 2020. https://hdl.handle.net/20.500.12380/301962