Analysing the AI of The Last of Us Part II | AI and Games #70

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ค. 2024
  • With The Last of Us Part II, Naughty Dog set a new standard for high-fidelity single-player experiences on the #Playstation platform. But it requires a lot of additional support with the help of AI to make that a reality. Join us for this 70th episode of AI and Games as we dig into how AI is used not just to support new gameplay features, but also for the game to continue to reflect its high production values.
    Did you catch the episode on the first game? If not, here it is:
    • Endure and Survive: th...
    Plus catch these bonus episodes on the AI of The Last of Us Part Two over on @AIandGamesPlus:
    - Revisiting the AI of The Last of Us Part One: • Is the AI Any Better i...
    Chapters:
    [00:00] Intro
    [01:24] The Last of Us Part II
    [04:02] Improving Combat
    [10:03] The New Melee System
    [15:45] Motion Matching
    [17:37] What About The Last of Us Part One?
    [18:27] Hiding the Seams
    [26:34] Closing
    [27:37] Credits
    Sources:
    "'The Last of Us Part I' directors explain why the game stayed so true to the original"
    Nathan Ingraham, Engadget
    "Bringing AI to Life in 'The Last of Us Part II'"
    Bryan Collinsworth, Michal Mach, GDC 2021
    "Melee AI in 'The Last of Us Part II'"
    Ming-Lun Chou, GDC 2021
    "Motion Matching in 'The Last of Us Part II'"
    Michal Mach, Maksym Zhuravlov, GDC 2021
    "'The Last of Us Part II': Designing the Museum Flashback"
    Evan Hill, Level Design Summit, GDC 2022
    Music in this episode is from 'The Last of Us Part II (Original Soundtrack)' by Gustavo Santaolalla & Mac Quayle
    --
    AI and Games is a TH-cam series on research and applications of Artificial Intelligence in video games.
    Follow 'AI and Games' for educational videos and essays:
    / @aiandgames
    My second channel 'AI and Games Plus' is dedicated to bonus content, deep-dive analysis, revisiting old topics and more:
    / @aiandgamesplus
    Listen to my podcast 'Branching Factor', as I discuss game development and research with my co-hosts and guests:
    shows.acast.com/branchingfactor
    Watch Livestreams: / aiandgames
    Join our Community: aiandgames.com/discord
    Buy our Merch: aiandgames.com/store
    --
    You can support AI and Games via Patreon and TH-cam memberships, and in return, you get bonus rewards!
    / aiandgames
    www.youtube.com/@AIandGames/join
    --
    Follow 'AI and Games' on social media.
    Twitter: / aiandgames
    Mastodon: mastodon.gamedev.place/@AIand...
    TikTok: / aiandgames
    --
    If you're interested in working with us, check out the following:
    Business Enquiries: contact@aiandgames.com
    Arrange Meeting: calendly.com/aiandgames
    --
    #TheLastOfUs #TheLastOfUsPart2 #TLOU2
  • เกม

ความคิดเห็น • 72

  • @DSavioiur77
    @DSavioiur77 5 หลายเดือนก่อน +13

    Awesome video! As a designer ND AI tech was amazing to work with, and you really nailed the analysis of what it can/can't do. Their tech really allowed you to do so much as a designer. Especially with ambient buddy ai

    • @AIandGames
      @AIandGames  5 หลายเดือนก่อน

      Thanks for watching! Im glad you enjoyed it.

  • @VicioGamer47
    @VicioGamer47 ปีที่แล้ว +19

    Loved the moment on 22:05, dont know if was intentional or not but the way joel look back and saw that ellie wasnt there anymore and then turned to ellie and started walking it was like he last saw ellie behind him so he turn there to go to her but after seen that she wasnt there tried to look her instead of instantly going to where she was although he didnt know she moved.

  • @AIandGames
    @AIandGames  ปีที่แล้ว +21

    Don't forget to catch the bonus episodes on The Last of Us over on AI and Games Plus:
    Revisiting the AI of The Last of Us Part One:
    th-cam.com/video/eZVLPGQ1k4g/w-d-xo.html
    Walkthrough of the Museum level in TLoU2:
    th-cam.com/video/wHnqb52I1gk/w-d-xo.html
    --
    In the meantime, a quickshout to 'Sir BigWater' @sirbigwater1676 here on TH-cam for reminding me to make this video. If you go and dig in the comments from the original Last of Us video I made, I was asked whether I'd make this video about TLOU2 to which I joked **"you'll find out in 2025 when I finally get around to playing it"**. After that, Sir BigWater continued to remind me that I had until June 18th 2025 to make this video in the comments of several videos I have made. At this time I make zero commitments to make further videos on The Last of Us, lest his honourable BigWater sets up another timer to keep me on track. But if anything I'm just happy we got around to it two years earlier than planned!

  • @ihaveanosthedirector
    @ihaveanosthedirector ปีที่แล้ว +25

    All of your videos are so excellent man, such great resources for aspiring game developers or anyone looking to break into the industry!! Thanks bro!

  • @Tclans
    @Tclans ปีที่แล้ว +5

    5:30 & 6:10 this is exactly how I approached my fights in part one. Specifically on survivor and grounded.
    The second note is a big uptick in the second game towards the first. Which in my opinion is a superb challenge booster.
    I’d say, wel executed and very much welcoming change over part one.

  • @PlebNC
    @PlebNC ปีที่แล้ว +31

    The enemies in Part 2 gained a new damage type as shooting their attack dogs causes them to cry the dog's name triggering critical emotional damage in the player. This damage does double damage if the player has the Dog Owner trait.

    • @MrGOLDENCUPCAKE1
      @MrGOLDENCUPCAKE1 7 หลายเดือนก่อน

      I always killed the owner first, cause the dog just stops and looks sad making it easier to deal with. Felt worse tho :(

  • @charlesshamseldin9555
    @charlesshamseldin9555 ปีที่แล้ว +1

    Fantastic content.
    Channel is criminally underrated.

  • @touchtablet3364
    @touchtablet3364 10 หลายเดือนก่อน +3

    Wow, your work is incredible. I didn't understand everything (because I'm a "simple" gamer and I don't work in the digital field), but it was fascinating to discover how one (and a few) AI can work in a video game and everything you have to think about beforehand.
    Fantastic, I've subscribed to your channel, can't wait to discover other AI systems, thank you for the discovery, and lots of encouragement for your projects! Thank you from France!

  • @NayvieNoir
    @NayvieNoir ปีที่แล้ว

    I honestly didn’t know you had a second channel, and I’m so glad that I know now

  • @undary0u
    @undary0u 4 หลายเดือนก่อน +1

    Now thats you've done tlous 2 id love to see a deep dive in ghost of tsushimas Ai

  • @awesomeniac
    @awesomeniac ปีที่แล้ว +11

    Is the ingame footage originally HDR? it seems so saturated and high contrast. . . .

    • @AssortedJade
      @AssortedJade ปีที่แล้ว +2

      The footage in this video has definitely been contrast bumped compared to the game as played

    • @SaberRexZealot
      @SaberRexZealot ปีที่แล้ว

      @@mattburesh1 looks like PS5 footage tho cos’ 60fps

  • @TheRealBlackarrot
    @TheRealBlackarrot 8 หลายเดือนก่อน +1

    Have y'all ever considered looking at fighting game A.I.? I've been playing Soul Calibur(1) for 23 years & the A.I. continues to surprise me. Learning my combos, copying my tech etc.

  • @kensanackerman7047
    @kensanackerman7047 7 หลายเดือนก่อน

    I've been trying to find the gdc video about melee in part 2 but I can only find the one about part 1 by Anthony Newman, anyone got a link to that video ?

  • @Jerry98x
    @Jerry98x ปีที่แล้ว +2

    Just discovered this channel. High quality content right here!

  • @naithungoal609
    @naithungoal609 ปีที่แล้ว

    Thank you for what you do, sir.

  • @jakobskredelangedal6059
    @jakobskredelangedal6059 หลายเดือนก่อน

    I'm doing an assignment on AI in this game, and i've read some articles about "finite state machines". But i've also heard something about The Last of Us II using "behavior trees". What are the differences between these two? From the description of "finite state machines", it seems like a good match with what i'm seeing in The Last of Us 2.

  • @skupipup
    @skupipup ปีที่แล้ว +2

    "They got Alex"

  • @SirBigWater
    @SirBigWater ปีที่แล้ว +3

    Damn he did it earlier than I thought, I guess I'll delete my calendar event

    • @AIandGames
      @AIandGames  ปีที่แล้ว +1

      With 2 years to spare!

    • @SirBigWater
      @SirBigWater ปีที่แล้ว

      @@AIandGames Noice

  • @timbus2
    @timbus2 ปีที่แล้ว

    Has the “Revisiting the AI of The Last of Us Part 1” video mentioned here been published yet? Can’t find it anywhere…

    • @AIandGames
      @AIandGames  ปีที่แล้ว +1

      Yup, right here:
      th-cam.com/video/eZVLPGQ1k4g/w-d-xo.html&ab_channel=AIandGamesPlus

  • @Victorcolongarcia
    @Victorcolongarcia 8 หลายเดือนก่อน

    My favourite Ps4 game 🤟

  • @leegofilms
    @leegofilms ปีที่แล้ว +3

    Do you have any plans on covering Half-Life: Alyx? The cumputation limitations of VR could give some interesting research to how their ai was optimized. Their anim graph system would also be a good source of research for motion mapping

    • @SianaGearz
      @SianaGearz ปีที่แล้ว

      There's probably nothing in particular to Alyx, just reusing the same AI systems they have had all along going back to likely HL2. The game doesn't require a lot of CPU performance, which can be a limiting factor for VR games. 4 modern cores, 4 threads. If we assume one fast pump video submit thead and one game logic thread, and there's always a pretty heavy GPU UMD internal thread, there isn't much room left there. If it was a more technically ambitious title with more CPU performance requirements, they would have specified a hexa core or better.

    • @leegofilms
      @leegofilms ปีที่แล้ว +1

      @@SianaGearz Perhaps it’s just my limited perspective. Because I didn’t know how poorly the game was running until I upgraded my CPU. They do some werid stuff to keep the player’s VR character sync’d. I’ve seen several people’s low end systems hit CPU limits when multiple characters are on screen at once too.

  • @izzieb
    @izzieb ปีที่แล้ว +10

    Unending violence? I know all about it, I've been to Glasgow city centre on a Friday night.

    • @AIandGames
      @AIandGames  ปีที่แล้ว +9

      Glasgow is ready for the apocalypse pal.

    • @nahoj.2569
      @nahoj.2569 ปีที่แล้ว +4

      @@AIandGames have you taken note of the differences in AI between Grounded mode and normal mode in TLOU2?
      it makes the enemies really lifelike, in my opinion.
      there are also additional settings for customizing AI behavior and combat accessibility, like making you invisible while prone, smaller combos, making it so that allies cant get grabbed, flanking agression and stuff like that.
      I personally played in Custom difficulty, with player health on normal and enemies and stealth on grounded, i felt that was the most enjoyable way to play.

    • @izzieb
      @izzieb ปีที่แล้ว

      @@AIandGames In certain areas, it looks like it has already happened.

  • @supermegakote
    @supermegakote ปีที่แล้ว

    What’s with the color grading…

  • @cabbagenjam
    @cabbagenjam ปีที่แล้ว

    CHRIS!!!!!!!!!!

  • @adrian21339
    @adrian21339 4 หลายเดือนก่อน

    I hate when you do a stealth takedown and it alerts other people

    • @crimsonghoul8983
      @crimsonghoul8983 2 หลายเดือนก่อน

      Same here.

    • @adrian21339
      @adrian21339 2 หลายเดือนก่อน

      @@crimsonghoul8983 and they auto aim when you out in the open

    • @crimsonghoul8983
      @crimsonghoul8983 2 หลายเดือนก่อน

      @@adrian21339 That i can forgive because the onus falls on the player to try and dodge out of the line of fire.

  • @robertdurcan1629
    @robertdurcan1629 6 หลายเดือนก่อน

    Yeah your voice sounds a little like Gerald butler

    • @AIandGames
      @AIandGames  6 หลายเดือนก่อน

      Well we're both from the same part of Scotland.

  • @santiagomoralesgarcia1802
    @santiagomoralesgarcia1802 ปีที่แล้ว +2

    I hope the next GTA use the animation system of TLOU part 2, GTA 5 and RDR2 have great animation, but too realistic so you are strunling when moving and aiming

    • @diogofelix8626
      @diogofelix8626 ปีที่แล้ว +1

      They already got this right with Max Payne 3, they built hundreds of animations that blends with the euphoria physics at a way faster pace than RDR2 or GTA V, is not used in RDR2 because the game setting didn't require it, guns in the west were way slower than moderns one in Max Payne, also, if they made the protagonist way faster that would make the game balancing way to easier, they would need to redo the enemies animations as well to make them more inline with the speed of the player.

  • @kamal_talt
    @kamal_talt ปีที่แล้ว +1

    how about red dead 2 ai we need to know the great ai behind this game ❤❤and thank you for everything

  • @eyesontoast1105
    @eyesontoast1105 3 หลายเดือนก่อน

    Its great AI but still annoying cheaty. There is a fake ceiling for how good the player can be, and it always irks me because its a false sense of difficulty. Despite that, as I say its an astonishing achievement none the less.
    Particularly noticeable in the new game mode on hardest difficulty. The AI tends to spawn in. On top of that, the way the characters move can be very UNnatural, with slinky necks and jittery movements just to avoid the players reticle. While these are well disgusted in the play, for fans of the combat who commit to getting good, it just never happens as the game will always hack a victory on you or punish your attempts at aggressive game play.
    Still a big fan of it but they really need to reconsider some finer aspects of it should they be releasing another game.

  • @TheSkaOreo
    @TheSkaOreo ปีที่แล้ว +7

    Can't wait for all the people who won't watch this video because they still mad that best sad dad Joel got brained by a golf club.
    Can not wait for the HBO series to reach that point.

    • @SaberRexZealot
      @SaberRexZealot ปีที่แล้ว +4

      I don’t think it will get the same reaction. HBO viewers are used to seeing their favorite characters die unceremoniously, the “fans” who hate the game have mostly moved on and the writers might do it a bit differently.

    • @John-996
      @John-996 ปีที่แล้ว

      @@SaberRexZealot Not Just That But playing as a chracter Who kills the character you Play as is totally different Thing Than passive entertainment Its why Do not Think part 2 in the show will have the same. When Play as Joel you basicaly become him so his death In the game hits harder than it would as a tv show.

  • @NemesisOgreKing
    @NemesisOgreKing ปีที่แล้ว +1

    Never understood why people like Uncharted 3 and 4's Zombie DLCs so much.

  • @NecroteckLabs
    @NecroteckLabs ปีที่แล้ว +25

    best game ever, even better than the original

    • @thesewerrat4895
      @thesewerrat4895 ปีที่แล้ว +8

      Man imagine being wrong twice in one sentence.

    • @oscerthefool
      @oscerthefool ปีที่แล้ว +17

      a somewhat rare opinion but one that I also agree with yeah 100 percent.

    • @TheNightman.
      @TheNightman. ปีที่แล้ว

      Imagine having no idea that this game is utter trash and always will be

    • @TheNightman.
      @TheNightman. ปีที่แล้ว

      @@oscerthefool Yeah no, it's 100% garbage and always will be

    • @NecroteckLabs
      @NecroteckLabs ปีที่แล้ว +3

      @@TheNightman. what games have you made?

  • @SeniorCharry
    @SeniorCharry ปีที่แล้ว +3

    Can't wait for the episode explaining the AI of the golf club. Oh, and we can't forget about the AI behind the scene when fat Geralt comes out of nowhere are knocks that thing into the garage door. Best game -10/10 would meme again.

  • @d9zirable
    @d9zirable ปีที่แล้ว +7

    the ai is better than the story for sure

  • @GraveyardTricks
    @GraveyardTricks ปีที่แล้ว +4

    What AI? The whole game is just a cutscene with QTEs mixed in

    • @NazzyQ
      @NazzyQ ปีที่แล้ว +15

      Oh look another person who hasn’t actually played the game

    • @Jupa
      @Jupa ปีที่แล้ว +4

      No I think you got this confused with RDR2, this is TLOU2 xD

    • @John-996
      @John-996 ปีที่แล้ว +1

      @@Jupa This is allot more cutscene heavy than RDR2. Both games have great NPCs Though. RDR2 has one of the most interactive open worlds out there Both games have some great Ai systems.