This month, we are delving deeper into a topic we previously discussed: AI-based NPCs (non-player characters) in video games. The idea was contributed by our frontend developer Friedrich.
To recap: NPCs are non-playable characters in various video games that contribute to making the game environment more realistic – for instance, pedestrians, traffic participants, or even adversaries.
Without the use of artificial intelligence, these characters always move along pre-programmed paths or perform predefined actions. While these actions may vary, they are still predetermined and limited.
Until now, AI has been avoided in game development for various reasons. For instance, a learning AI could become almost unbeatable over time, thereby ruining the player experience.
Nevertheless, the topic of AI in game development is far from settled – for example, NVIDIA has released initial videos in which NPCs converse with each other. The remarkable aspect is that each conversation unfolds differently and does not repeat. Such conversations are made possible by generative AI and (in this case) Convai’s framework. But that’s not all. NPCs are also capable of interacting naturally with the player or their fictional environment. This enables entire conversations that also influence further actions (e.g., changing locations).
Unreal Engine 5 also enables game developers to create new, realistic worlds where players can interact with every NPC. Furthermore, Replica has developed smart NPCs that could breathe more life into game worlds in the future.
Even for those not interested in gaming, it is worthwhile to watch the manufacturers’ demo videos and be impressed by the fascinating possibilities. Imagine how much more there is to experience in text- or voice-based games when players can speak with absolutely every NPC and trigger corresponding actions. A straightforward story thus transforms into a game world that individually adapts to each and every player. NPC behaviors and actions become completely unpredictable, and the same game becomes a unique experience for every player. We eagerly anticipate revolutionary developments in this area in the future.