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

Loading...
Thumbnail Image

Date

Type

Examensarbete på kandidatnivå

Programme

Model builders

Journal Title

Journal ISSN

Volume Title

Publisher

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.

Description

Keywords

Ecosystem, Fuzzy Cognitive Map, Genetic Algorithms, Procedural content generation, Non playable characters, Open world

Citation

Architect

Location

Type of building

Build Year

Model type

Scale

Material / technology

Index

Collections

Endorsement

Review

Supplemented By

Referenced By