Half-Life 2 NPC Movement Part 2: Node Graphs and Moving

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

Комментарии • 69

  • @Tjthemedic
    @Tjthemedic 18 дней назад +175

    When this video is out of date, it won't be an issue. It'll just stutter at the start for a few seconds while rebuilding.

    • @KatKuriN
      @KatKuriN 18 дней назад +1

      this deserves to be pinned it got a good laugh out of me, good one

    • @Cheddar_13
      @Cheddar_13 17 дней назад +1

      Thing is, I don’t think this video will every be outdated 😂

    • @jfbbridurnfbbfbbhhvggghvfkhfuj
      @jfbbridurnfbbfbbhhvggghvfkhfuj 13 дней назад

      Video out of Date. Rebuilding...

  • @murmurghle
    @murmurghle 18 дней назад +14

    2:00 "Or are NOT a real npc"
    Shots fired at antlion grub.

  • @Marxon1134
    @Marxon1134 18 дней назад +19

    YES
    NODEGRAPHS
    I ACTUALLY UNIRONICALLY REQUIRE THIS INFORMATION!
    YEEEAAAAAHHHH

  • @1thevm1
    @1thevm1 18 дней назад +101

    Are you meaning to tell me that Node Graph Rebuilding isn't just a stutter generation engine???

    • @mrscsi6472
      @mrscsi6472 8 дней назад

      i mean it is, but that’s not its sole purpose

  • @kkiil05
    @kkiil05 18 дней назад +21

    Ladies and gentlemen, peak has just dropped. What an excellent christmas gift!

  • @DelayRGC
    @DelayRGC 18 дней назад +9

    Finally, some real use to all that graph theory and A*!

  • @guilhermecarvalhotrindade2625
    @guilhermecarvalhotrindade2625 18 дней назад +8

    Thanks for these deep dives. I love these things. Source engine is just full of quirks, showing how battle tested it must have been for the time.

  • @Marduk401
    @Marduk401 18 дней назад +21

    I created a very similar system in my game and I've never seen how Valve did it before.
    that felt weird watching it.
    what I do differently is that each node has a height and a radius. When placed It automatically expands and tests to see how big of a radius and height it can get before it collides with the world.
    a node that's under a door frame for example cannot get too big.
    then each npc can only use that node to find a path only if it's smaller or equal to the node's height and radius.
    so it creates a graphmap for each npc you have in the map.
    a big enemy would have to find another path around the doorway to navigate.
    a small enemy could simply walk right to it.

  • @le.glaconus
    @le.glaconus 18 дней назад +35

    Babe wake up new Pinsplash video just dropped

  • @megacat1384
    @megacat1384 18 дней назад +39

    as a normal person those videos feel like trying to comprehend an eldrich horror

    • @tgies
      @tgies 18 дней назад +7

      nice try but if you were a normal person you wouldn't be here in the first place

    • @bluegum6438
      @bluegum6438 18 дней назад +1

      I am not normal and I find these very straightforward to understand

    • @ratvibe
      @ratvibe 18 дней назад +1

      As a game developer many parts of Source will still feel like eldrich horror

    • @rhysbaker2595
      @rhysbaker2595 18 дней назад

      Dont worry, thats just how source is

    • @MegaZeta
      @MegaZeta 17 дней назад +5

      @@tgies It's strange to me to pretend that you have to be part of an esoteric elite to want to understand video games, one of the biggest and most popular forms of entertainment in history. These videos are skilled because they effectively present less complex concepts of development in simplified ways that non-experts can understand.

  • @Megamike144p
    @Megamike144p 18 дней назад +7

    Node Graph out of Date. Rebuilding...

  • @BigIggy
    @BigIggy 12 дней назад

    Node Graph out of Date. Rebuilding...
    7:07
    Thank you for all of your wonderful explanations : )

  • @groundjet
    @groundjet 18 дней назад +1

    7:08 this is possibly one of the biggest half life lore drops I've ever witnessed, the only bigger mystery is who's G-man LOL

  • @plaguedevstuff
    @plaguedevstuff 18 дней назад +2

    Perfect! Another video discussing a really old game engine!

  • @benb9151
    @benb9151 18 дней назад +2

    Needed something to watch on our date tonight, thank you Pinsplash

  • @thewoodpeckers655
    @thewoodpeckers655 18 дней назад +1

    This is vital information to beginner source modders

  • @d0kt0r17
    @d0kt0r17 18 дней назад +6

    This video is out of date. Rebuilding.

  • @the_not_real_bigboss
    @the_not_real_bigboss 18 дней назад +32

    Do a video on Nav Mesh next
    I wonder how much the gameplay in HL2 would change if we used Nexbots

    • @chibisayori20
      @chibisayori20 18 дней назад +6

      i think there is an addon that makes vanilla NPCs use navmesh if the map has it (gmod only), idk if navigation is engine-sided but if it's just sdk-sided it's easy to implement navmesh and make NPCs use it (and thus affect all hl2 npcs already on the map) but you also have to add support for Hints, so NPCs can still use hint nodes if it's found within a nav area as hints tell npcs specific actions the level designer assigned, i.e take cover, act busies

  • @pmrd
    @pmrd 17 дней назад

    Awesome video! I once made my own navigation system for my game when I was using a custom fork of the Q2RTX engine, without looking at any references or other solutions except for the actual pathfinding algorithm (Breadth-First Search), and I'm quite surprised how close parts of my solution was to some of the stuff you explained in this video. Now I just moved to UE5 lol.

  • @zeitgeistlime
    @zeitgeistlime 18 дней назад +1

    first video was understandable with some minor confusion, watching this one made my head hurt

  • @brwokbrwok
    @brwokbrwok 18 дней назад +13

    YEEAAAAHH

  • @kornsuwin
    @kornsuwin 18 дней назад

    new pinsplash video and it's also epic

  • @DocJade
    @DocJade 17 дней назад

    i love these videos

  • @isabellegrimes9366
    @isabellegrimes9366 18 дней назад

    Thank you, this is very informative :)

  • @quaker5712
    @quaker5712 18 дней назад

    Thanks for making these videos. It's really interesting learning how it Source handles navigation. Makes me wonder what changes Source 2 navigation has.
    Also, if by chance you make more nav videos, I'd love to know how flying NPCs navigate. Especially the man hacks because they seem to use the Z axis really well, swooping up and down.

  • @AyatZhum
    @AyatZhum 18 дней назад +1

    This is a great video

  • @dugl
    @dugl 18 дней назад

    hi, have a nice day dude, and happy holidays, I like your videos

  • @griddori
    @griddori 18 дней назад +16

    you sound like you node a lot about this

  • @the_not_real_bigboss
    @the_not_real_bigboss 18 дней назад +3

    Nice vid

  • @WinterGamesYT
    @WinterGamesYT 18 дней назад

    this inspired me to node my map

  • @walkaholicisdead
    @walkaholicisdead 18 дней назад

    Shounic's lost brother

  • @vxpdx
    @vxpdx 18 дней назад

    16:10 see if you can find it in code that StudioMDL uses when handling `walkframe`

  • @just_Myxa-qua
    @just_Myxa-qua 18 дней назад +1

    Why is there a sign of a man sitting on a toilet at the combines shoulder at 8:40?

    • @tgies
      @tgies 18 дней назад

      he's in the potty patrol

  • @WinterGamesYT
    @WinterGamesYT 18 дней назад

    4:10 you could say theyre... comparing nodes

  • @Winsane
    @Winsane 5 дней назад

    By subtracting where it is from where it isn't, or where it isn't from where it is (whichever is greater), it obtains a difference, or deviation.

  • @ZeroWingless
    @ZeroWingless 18 дней назад

    very nice, cheers :)

  • @MuteObserver
    @MuteObserver 18 дней назад

    Many thanks- and Merry Christmas!

  • @retart8139
    @retart8139 10 дней назад

    We need joe goes home part 5!!

  • @mahuba2553
    @mahuba2553 18 дней назад

    thanks man this is actually a big help, the valve wiki does not mention alot of important info that you have to learn to properlly node your map, where did you get all this information anyway?

    • @Architector_4
      @Architector_4 17 дней назад

      i imagine either from reading Source SDK code or from one of the leaks

  • @vibaj16
    @vibaj16 18 дней назад

    Now I want to know how different Source 2 is

  • @r.g.thesecond
    @r.g.thesecond 18 дней назад

    In the new HL2 Commentary, a running problem that is brought up is the combined cost of displacements and navigation creating performance issues. What makes it prohibitive to have both at the same time?

  • @blu3m0nkey
    @blu3m0nkey 18 дней назад

    Nav_edit 1
    My favorete command (especially in tf2, rly helpful)

  • @CoreStarter
    @CoreStarter 18 дней назад

    I too like large sized holes

  • @Humancatpost
    @Humancatpost 18 дней назад

    Is there a way to check the compile date that it’s checking to see if the node graph is updated? Or is it just the creation date on the file?

  • @Tr0tim
    @Tr0tim 11 дней назад

    What does it look like if you remove / tweak that last check you talk about in the video? Would the barrel you put on Mossman drop down through her and get pushed away from her hull?
    What if that fails to free the NPC and she never arrives at the next scripted sequence? I can imagine Valve wanted no chance to softlock

    • @Pinsplash
      @Pinsplash  11 дней назад

      I had made the 2nd check (in the motor code) just not ever report failure and it seemed to work fine (the npc would simply keep moving)

  • @amonidark
    @amonidark 18 дней назад

    joke about holes here

  • @silvialuzmia
    @silvialuzmia 18 дней назад

    Me like
    Cool

  • @SASTSimon
    @SASTSimon 18 дней назад

    hello

  • @Blockie
    @Blockie 18 дней назад

    yo

  • @RicoElectrico
    @RicoElectrico 18 дней назад +3

    Node Graph out of Date. Rebuilding...

  • @toaster_rtx1829
    @toaster_rtx1829 18 дней назад +1

    YEEEAAAAAAHHH

  • @PanekPL
    @PanekPL 18 дней назад

    Node Graph out of Date. Rebuilding...

  • @alexrva433
    @alexrva433 18 дней назад

    Node Graph out of Date. Rebuilding...