Max Payne 3's in-game gunfight physics make it a modern wonder

How Rockstar's Advanced Game Engine is set to make Max Payne 3 one of the biggest videogames of 2012.

One thousand five hundred and forty two feet per second; 1,051 miles per hour; 1.3 times the speed of sound... no, not the speed of Superman, but the deadly rate at which a bullet leaves the muzzle of computer game antihero Max Payne's Desert Eagle handgun.

In the instant it takes for the hammer of his gun to fall forward, striking the firing pin and igniting the primer, a chemical chain reaction is let loose, its inevitable culmination being the unleashing of a bullet able to penetrate all but the densest of material.

Underneath the hood Rockstar's Advanced Game Engine (RAGE) not only provides the necessary animation but simultaneously calculates just where the bullet will hit. Impressively gauging trajectory, aim, rate of fire and obstructions – be they inanimate or flesh-based.

There's even further number-crunching required, for Rockstar Games' Max Payne 3, much like in its predecessors, utilises a sophisticated Matrix-esque slow-down effect called "Bullet Time", by which our its eponymous protagonist can stretch out that crucial time between pull of the trigger and impact.

"The big challenge was ensuring all the components worked together flawlessly in real time and in Bullet Time," explains Rob Nelson, Max Payne 3's art director. "The guns are made up of individual components and each bullet is singly modelled, so we had to make sure that every animation looked perfect. Everything needs to look incredible, regardless of the speed at which you're playing, so in some cases, we'd create new animations for actions that take place in Bullet Time because they wouldn't look right if we simply slowed down real-time animations."

My first-hand look at the game begins with Payne arriving at a Brazilian football stadium – the ex-cop having had to leave his familiar New York surroundings due to as yet unspecified "trouble" – in order to deliver cash in exchange for the release of his wealthy boss' wife. As even Jeff Bridges' Dude discovered in The Big Lebowski, however, seldom does such a drop go smoothly and sure enough the ransom is quickly whisked away by hired henchmen amid a torrent of sniper fire.

Crashing through the nearest door Payne finds himself hurt, confused and facing the unwelcome sight of none-too-friendly looking local militia with itchy trigger fingers. No stranger to danger, he leaps to his left as gunfire explodes around him and finds cover behind a concrete pillar. "Max Payne 3 is the first Max Payne to have a dedicated cover mechanic, but the gameplay is designed so that cover is an option, not a requirement."

"AI responds differently to player actions and each type of enemy will have their own unique responses," he continues. "Mobsters might not coordinate well with each other, while a group of paramilitaries might try and box the player in, laying suppressive fire while one of their members flanks you or flushes you out with grenades." As if on cue, one of Payne's attackers pitches a grenade his way; I send Payne dashing head-on towards his three assailants; jinking left and right as to make himself a hard target to hit, while looking for an opportunity to return fire.

And so here we are, back at the very instant we came in, with our hero about to pull the trigger; at the tap of a button I switch to Bullet Time and all at once calmness descends. The slowed down vapour trails of incoming bullets give away their trajectory, so allowing for a ballet-like dance around projectiles. All at once the tables are turned and it's Payne's turn to take control in a world of splintering wood, shattered glass and flying metal. "We were able to use advanced particle effects so that everything that should break, shatter or explode does so in the most beautiful way. You'll notice the minute details of the weapons themselves: hammers cock back, slides move, shells expel from the chamber – and it looks amazing in slow motion."

Three rounds explode towards their target – a gunman foolishly hiding behind a wooden partition. As if realising his mistake he rises at the last, but it's too late, the slugs smashing through the wood, kicking their target to the left as the force of the impact registers. "Enemies will react to multiple hits from bullets no matter how fast they happen," explains Nelson. "This has never been done at this level and is a direct result of upgrades to the integration of RAGE and Natural Motion's Euphoria System (which governs animation and model reaction)."

I despatch a second henchman with similar alacrity and abruptly, with Payne's latest victim still to hit the floor, the game accelerates back up to regular speed, his reserves of Bullet Time having been depleted for the time being. Seizing his opportunity the last gunman tries his luck, unloading the full magazine of his sub-machine gun in Payne's general direction.

Without cover or Bullet Time to fall back on, Payne's last resort is to throw himself headlong to the side, a technique known as the "Bullet Dodge" which has been retained from the series' earlier games. Though briefly reprising a similar slowing-down effect this last-ditch evasive manoeuvre doesn't come without cost, for not only is Payne committed to a single direction while flying through the air, he also lands prone and therefore vulnerable as automatic-fire peppers his body.

After the boost of some of painkillers our hero rises like the proverbial phoenix and unloads in the direction of the final hostile and, subsequently healed, is off again, picking up a second pistol as he goes. "It's a combination of shooting and movement designed to invoke the feel of Hong Kong action movies," says Rob Nelson, summing up the game's ethos perfectly.

'Max Payne 3' is out on 18 May

Suggested Topics
Life and Style
ebookNow available in paperback
ebooks
ebookPart of The Independent’s new eBook series The Great Composers
Latest stories from i100
Have you tried new the Independent Digital Edition apps?
Independent Dating
and  

By clicking 'Search' you
are agreeing to our
Terms of Use.

ES Rentals

    iJobs Job Widget
    iJobs Gadgets & Tech

    Ashdown Group: Senior .Net Developer - Kingston Upon Thames, Surrey

    £65000 - £70000 per annum + benefits : Ashdown Group: A long-established, tech...

    Ashdown Group: Software Development Project Manager - Kingston Upon Thames

    £55000 - £60000 per annum + benefits : Ashdown Group: Experienced Software Dev...

    Recruitment Genius: Office Administrator

    £14000 - £18000 per annum: Recruitment Genius: An Office Administrator is requ...

    Ashdown Group: Senior PHP Developer - Sheffield - £50,000

    £40000 - £50000 per annum: Ashdown Group: Senior PHP Developer position with a...

    Day In a Page

    Revealed: Why Mohammed Emwazi chose the 'safe option' of fighting for Isis, rather than following his friends to al-Shabaab in Somalia

    Why Mohammed Emwazi chose Isis

    His friends were betrayed and killed by al-Shabaab
    'The solution can never be to impassively watch on while desperate people drown'
An open letter to David Cameron: Building fortress Europe has had deadly results

    Open letter to David Cameron

    Building the walls of fortress Europe has had deadly results
    Tory candidates' tweets not as 'spontaneous' as they seem - you don't say!

    You don't say!

    Tory candidates' election tweets not as 'spontaneous' as they appear
    Mubi: Netflix for people who want to stop just watching trash

    So what is Mubi?

    Netflix for people who want to stop just watching trash all the time
    The impossible job: how to follow Kevin Spacey?

    The hardest job in theatre?

    How to follow Kevin Spacey
    Armenian genocide: To continue to deny the truth of this mass human cruelty is close to a criminal lie

    Armenian genocide and the 'good Turks'

    To continue to deny the truth of this mass human cruelty is close to a criminal lie
    Lou Reed: The truth about the singer's upbringing beyond the biographers' and memoirists' myths

    'Lou needed care, but what he got was ECT'

    The truth about the singer's upbringing beyond
    Migrant boat disaster: This human tragedy has been brewing for four years and EU states can't say they were not warned

    This human tragedy has been brewing for years

    EU states can't say they were not warned
    Women's sportswear: From tackling a marathon to a jog in the park, the right kit can help

    Women's sportswear

    From tackling a marathon to a jog in the park, the right kit can help
    Hillary Clinton's outfits will be as important as her policies in her presidential bid

    Clinton's clothes

    Like it or not, her outfits will be as important as her policies
    NHS struggling to monitor the safety and efficacy of its services outsourced to private providers

    Who's monitoring the outsourced NHS services?

    A report finds that private firms are not being properly assessed for their quality of care
    Zac Goldsmith: 'I'll trigger a by-election over Heathrow'

    Zac Goldsmith: 'I'll trigger a by-election over Heathrow'

    The Tory MP said he did not want to stand again unless his party's manifesto ruled out a third runway. But he's doing so. Watch this space
    How do Greek voters feel about Syriza's backtracking on its anti-austerity pledge?

    How do Greeks feel about Syriza?

    Five voters from different backgrounds tell us what they expect from Syriza's charismatic leader Alexis Tsipras
    From Iraq to Libya and Syria: The wars that come back to haunt us

    The wars that come back to haunt us

    David Cameron should not escape blame for his role in conflicts that are still raging, argues Patrick Cockburn
    Sam Baker and Lauren Laverne: Too busy to surf? Head to The Pool

    Too busy to surf? Head to The Pool

    A new website is trying to declutter the internet to help busy women. Holly Williams meets the founders