Accelerated Back Hopping in Half-Life 2 - Math Explained

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 97

  • @BobTheMartin
    @BobTheMartin 7 місяців тому +203

    "Yes I drive a 2004 Gordon Freeman"

  • @mnichu201
    @mnichu201 7 місяців тому +522

    5 minutes of math class: 👎
    15 minutes of emotionless guy explaining the half life 2 movement: 👍

    • @SkylorBeck
      @SkylorBeck 7 місяців тому +42

      I cannot get enough of people breaking down the code for my favorite games

    • @umanoomgombi3842
      @umanoomgombi3842 6 місяців тому +3

      Ever without knowing code, if you watch enough you get an understanding of how it all fits together. Basically math yeah.

  • @ruzgar1372
    @ruzgar1372 7 місяців тому +187

    Valve tried to stop speedrunners and in turn accidentally created one of the most fun speedrunning tactics.

    • @NoahGooder
      @NoahGooder 7 місяців тому +21

      heck they even created a new genre of maps.

    • @SioxerNikita
      @SioxerNikita Місяць тому +3

      Valve didn't try to "stop speedrunners", they tried to fix a bug in their code... That's all...
      If they REALLY wanted to try to "stop speedrunners" they'd have fixed this to, but they didn't.
      The bhopping forward is something you can relatively easy stumble upon in normal gameplay. Accelerated backhopping is not really that likely.

  • @MAD22324
    @MAD22324 7 місяців тому +485

    god tried to stop the freeman and the freeman merely became faster

    • @Just5omeRandomGuy
      @Just5omeRandomGuy 7 місяців тому

      Now we all need one man to HUNT DOWN THE FREEMAN

    • @Space-Shuttle-Scam
      @Space-Shuttle-Scam 7 місяців тому +19

      Gordon freeman is so powerful he can break the laws of physics.

    • @AwesomeNigga1488
      @AwesomeNigga1488 7 місяців тому +25

      @@Space-Shuttle-Scam thats what being a theoretical physicist does to you

    • @snippetism9802
      @snippetism9802 7 місяців тому +16

      @@AwesomeNigga1488 Well thanks to Gordon, it's no longer theoretical in a way

    • @Kevin-jb2pv
      @Kevin-jb2pv 7 місяців тому +4

      ​@@snippetism9802 its a theoretical degree in physics

  • @1thevm1
    @1thevm1 7 місяців тому +147

    It's weird how they messed up coding the speedlimiter despite having a pretty robust one in HL1. The systems are different, sure, but I guess the intern who coded it that day totally winged it. At least it gave us one of the coolest movement techs in gaming.

    • @mfaizsyahmi
      @mfaizsyahmi 7 місяців тому +32

      Because the one who added the one for HL2 wasn't named John Carmack/Romero, whichever.

  • @LotsOfS
    @LotsOfS 7 місяців тому +72

    You know an ABH video is good when the videotist starts the video on the Highway 17 dock

  • @abandoned_green
    @abandoned_green 6 місяців тому +11

    “What the hell I didn’t ask for working code”
    “Don’t worry it’s still broken”
    Half-Life 2

  • @mooj269
    @mooj269 7 місяців тому +59

    the car is ready for you now dr. freeman

    • @orionbarnes1733
      @orionbarnes1733 6 місяців тому +7

      the last thing speedrunners hear before going supersonic

  • @jezuzlizard2242
    @jezuzlizard2242 2 місяці тому +10

    Half Life 1
    Intended genre: FPS
    Actual genre: platformer
    Half Life 2
    Intended genre: FPS with a focus on story
    Actual genre: racing sim

  • @ahmetdag5600
    @ahmetdag5600 7 місяців тому +25

    Debugging hl 2 code for understanding how glitches work. Marvelous job. Thx

  • @npc_pigeon
    @npc_pigeon 7 місяців тому +68

    heck yes new video to listen to whilst doing art

  • @udontseemeiseeuuseemeiseeu
    @udontseemeiseeuuseemeiseeu 7 місяців тому +81

    never left my alzheimer's ridden grandfather unattended faster

  • @timquestionmark
    @timquestionmark 6 місяців тому +4

    great video! It's great to have resources like this explaining the logic behind weird wonderful mechanics

  • @wuzzle22
    @wuzzle22 6 місяців тому +5

    The car's ready for you now Dr. Freeman!

  • @Deniil2000
    @Deniil2000 6 місяців тому +4

    We give a player a forward speed boost when they jump.
    But now, we want that speed boost gone.
    So, do we just remove the speed boost then?
    No, we surround it by more spaghetti logic

  • @orionbarnes1733
    @orionbarnes1733 6 місяців тому +4

    I've always wondered why walking exists in hl2, but it's nowhere as big of a mystery as why holding E in hl1 makes you move at a snail's pace when walking exists (and is significantly faster)

  • @TurliTheCat
    @TurliTheCat 7 місяців тому +8

    i always wondered how bhopping worked...interesting video!
    I liked it!

  • @chekkibrekkiv1.245
    @chekkibrekkiv1.245 7 місяців тому +28

    hay guys its desinc today im gonna show you how to reverse bhop

  • @kuromeankokuboshi8568
    @kuromeankokuboshi8568 6 місяців тому +2

    As a person coding gmod addons, hearing code related stuff like normalized vectors puts a smile on my face

  • @SugarCoatedCocoa
    @SugarCoatedCocoa 6 місяців тому +2

    You explain everything so well! Keep it up man!

  • @orby5183
    @orby5183 6 місяців тому +1

    hey pinplash I don't know why but your voice is very comforting and I like your videos, they speak very loudly to my adhd.

  • @ecksdee1149
    @ecksdee1149 7 місяців тому +4

    This is one of those VERY rare videos i never knew i wanted to see

  • @augustIacey
    @augustIacey 7 місяців тому

    super in depth video about my niche interest? yes please!

  • @supervitu64
    @supervitu64 6 місяців тому +3

    pinsplash is the shounic of half life

  • @DSALquarantine
    @DSALquarantine 7 місяців тому +4

    cool video, well explained

  • @kokobedima
    @kokobedima 7 місяців тому +1

    Great material for falling a sleep

  • @SKCro.
    @SKCro. 7 місяців тому +9

    How does one 'walk' in HL2 while wearing a HEV suit? Is it some separate, normally-unused keybinds or something? You mentioned that being HEV-less forced you to walk, but in some of the footage (mainly 2:10), it's implied that the player is in the HEV suit (mainly from the UI), but are still somehow walking.
    This video also gives me a terrible idea: Beat HL2 while going as slow as possible (while constantly moving - no waiting 8 hours then beating the game lol).

    • @v-14415
      @v-14415 7 місяців тому +13

      Hold ALT to Walk

    • @SKCro.
      @SKCro. 7 місяців тому +9

      @@v-14415 Wait, seriously? That's a keybind? How did I not notice that while going through the controls? I guess it's a bit of a weird and obscure one since alt is a bit hard to press with one hand while also pressing a directional key :P

    • @v-14415
      @v-14415 7 місяців тому +9

      @@SKCro. Yeah, it's also kinda hard to jump while Walking

  • @SomeRandomPiggo
    @SomeRandomPiggo 6 місяців тому +1

    Like a lot of things in Valve games, the movement isn't realistic but it is very very fun

  • @the_last_chancer
    @the_last_chancer 6 місяців тому +4

    I would like more in-depth code analysis of source or other games pls.

    • @chocolates182
      @chocolates182 Місяць тому

      Yes please. An analysis of csgo dangerzone's movement quirks would be amazing. That game also had ABH.

  • @Sugar3Glider
    @Sugar3Glider 6 місяців тому

    When you landed one of the big jumps UA-cam shat itself and restarted my playlist. I was very confused

  • @MaxTovstyiMusic
    @MaxTovstyiMusic 6 місяців тому

    I never knew I needed something like this to know

  • @SourceSpaghetti
    @SourceSpaghetti 6 місяців тому

    Thank you Mr Pinsplash for teaching me the ways of Half-Life.

  • @bloodakoos
    @bloodakoos 6 місяців тому +1

    yeah its the backwards long jump from mario 64

  • @BenLubar
    @BenLubar 7 місяців тому +1

    I want to put something like ABH into Alien Swarm: Reactive Drop, but the player not being able to jump causes some problems with this.

  • @nonmrenderman0643
    @nonmrenderman0643 6 місяців тому

    In layman’s terms
    Man constantly jump backwards sitting man go fast

  • @Taras195
    @Taras195 7 місяців тому +1

    Why didn't they just clamp all the speed vector components (separately) after all these calculations, and recombine it back?

  • @thatgi3817
    @thatgi3817 7 місяців тому +1

    I guess the Certified Valve Polish (TM) isn’t applied very much for patches. This wouldn’t have slipped through the cracks in mid-stage development… right?

    • @rafaelhines1178
      @rafaelhines1178 4 місяці тому

      Yes, this was added in a patch trying to patch out bunnyhopping

  • @explodingbearz
    @explodingbearz 7 місяців тому +8

    It's a sad day to not be in the channel members list :(

    • @Pinsplash
      @Pinsplash  7 місяців тому +6

      what do you mean? i got you in there

    • @explodingbearz
      @explodingbearz 7 місяців тому +13

      ​@@Pinsplash I was under the influence when I made this comment PAY ME NO MIND!

    • @explodingbearz
      @explodingbearz 7 місяців тому +4

      ​@@Pinsplash🤍🤎♥️💙💚💛💜🩷🩶🩵🧡 keep being awesome!

    • @juanes8931
      @juanes8931 7 місяців тому +2

      ​@@explodingbearz lmao

  • @ethanisnotsleeping
    @ethanisnotsleeping 7 місяців тому +2

    So, I'm just curious, in terms of MPH, what is Gordon's max possible speed with ABH?

    • @NoahGooder
      @NoahGooder 7 місяців тому +1

      well if you had an infinately large map to test it you could probably reach somewhere in the range of 2147483647 units per second.

    • @NicknineTheEagle
      @NicknineTheEagle 6 місяців тому +6

      Player's movement speed in HL2 is hard capped to 3500 HU/s. Which you can reach pretty quickly with ABH.

    • @accountname7392
      @accountname7392 6 місяців тому +5

      "The exact definition varies from game to game, but a Hammer unit is usually defined as a sixteenth of a foot (16 Hammer units = 1 foot). This means that 1 Hammer unit is equal to exactly 19.05 millimetres or 0.75 inches (3/4")."
      The speedcap in HL2 is 3500 HU/s, which translates to 218.75 feet per second, or 149.1477mph

  • @dendi7698
    @dendi7698 7 місяців тому

    subtitles took 2 times more than previous video about episode one wtf

  • @Prucake
    @Prucake 6 місяців тому

    wtf is strafe modifier actually even intended for in the first place

  • @josha618
    @josha618 6 місяців тому +1

    pick up that can

  • @Bunerd
    @Bunerd 7 місяців тому +5

    I did not understand anything but great video nontheless

  • @mantazzo
    @mantazzo 7 місяців тому

    Honestly, I would love if you could implement some of your stuff into HL2 reUpdate mod, would be quite cool tbh.

  • @inkybz
    @inkybz 6 місяців тому

    i love pinsplash

  • @shawermus
    @shawermus 7 місяців тому +3

    According to this vid (hl2 devs reacting to speedrun), it seems that devs left this on purpose. ua-cam.com/video/sK_PdwL5Y8g/v-deo.htmlsi=7tET1wB4wIgWfZVY

  • @MrDirt
    @MrDirt 7 місяців тому +1

    Oh Boy, time to listen to some Bismuth piano music and watch some Pinsplash.

  • @ragnose1
    @ragnose1 6 місяців тому

    why not just set it at max speed if new speed is greater than max speed...

  • @scottl.1568
    @scottl.1568 22 дні тому

    Decinc?😮

  • @benishench
    @benishench 7 місяців тому

    🗣🗣🗣🔥🔥🔥

  • @Lambdac0reYT
    @Lambdac0reYT 7 місяців тому +1

    Yeeeeaaaaaaahh

  • @triatomicend
    @triatomicend 7 місяців тому +1

    AARRRRRRGGH *I FUCKING HATE MATH*

  • @dk1480
    @dk1480 7 місяців тому

    My fix
    if (flNewSpeed > flMaxSpeed)
    {
    if (mv->m_flForwardMove > 0.0f)
    {
    flSpeedAddition -= flNewSpeed - flMaxSpeed;
    }
    else if (mv->m_flForwardMove < 0.0f)
    {
    flSpeedAddition *= -1.0f;
    flSpeedAddition += flNewSpeed - flMaxSpeed;
    }
    }
    else if (mv->m_flForwardMove < 0.0f)
    {
    flSpeedAddition *= -1.0f;
    }
    Fixes this

  • @inkybz
    @inkybz 6 місяців тому

    yes ^^^^^^^^!!!!!!!!!!!!!!!!!!!!!!!!

  • @TheJohnDough129
    @TheJohnDough129 7 місяців тому

    How do u know all this point Dexter?

  • @BoogieBrando
    @BoogieBrando 6 місяців тому

    Hi pin splash i am doing the subbing towards you

  • @crosskoyamayandaytugay3508
    @crosskoyamayandaytugay3508 6 місяців тому

    hmmm

  • @keanewardall233
    @keanewardall233 7 місяців тому

    Hi

  • @Mr.SpicyIce
    @Mr.SpicyIce 6 місяців тому

    Sorry. This meth ache in my skull is hurting like hell.

  • @scantyer
    @scantyer 7 місяців тому +10

    Pin math teacher ❤