How Damage Falloff is Calculated

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

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

  • @shooshiwhooshi8736
    @shooshiwhooshi8736 2 года назад +2461

    This felt like a math class but I loved every second of it

    • @whamham6117
      @whamham6117 2 года назад +47

      Are you implying you don’t like math class? -your math teacher in 8th grade

    • @billrules110
      @billrules110 2 года назад +11

      Applied mathematics

    • @meowcow21
      @meowcow21 2 года назад +57

      It's more programming since the math is really simple

    • @pantuternik
      @pantuternik 2 года назад +9

      This is what they should do in math class, yes

    • @mfn1311
      @mfn1311 2 года назад +2

      @@meowcow21 true

  • @juanayala863
    @juanayala863 2 года назад +1488

    Orisa used to not have fall off either. It was only added if OW 2

    • @Marblr
      @Marblr  2 года назад +565

      oh damn. not sure how I missed this. thanks, added to the description.

    • @MoiraPrime
      @MoiraPrime 2 года назад +139

      @@Marblr In OW1 the real killer for Orisa's weapon was her spread along with the dumb pattern of her projectiles. Made it hard to hit far off targets even though it didn't have falloff.

    • @josewolf9884
      @josewolf9884 2 года назад +39

      she was the go-to hero when you wanted to shut down turrets and brig

    • @kasm7870
      @kasm7870 2 года назад +23

      *Technically* Reinhardt’s Firestrike also has no falloff, but I’m not sure we’re counting that

    • @tommyIT
      @tommyIT 2 года назад +48

      @@kasm7870 his normal weapon doesn't have falloff too xD

  • @Newslnside
    @Newslnside 2 года назад +1053

    The great thing about Marblr is that in addition to being a great dev with experience from what you can see, he still leaves the bubble of most devs and knows how to explain very clearly each point he is going to explain, without ''internal'' jargon of developer and knows how to communicate with the end user :D
    by the way, I would love to see an explanation of how the game itself makes it easier for cheaters to appear and how they could mitigate this if the commands were not on the client side and hardware protection

    • @AhsanEU
      @AhsanEU 2 года назад +2

      He's a dev?! Of what game(s)!?

    • @0osk
      @0osk 2 года назад +18

      @@AhsanEU He's a dev for Marble It Up and used to be the producer for TF2.

    • @MarvelousButter
      @MarvelousButter 2 года назад +7

      @@0osk titanfall 2 of team fortress 2?

    • @0osk
      @0osk 2 года назад +36

      @@MarvelousButter OG TF2. I love titanfall but Team Fortress 2 is TF2.

    • @nicholasahrens2756
      @nicholasahrens2756 2 года назад +4

      His simplicity should not to be confused with a lack of understanding, he dumbs it down for us

  • @Azraelbtw
    @Azraelbtw 2 года назад +388

    Marblr could post a 10 hour video just reading the source code and I’d still watch it

    • @Static-EN-
      @Static-EN- 2 года назад +22

      a great voice can sell a video on its own

    • @joshp3446
      @joshp3446 Год назад +6

      @Marblr, You heard 'em, start reading

  • @ClaraBennett
    @ClaraBennett 2 года назад +395

    8:52 I have been wondering how they animated Sojourn’s backwards slide to have her legs go behind her without breaking her back. Kinda hard to see exactly in-game, but now I know!

    • @RochRich.
      @RochRich. 2 года назад +34

      Pause on the frames when she's about to hit the deck

    • @snewp_e2139
      @snewp_e2139 2 года назад +16

      I mean, she IS pretty robotic.

    • @aguyontheinternet8436
      @aguyontheinternet8436 2 года назад +10

      @@snewp_e2139 And, as rochrich showed, made out of rubber

    • @thinix396
      @thinix396 2 года назад +5

      They could’ve just had her lower torso twist backwards 180 degrees since she’s mostly cybernetic

    • @rever4217
      @rever4217 11 месяцев назад +1

      @@RochRich.Bro, that's elastigirl shit right there.

  • @robert_lemon5942
    @robert_lemon5942 2 года назад +163

    the editing here looks really neat, keep it up dude!

  • @iheizeus
    @iheizeus 2 года назад +158

    8:10 "Baptiste is the only support with damage falloff since he's the only one with a hitscan weapon"
    *Immediately cuts to the other support with a hitscan weapon USING her hitscan weapon*
    I love these videos lmao

    • @huntedperson3147
      @huntedperson3147 2 года назад +65

      The funny thing is that Ana most probably does have falloff as well, it's just that her impact damage is 0, but she applies a burn status effect for 70 damage over .6s

    • @Overqualification
      @Overqualification 2 года назад +18

      Ana does not have hitscan at all. In fact the bullet is quite slow.
      Edit: I’m half right. It’s hitscan when zoomed in, projectile when not.

    • @Overqualification
      @Overqualification 2 года назад +7

      @@huntedperson3147 She doesn’t have falloff since like you said, it just applies a burn effect. It does have a heavy bullet drop though so you shouldn’t be doing it from far.

    • @justaguy1304
      @justaguy1304 2 года назад +2

      The projectile doesn’t do any damage though, so I don’t think it really matters

  • @Wintercat1
    @Wintercat1 2 года назад +116

    The most surprising part about this video was not just learning that Widowmaker's sniper rifle has falloff, but that S1 Sojourn's minimum railgun damage was _almost twice as high_ as Widow's minimum sniper damage.
    What the heck were they thinking when they made Sojourn?

    • @Imitationist
      @Imitationist 2 года назад +20

      Let's nerf gengu since soj is so op! #blizzardlogic

    • @hierarchyofmood1220
      @hierarchyofmood1220 2 года назад

      So this proof that soljuorn is broken

    • @Trevelyan04
      @Trevelyan04 Год назад +2

      They were thinking ‘how can we move more of these s1 battle passes?’

  • @canineatnight6026
    @canineatnight6026 6 месяцев назад +11

    Now juno came to the picture, she is the first hero with healing fall off

  • @realchiknuggets
    @realchiknuggets 2 года назад +85

    "Baptiste is the only support with a hitscan weapon" - immediately shows Ana

    • @ArchSchizo
      @ArchSchizo 2 года назад +39

      Ana's noscope is a projectile, though. I assume he meant Bap was the only support with range falloff.

    • @realchiknuggets
      @realchiknuggets 2 года назад +2

      @@ArchSchizo yeah, I just thought the irony was funny

  • @Oddiffyart
    @Oddiffyart Год назад +6

    7:43 “Tank heroes, on the other hand, do have projectile range falloff”
    Well that aged well

    • @Draze_999
      @Draze_999 6 месяцев назад

      8:19 "There are no healing sources in the entire game that are affected by range-based falloff" did aged well since Juno

  • @RamsteinBus
    @RamsteinBus 2 года назад +70

    There is something so satisfying about learning information like this. I have like no use for it, but its cool. I love your videos

  • @willduncan6909
    @willduncan6909 2 года назад +33

    You’re to Overwatch 2 what shounic is to Team Fortress 2. I don’t even play, but the way you explain the inner workings of different mechanics is utterly captivating. Keep it up!

  • @sir_rhubarb
    @sir_rhubarb 2 года назад +61

    The quality of these videos is by far the best on this platform for any content like this. Absolutely love this

  • @jonahkey9313
    @jonahkey9313 2 года назад +36

    I’ve noticed something since overwatch 2 actually. For projectile heroes specifically, they don’t shoot from their cameras anymore like they used to, they shoot from their weapon within a very close range and, which then centers to their crosshair shortly after. It’s hard to describe, but it’s especially obvious with Torbjörn’s primary fire, since it has a trail. It shoots from the barrel of his rivet gun and will hit any objects in its path, then once it gets to the center of your screen it goes straight, basically making a turn midair. Just something i thought was interesting.

    • @bluefake_or_smt
      @bluefake_or_smt Год назад +10

      I can imagine that this is solely the visuals that behave this way. In most games, people shoot from the cameras center, but the shooting trail gets rendered from the weapons barrel towards the point they aim at. This is why if the weapon is behind an object like a wall, you can see how the trail goes through the object. They probably implemented that projectiles visuals quickly go towards where the projectiles hitbox is for visual clarity for enemys who might want to dodge the projectile
      Edit: Rephrase to make it clearer

  • @PH0B0PH1L1A
    @PH0B0PH1L1A 2 года назад +14

    perfect for my break at work, great content!

  • @WooYewMing
    @WooYewMing 5 месяцев назад +25

    please mark this as partially outdated! orisa's primary fire now has no falloff anymore, and the new character juno has healing fall-off in addition to her damage fall-off.

    • @Bence-en3wq
      @Bence-en3wq 2 месяца назад

      @@WooYewMing This was over a year ago, be fr.

  • @ranarman5866
    @ranarman5866 11 месяцев назад +7

    1:00 nah dude you didn't have do us dirty like that 😭😭😭

  • @reiballen
    @reiballen 2 года назад +6

    This content is so refreshing and impressive to watch
    Just seeing 90% of the comment section being praise is insane, keep it up

  • @dawnieedreams
    @dawnieedreams 6 месяцев назад +4

    "there is no healing sources effected by falloff"
    *juno enters the chat*

  • @georgenikitin3532
    @georgenikitin3532 2 года назад +5

    I always find your videos helpful, thank you so much for making me understand something probably won't need it in my life, but thank you!

  • @Iteration456-8_codename_goblin
    @Iteration456-8_codename_goblin 2 года назад +28

    Math but in a language I as an American can understand: firearms

  • @GoatZilla
    @GoatZilla Год назад +61

    i feel like you could have made a 1 minute video by just saying it was a step function, but then realized your audience is gamers.

    • @justwingingit8110
      @justwingingit8110 7 месяцев назад +6

      To be fair non programmers probably won’t understand step functions anyways

  • @kfed9834
    @kfed9834 2 года назад +1

    These videos are so strangely addictive, then again I love learning about weird number calculations, thanks for the vids

  • @cheddartaco
    @cheddartaco 2 года назад +1

    the way it calculates the percentage of the minimum and maximum damage to deal is really clever, hats off to whoever came up with it

  • @Wravnen
    @Wravnen 2 года назад +14

    Love these videos

  • @ForkGenesis
    @ForkGenesis 2 года назад +1

    Your videos are top-notch. I can't even comprehend how much time and passion is in every second of it.

  • @Neogears1312
    @Neogears1312 2 года назад +7

    0:18 then to 5.5 because blizzard hates commitment.

  • @cooldud3521
    @cooldud3521 2 года назад +1

    Bro you breakdown these concepts so well. You make everything so digestible.

  • @fortidogi8620
    @fortidogi8620 5 месяцев назад +1

    Youre a really good educator.

  • @twisted6177
    @twisted6177 2 года назад +1

    This video has greatly helped me understand game making technics, even though I havent started making 3d games (or any where close to doing so), This has greatly opened my mind to how a lot of technics work and I have since made my own damage fall off system on a 2d scale. Thank you! 🙏

  • @Sir-J-Raposo
    @Sir-J-Raposo 2 года назад +71

    Hey, Marblr, have you made a video about Armor changes? The one that the damage reduction decreases as the amount of armor decreases

    • @Marblr
      @Marblr  2 года назад +70

      no, but that is a good idea! demonstrating the change visually would be great.

    • @Bence3
      @Bence3 2 года назад +3

      awesome idea dude

    • @Harevald
      @Harevald 2 года назад +2

      @@Marblr Also please check out stacking effects. I know that Ramattra block stacks with armor but I don't know how much

    • @dubby_ow
      @dubby_ow 2 года назад +1

      @@Harevald his block is a flat 75% dmg reduction, i believe it stays at 75% no matter if you have armor or nano applied, because normally dmg reduction is capped at 50%, there was a bug with doomfist, that lowered his block to 50% if he got nano, because of this rule, but its fixed now

  • @randomcommentor
    @randomcommentor 2 года назад +1

    out with another BANGER
    keep it up, dude!

  • @Teku69420
    @Teku69420 2 года назад +21

    Top tier content as always!

  • @markes7cc
    @markes7cc 2 года назад +1

    Your best video yet 10/10

  • @kipitrash9403
    @kipitrash9403 2 года назад +3

    Hey man. Love your videos and editing style. Keep up the good work

  • @Vandassar
    @Vandassar 2 года назад

    Only found out about you recently. Loving these videos. Even if it's something I already understand. Having it visualised helps a lot with extra understanding.

  • @Klenzer
    @Klenzer 2 года назад +1

    Dude, you editing is insane! Good video

  • @IzzyIsntReal
    @IzzyIsntReal 2 года назад +13

    I love seeing the natural RUclipsr progression in which you slowly start to put more and more of your personality into your fact based videos. Very awesome ❤

  • @pachanas703
    @pachanas703 2 года назад +1

    The presentation on your videos is always phenomenal.

  • @PixelGM
    @PixelGM 2 дня назад +1

    Wow! This is the best video learn about Lerp! :O

  • @TroutFN
    @TroutFN 2 года назад +1

    Every single one of your videos is always so interesting

  • @supermobileman6055
    @supermobileman6055 5 месяцев назад +2

    8:22 This is no longer accurate, due to the introduction of Juno, which is the first here to have healing fall-off.

  • @YasielReyes
    @YasielReyes 2 года назад

    I hope you get the 1 mill play button 1 day, your videos are so good and high quality i love watching them so much

  • @samhhhhh
    @samhhhhh 2 года назад +1

    As always, fantastic breakdown. Super interesting stuff.

  • @gunnercat8045
    @gunnercat8045 2 года назад

    istg shounic and u gave educational video that burns brains but yet felt like a guilty pleasure

  • @JackeryPumpkin
    @JackeryPumpkin Год назад

    I LOVE these deep dives into mechanics

  • @Dasbulldoge
    @Dasbulldoge Год назад

    Loves these videos, and always love hearing Kirby 64 music! One of my favorite games growing up and hearing the excellent music is a blast from the past.

  • @MangoMarco
    @MangoMarco 2 года назад +1

    what a surprise, the damage is calculated exactly how you think it would what a great video

  • @S0LXH_
    @S0LXH_ 2 года назад

    I don’t comment very often, but damn, i’m in love with your editing dude 😍

  • @haniyasu8236
    @haniyasu8236 6 месяцев назад +1

    I know this is over a year old now, but _another_ possible source of the bug could be accidentally swapping the max and min falloff distances.
    Like you said, the game checks if the shot distance is less than the min, and then sets the damage to max if it is. Well, if the distance _intended_ to be the max is instead used as the min, the game will effectively use the highest damage value for the whole falloff range. It's only once you reach the very end of that range that the effect isn't there anymore, and the damage can fall down to the min again.
    Hopefully that makes sense, I had an embarrassingly hard time trying to explain that ngl.

  • @smilejakoby
    @smilejakoby 5 месяцев назад +1

    The insane damage falloff cassidy has is easily my least favorite part of his kit.

  • @clairedcaptions
    @clairedcaptions 11 месяцев назад +1

    I prefer the linear interpolation algorithm a+(b-a)*t, it’s the most straightforward to me, personally.

  • @titobobby5511
    @titobobby5511 2 года назад

    Your videos editing is so good I would love seeing you explain a wider variety of things

  • @DaBumo
    @DaBumo 2 года назад +9

    Marblr is the Overwatch equivalent to Tf2's Shounic. (Or Shounic is Tf2 equivalent to Ow's Marblr, however you want to look at it.)
    Both make real nice thumbnails, both have this relaxed voice when talking, both overanalyse certain game features and bugs (and why they happen) and every once in a while making fun video.

  • @myseglis
    @myseglis 2 года назад +10

    If all my programming classes were explained that well, I would've actually loved coding

  • @Steleaf
    @Steleaf 2 года назад

    Love your videos, also, shoutouts to the Kirby 64 music, it fits so well !

  • @princesscadance197
    @princesscadance197 2 года назад +1

    Ah yes, these are totally calculations I can quickly run in my head before each shot.

  • @HPsawus
    @HPsawus 2 года назад +1

    “Baptiste is the only one with a hitscan weapon”
    >immediately shows ana scoped shots
    😂😂

  • @hashemvo8841
    @hashemvo8841 2 года назад

    please never stop making these kind of videos.

  • @TakadoGaming
    @TakadoGaming Год назад +3

    8:33 Widow’s falloff range is no longer accurate with Season 5

  • @maowtf_
    @maowtf_ 2 года назад

    easily the most interesting overwatch youtuber

  • @F6NL
    @F6NL 5 месяцев назад

    love this guy, he just basically tells me which one is the best to play

  • @Jacket197
    @Jacket197 2 года назад

    Very high quality as usual! Great work!

  • @josewolf9884
    @josewolf9884 2 года назад

    Amazing video as always. I love the kirby 64 music so much.

  • @chuchionsocials
    @chuchionsocials 2 года назад +1

    6 5 6 and now they’re like uh yeah 5.5

  • @W00zl3
    @W00zl3 2 года назад

    These videos are absolutely fantastic. Each and every one of them.

  • @Toon444
    @Toon444 2 года назад

    Incredibly professional video. I enjoyed it a lot!

  • @JigglinJewels
    @JigglinJewels 5 месяцев назад +2

    8:20 As of Juno's release, this is no longer the case! :D

  • @HmongHeroo
    @HmongHeroo 2 года назад

    This really made me sit back and wonder why I was watching this. It's as if this was something I was going to be tested on.

  • @lucalucaa__
    @lucalucaa__ 2 года назад +3

    i love this guy
    these videos are so informative and expertly designed
    i even understand the tech stuff because of the way it's explained

  • @fagnerjb
    @fagnerjb 2 года назад +1

    Great video! As always! I have a suggestion: how "headshots" are calculated for non-standards powers? Like, a few days ago, a Reinhardt "headshot me" with Earthstrike o.O

  • @ScoutOW2
    @ScoutOW2 2 года назад +1

    Heres 2 ideas id like to see in a video!
    How does Mai's attack work? Is it a line trace with a particle thats all for show, or is it like Pyro in TF2 where the particles are supposed to be the hitboxes?
    How does the spawn room collisions work? Like the door has a texture displaying where the door is, but if thats separate to a box collider in spawn, it feels always perfectly aligned. Which would be hard to do since door frames poke out alot in OW and theres no map to my knowledge where you can get the healing properties by smothering a spawn wall on the outside.

  • @phoenixjedi9889
    @phoenixjedi9889 2 года назад

    I’m glad you posted this because i headshot a pharah with widow to 16 hp was so confused

  • @itaypooO
    @itaypooO 2 года назад

    Great video. Helpful for my game development

  • @Power0nGames0
    @Power0nGames0 2 года назад

    that subtle roast of landing a shot being the hardest part

  • @SeisoYabai
    @SeisoYabai Год назад

    That calculation is rather ingeniously designed. It might be "easier" to do something like 21 +(max damage * 1/distance) or solely like that, but youd probably need an if statement so it only takes place after the intended minimum distance. This formula saves a couple lines of code by smushing it all into one equation. Pretty cool!

    • @bluefake_or_smt
      @bluefake_or_smt Год назад

      Many Math libarys already have Linear Interpolation (in short Lerp) implemented as an method/function. It saves time and makes the code more readable to just write it with Lerp. Also, divisions tend to run slower than other arithmetic operations on your CPU. But this is just a small microoptimization that wont impact the game that much
      Edit: He even stated what I said in the description: "These techniques are not unique to Overwatch, so you can apply these concepts to most other games. Furthermore, these functions are typically not hand-written and are instead abstracted away in math libraries, e.g. Mathf.Lerp() in Unity."

  • @Kodiac
    @Kodiac Год назад

    You are such an important part of this game. I wish you were more well supported blizzard or others !

  • @BLUDHOUNDZ
    @BLUDHOUNDZ Год назад

    Just sourced this video for one of my final papers, thank you for all you do Marblr

  • @xlegiofalco
    @xlegiofalco 2 года назад

    i didn't plan on waking up today and doing math. i am still committed to this, i like your funny words mr magic man

  • @khaledahmed9136
    @khaledahmed9136 2 года назад +1

    Top tier math class, I love knowing how the game works even if I can't apply that

  • @mikey6004
    @mikey6004 2 года назад

    Another banger video. He does it everytime.

  • @IndianaBones027
    @IndianaBones027 3 месяца назад +1

    Just as a note for anyone watching this after Juno's release:
    There is a piece of outdated info in the gamer observations section of the video as Juno is the first hero to have healing falloff.
    (Inconsistencies like this is bound to happen due to the game getting updates with balancing, reworks and adding new heroes.)

    • @Leuhim
      @Leuhim 2 месяца назад

      Oh cool wasn't aware of that. Thanks

  • @connorflammer8577
    @connorflammer8577 2 года назад

    Im currently around the school grade where we learn this level of algebra and It's so much more refreshing seeing it used in something I love rather than a sheet of irrelevant paper

  • @gidkid100
    @gidkid100 2 года назад

    A small critique on the script for this video. When speaking about the normalized distance between targets you were explaining it correctly, but what was happening on screen actually lined up to be opposite of what you were saying when you were saying it. This could confuse some people and it would be better to switch it or double check the timing when talking about something similar in the future.
    Super informative though. 👍🏼

  • @Chmmr
    @Chmmr 2 года назад

    fun fact, mei icicles used to have damage falloff, being the only non-tank projectile with falloff
    also i had no idea tanks had falloff on their projectiles, it seemed like design-wise that was the balance tradeoff for hitscan vs projectiles. hitscan have no travel time so its easy to hit far away but to balance it they do less damage, projectiles are harder to hit at range so they do more

  • @kurvakardos
    @kurvakardos 2 года назад

    Now he hit the griddy too... Can't believe it

  • @myster1ousdemon
    @myster1ousdemon 2 года назад

    wow. someone's good at explaining things

  • @schniemand
    @schniemand 2 года назад +10

    My first thought was that Tracer's normalized falloff value was probably rounded to an integer by mistake
    So it would suddenly go from max damage to min damage

  • @TheLiverX
    @TheLiverX Год назад

    Regarding Tracer bug, it is very simple. If-else statement will behave as such if min and max are flipped.
    If-else algorithm first checks if the current distance is OUTSIDE the linear interpolation range. If min and max are flipped, any distance is outside and either one of the edge values are always chosen, hence the sudden change. It is easy to test by taking 3 points: to the left, within, and to the right of interpolation.
    What's more amusing, this can also be implemented by clamping the interpolation coefficient within 0-1 range, removing the need of in-range checks. In that case if min and max were flipped Tracer's damage falloff would have been reversed. I'd love to see how'd that play out.

  • @vekethegamer3786
    @vekethegamer3786 2 года назад

    These videos help in game dev so much :D

  • @fouxe1731
    @fouxe1731 4 месяца назад

    I'm not playing overwatch at all, I just wanted the damage fall off formula and I got it. Perfect.

  • @HopelessIdeology
    @HopelessIdeology 9 месяцев назад

    Getting a random 1 shot with a road hog right click was pretty powerful before the falloff nerf. It still did randomly 1 shot someone but much less for me.

  • @mr_ALG
    @mr_ALG 2 года назад

    Thank you for this explaination .

  • @trigotauro3631
    @trigotauro3631 2 года назад +1

    You should do a video talking again about assists but in ow2, does doom now gets assists more often? How does kiriko’s cleanse affects the assist timers, does junkerqueen, rammattra, sojourn or kiriko get any special interactions? And now that orisas supercharger is gone, what heroes no longer have the assist privilege? It would be really intresting

  • @aqueleRu
    @aqueleRu 2 года назад +6

    Overwatch 2 has so many bugs that Marblr will have content forever.

  • @aceviscontl8650
    @aceviscontl8650 2 года назад

    the ways these videos are structured remind me of shounic which i love

  • @Theotherone12
    @Theotherone12 2 года назад

    Great video as usual!

  • @corndotca
    @corndotca 3 месяца назад +1

    8:18 we now have juno who has both damage falloff and heal falloff lol

  • @arshadsiddiqui9071
    @arshadsiddiqui9071 2 года назад +5

    And now tracer is 5.5 dmg

    • @ciach0_
      @ciach0_ 8 месяцев назад

      aged like milk