CONTENT HUB

PRO GAMING NEWS By Carol Holmes 24/01/2025
BACK TO MENU
NVIDIA RTX AI Logo

The Role of AI in Non-Player Character (NPC) Behaviour

Personal Vendettas Born in the Heart of Mordor

Non-player characters (NPC) are a crucial component for world building within video games, without them it can be difficult to create a world that feels alive. An NPC is any character in the game that isn’t controlled by the player and this can be, but not limited to, enemies, shopkeepers or townspeople. The role of these characters is to facilitate interactions with the player, help move the player to the next checkpoint in the story or to be roadblocks that make progression more challenging. Even games that are lacking in a 'physical’ embodiment of an NPC, like The Stanley Parable, still have an omniscient NPC in the role of a narrator.

Traditionally, players will encounter NPCs walking around the game world that have a set of scripted dialogue options that rotate with each interaction. Interactions can be as simple as walking too close to the NPC or pressing controls to directly speak with the NPC. In a lot of games, players all too often encounter repetition in the dialogue. Game developers are constantly creating systems to solve this issue, setting out to create an expansive, challenging and immersive experiences for their players.

The Nemesis System

Middle-earth: Shadow of Mordor released in 2014, to critical acclaim, winning both the British Academy Games Award for Game Design and The Game Award for Best Action/Adventure. The hype around the game being a direct result of the introduction of the Nemesis System, which revolutionised how the player and NPC dynamic evolves. Taking what would have been typical enemy NPCs, the Nemesis System turned them into memorable characters that changed and grew as the player navigated the world.

Playing as Talion, every action you take influences the world around you and introduces Nemeses that are unique to that individual playthrough. Each enemy is randomly generated giving them names, abilities, personalities and physical traits. Upon the release of Middle-earth: Shadow of War (2017) the impacts expanded to even effect the narrative, creating a truly unique playthrough through your relationships with the orcs.

The Dynamic Narrative Generation demonstrated in the Nemesis System is an incredibly influential feature of the Middle-earth series. Rather than following a branching path of predetermined actions, as dictated by the developers, the Nemesis system generates the content as and when you approach it, based on the previous actions you’ve taken. By following a “Yes, and?” philosophy, you’re treated to a world that acknowledges you and builds on your input.

Each action taken by the player is secretly logged and brought up again later in the story. If you’ve been killed by an orc in the past, that same orc will mock you when you meet them again. On the other hand, if you’re about to beat them, they might flee and shame you for not being able to kill them quickly enough. These generative responses are significant to how memorable a player finds your game. It’s not just some nameless grunt you’re killing anymore, this is your rival - your Nemesis. Typically, when you develop a rivalry with an enemy in a game the dynamic is scripted but in the Middle-earth series, this rivalry is uniquely crafted for the player, by the player.

Considering that the main mechanics of the Middle-earth series are all about death and violence, developer Monolith Productions was left with a hurdle to overcome; how do we keep the story between player and NPC from being too short. The result? Death in the Middle- earth series became a part of the game, by taking what is normally a frustrating moment for gamers and building it into the narrative, you’re left with a game you just can’t put down - another series that does this well is Hades.

In the Middle-earth series, when you die you’re coming back with a vengeance. Monolith Productions have previously stated that they were inspired by the Call of Duty (COD) killcams when working on this concept. Anyone who has been killed in a game of COD can confirm, you just can’t let that player get away with that, they’re your target now. Monolith Products set out to recreate that multiplayer experience, except this time with NPC’s.

in-game screenshot

Defying death isn’t something that only the player could do, NPC’s could come back from the dead and with a vengeance. This time sporting scars, prosthetics or even with new strengths and weaknesses based on how they died. This can happen multiple times, resulting in them gaining a new title, such as “The Survivor”. Meeting the same enemy, one with the same penchant for avoiding permanent death as the player, fosters that feeling you get when you meet an real player with the same skill level as you - finally, a worthy opponent. For the orc’s that do die, that isn’t always the end of their story. Occasionally you’ll come across a “blood brother”, an NPC seeking revenge for a slain comrade. All of these unique experiences are decided upon by a secret ‘dice roll’ behind the scenes to ensure that content remains new during that playthrough. To further preserve that dynamic between the player and their nemesis, some unique scenarios are locked off and can only occur once per playthrough.

With how revolutionary the Nemesis System has been to gaming, you’re left to wonder why we haven’t seen it used to the same extent in more games, other than the Middle-earth series. The simple answer is that it was patented by Warner Bros. Interactive Entertainment in 2021. Titled “Nemesis characters, nemesis forts, social vendettas and followers in computer games” this patent allows Warner Bros. to legally protect against other companies producing similar systems in games. Protected under the patent is a changing hierarchy of procedurally-generated NPCs that remember the player’s actions previously. The shifting political power of the NPCs in the hierarchy, their changing appearances and behaviours as influenced by the players actions, are also protected by the patent. Unfortunately, we haven’t seen the return of the Nemesis System in any other games by developer Monolith Productions much to the disappointment of many gamers. Online, people have expressed their frustrations with patenting a game mechanic only to seemingly shelf it right away. Warner Bros. have this patent until 2035 which will limit its use to projects under their umbrella. It was announced back in 2021, that a Wonder Woman game is in production however there has been little to no information about the game since - other than that it will be using the Nemesis System in some capacity. There is currently no release date announced and so, until then, we won’t know when we’ll next see the Nemesis System in action.

in-game screenshot

Autonomous Game Characters

With the rise of artificial intelligence, particularly generative AI, we might see an alternative solution for developers to incorporate features that are a spiritual successor to the patented Nemesis System. At CES 2025, NVIDIA introduced us to a revolutionary new game AI, NVIDIA ACE autonomous game characters. Starting back in 2023 with a suite of RTX-accelerated digital human technologies, as seen in Mecha Break and Perfect World Games demo, Legends. Going beyond just conversational NPCs, NVIDIA demonstrated how this evolution of ACE has generated NPCs that use AI to perceive, plan, and act just like real players. Implementing all new ACE small language models (SLMs) that are capable of realistic decision making and planning. As well as, multi- model SLMs for vision and audio that gives these NPCs perception of the world around them. NVIDIA has already partnered with game developers to let them take this revolutionary tech and incorporate it into their games. InZoi, one of the most wishlisted games on Steam, is an upcoming life simulation game, like the Sims 4. With it’s hyper realistic graphics it’s drawn immense hype already, with many people eagerly awaiting it’s release. Developer KRAFTON has recently introduced Smart Zoi, built with NVIDIA ACE, players can now create Co-Playable Characters (CPC). When a player activates Smart Zoi, the AI allows the CPC to dynamically adjust the way they behave to match their assigned traits and respond to the situation that they’re in. Comparable to how the Nemesis System analyses the player’s previous actions and the NPCs behaviour traits to dynamically create a unique response. Ultimately, the reasons behind the use case for a feature like this is very different for InZoi as compared to the Middle-earth series. The Middle-earth series utilised this concept to create a more immersive action experience, whereas, Smart Zoi is there to create a more realistic life simulator. However, it’s still very exciting to see that other game developers are exploring dynamic and responsive NPC behaviours and that there’s a chance that more gameplay like those in the Middle-earth series will become prevalent.

If you want to read more about what developers are partnered with NVIDIA to power their games with NVIDIA ACE, you can click this link here: NVIDIA Redefines Game AI With ACE Autonomous Game Characters

Final Thoughts

The Middle-earth series was a remarkable feat of game design upon the release of both Shadow of Mordor and Shadow of War. Experiencing the Nemesis System for yourself is a must, it’s an implementation to gaming that is quite incomparable to any other. Many players still, to this day, talk about moments they experienced during their playthroughs that stands out in their memories. Whether it’s an orc that escaped and survived long enough to climb the ranks all the way to the top or a nemesis that just wouldn’t stay dead no matter how they killed him. It’s this ever evolving gameplay that makes gamers keep talking about the game, sharing what happened to them and laughing at what their friends saw. Seeing the introduction of autonomous game characters from NVIDIA ACE brings a new excitement and the hope that we could start seeing more games that carry an innovative approach to NPC behaviour, like we saw in the Middle-earth series.