How Assassin’s Creed 2 captures the rhythms of the masses

Every crowd has a silver lining. –P.T. Barnum

Every morning when Chris Weiler walks the 20 minutes from his home to work in downtown Montreal, he keeps his eyes wide open. Every gesture, every nuance, every stutter-step-he captures them all and makes a mental note. Sometimes he toys with other walkers’ heads by tailing them and watching their reactions. “Sometimes they’ll switch directions,” he says. The specialty for the technical director of level design for videogame publisher Ubisoft is crowds.

Much like ringmaster Barnum was able to understand the contours and rhythms of the masses, Weiler and his team are similarly astute observers of human behavior. One of the defining characteristics of the game Assassin’s Creed II, which was released this month, is the movement of the dozens of non-playable characters (known as NPCs in gamespeak) that dot the streets and plazas of late 15th-century Italy. You play favored son Ezio Auditore da Firenze-who turns assassin when his family is murdered-and the crowds play a crucial role as they aid your subterfuge throughout the game. The crowds serve as Ezio’s unwitting accomplice and he exploits the bustling streets as cover for his various attacks.

To make his digital humans behave like real ones, Weiler tasked his team to focus on the small things. They added something called a “cycle breaker” to interrupt the way that NPCs would walk. Every few minutes, a character would cough or make a hand gestures, just a real humans do. They also implemented something called a “look axis” system which would trigger NPCs to stare at particular things. Sometimes they’re fixated on Ezio, sometimes at a landmark, sometimes they even stare at each other. Characters also react to Ezio depending on what he’s doing at the time. If he has his sword, they’ll cower in fear or flee; if he’s running, they’ll turn their head at attention. For the first time in the series, NPCs also react to each other. When a guard passes another guard, they’ll stop to talk, but if he passes a courtesan (that era’s version of a prostitute), his agenda takes a turn for the, um, lascivious.

One of the hardest challenges for Weiler and his team was something called “pathfinding.” Humans naturally do this whenever they interact in large groups. We pick a certain route and navigate our way through, predicting what those in front of us will do and adjusting our speeds along the way. Anyone who’s shuffled through the throngs of SoHo or bustle of Venice Beach does so unknowingly, sliding past meanderers and slipping through crowds. With NPCs, it’s not so easy. They often clumsily bump into each other and in the first Assassin’s Creed, Weiner says traffic jams were a big problem. “When people move at different speeds, just like in traffic, they create jams as they catch up and slow down.” Those pile-ups would grow exponentially and ripple outward as each NPC clogged another’s movement.

Why does that happen? Last year, Japanese researchers released a video of “shockwave jams” which showed how traffic can grind to halt even if motorists are driving in a circle at a constant speed. NPCs are no different, and to fix the problem, Weiner programmed them to be mindful “drivers” and allow faster walkers to pass. They also widened the streets to allow the denizens a bit more room to maneuver.

Now, the big problem for Weiner is how to stop noticing fellow walkers. “It’ll be with me for the rest of my life.”

Jamin Brophy-Warren is a freelance writer living in New Haven, Connecticut. He is a former arts and entertainment reporter for the Wall Street Journal, a contributor at Slate, and editor of the forthcoming gaming magazine Kill Screen.

  • Man’s dog suddenly becomes protective of his wife, Internet clocks the reason right away
    Dogs have impressive observational powers.Photo credit: Canva

    Reddit user Girlfriendhatesmefor’s three-year-old pitbull, Otis, had recently become overprotective of his wife. So he asked the online community if they knew what might be wrong with the dog.

    “A week or two ago, my wife got some sort of stomach bug,” the Reddit user wrote under the subreddit /r/dogs. “She was really nauseous and ill for about a week. Otis is very in tune with her emotions (we once got in a fight and she was upset, I swear he was staring daggers at me lol) and during this time didn’t even want to leave her to go on walks. We thought it was adorable!”

    His wife soon felt better, butthe dog’s behavior didn’t change.

    pregnancy signs, dogs and pregnancy, pitbull behavior, pet intuition, dog overprotection, Reddit stories, viral Reddit, dog instincts, canine emotions, dog owner tips
    Otis knew before they did. Canva

    Girlfriendhatesmefor began to fear that Otis’ behavior may be an early sign of an aggression issue or an indication that the dog was hurt or sick.

    So he threw a question out to fellow Reddit users: “Has anyone else’s dog suddenly developed attachment/aggression issues? Any and all advice appreciated, even if it’s that we’re being paranoid!”

    The most popular response to his thread was by ZZBC.

    Any chance your wife is pregnant?

    ZZBC | Reddit

    The potential news hit Girlfriendhatesmefor like a ton of bricks. A few days later, Girlfriendhatesmefor posted an update and ZZBC was right!

    “The wifey is pregnant!” the father-to-be wrote. “Otis is still being overprotective but it all makes sense now! Thanks for all the advice and kind words! Sorry for the delayed reply, I didn’t check back until just now!”

    Redditors responded with similar experiences.

    Anecdotal I know but I swear my dog knew I was pregnant before I was. He was super clingy (more than normal) and was always resting his head on my belly.

    realityisworse | Reddit

    So why do dogs get overprotective when someone is pregnant?

    Jeff Werber, PhD, president and chief veterinarian of the Century Veterinary Group in Los Angeles, told Health.com that “dogs can also smell the hormonal changes going on in a woman’s body at that time.” He added the dog may “not understand that this new scent of your skin and breath is caused by a developing baby, but they will know that something is different with you—which might cause them to be more curious or attentive.”

    The big lesson here is to listen to your pets and to ask questions when their behavior abruptly changes. They may be trying to tell you something, and the news may be life-changing.

    This article originally appeared last year.

  • Throughout history, women have stood up and fought to break down barriers imposed on them from stereotypes and societal expectations. The trailblazers in these photos made history and redefined what a woman could be. In doing so, they paved the way for future generations to stand up and continue to fight for equality.

  • ,

    Why mass shootings spawn conspiracy theories

    Mass shootings and conspiracy theories have a long history.

    While conspiracy theories are not limited to any topic, there is one type of event that seems particularly likely to spark them: mass shootings, typically defined as attacks in which a shooter kills at least four other people.

    When one person kills many others in a single incident, particularly when it seems random, people naturally seek out answers for why the tragedy happened. After all, if a mass shooting is random, anyone can be a target.

    Pointing to some nefarious plan by a powerful group – such as the government – can be more comforting than the idea that the attack was the result of a disturbed or mentally ill individual who obtained a firearm legally.


Explore More Articles Stories

Articles

Man’s dog suddenly becomes protective of his wife, Internet clocks the reason right away

Articles

14 images of badass women who destroyed stereotypes and inspired future generations

Articles

Why mass shootings spawn conspiracy theories

Articles

11 hilarious posts describe the everyday struggles of being a woman