Why Is GTA 5 Traffic So Bad?

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

Комментарии • 2,3 тыс.

  • @DarkViperAU
    @DarkViperAU Месяц назад +1410

    Excellent video mate! It was sent to me by dozens of people and was really eye opening. I guess if you play the game for thousands of hours, even in single player, you will eventually run into one of these scripted abrupt lane changes that just happen to coincide with your passing. You should check out tow trucks and how they interact with these markers, as they are definitely very broken. I have witnessed them phasing into the ground, numerous times, to change lanes. It seemed targetted at the time but I accept your explanation that it was not so and it was just coincidence.

    • @ObviousMalcolm_PLUS
      @ObviousMalcolm_PLUS  Месяц назад +246

      By the amount of people I saw mentioning you, I figured it was a matter of time. But yes, some vehicle types are especially buggy. The same way trucks natively do not yield for emergency sirens for some odd reason, as discussed in the video. I guess its just good old RNG ruining runs mixed with Rockstar's spaghetti coding

    • @joshstraub6972
      @joshstraub6972 Месяц назад +30

      The gta guy himself

    • @Rachel-s4d
      @Rachel-s4d Месяц назад +5

      Hey poo poo buddy hey hey

    • @dotnask0001
      @dotnask0001 Месяц назад +5

      I was wondering why you had never mentioned something about this in rambles.

    • @kartontogej
      @kartontogej Месяц назад +8

      Micheal went to witness protection

  • @Mroziukz
    @Mroziukz Месяц назад +3924

    The often reason for crashes is also that:
    1)NPCs dont use turn lights.
    2) They make unreasonable and unrealistic sharp turns when changing lanes or going down the street.

    • @chibisayori20
      @chibisayori20 Месяц назад +113

      i think turn lights are visual only, in GTA IV they prob activated them once a npc enters right/left lane, i think it's still in V just isn't acivated most of the time

    • @PiniutLEGIT
      @PiniutLEGIT Месяц назад +97

      They use turn lights, but it's very rare.

    • @NeutronixRL
      @NeutronixRL Месяц назад +42

      also they dont have proper reflections in their wing mirrors lmao

    • @elgusanito4971
      @elgusanito4971 Месяц назад +29

      I don't think that NPCs using turn lights will be enough for a player to dodge them while going at almost warp speed...

    • @narrativeless404
      @narrativeless404 Месяц назад +49

      ​@@PiniutLEGIT They only use turn signals on scripted turns.
      Random unrealistic lane shifts not included

  • @Pedro-fh9ec
    @Pedro-fh9ec Месяц назад +5878

    So... NPCs don't do it because they see you coming, they do it because they *don't* see you coming.

    • @SpectateDrake
      @SpectateDrake Месяц назад +95

    • @Death_Jaw
      @Death_Jaw Месяц назад +44

      Yes.

    • @XDMIIIIIIIII
      @XDMIIIIIIIII Месяц назад +309

      Nah they definitely swerve into you at least on missions

    • @ZackeryMccoy-d9e
      @ZackeryMccoy-d9e Месяц назад +142

      It’s possible that gta online’s system isn’t exactly the same and he’s just viewing what the single player has

    • @beartrap8625
      @beartrap8625 Месяц назад +39

      @@XDMIIIIIIIIInever had on crash into me in the 11yrs the games has been out lol. Just don’t hit them it’s simple

  • @cpljimmyneutron
    @cpljimmyneutron Месяц назад +2361

    DarkViper has a video clip from a speed run where a truck slid sideways across 4 lanes of traffic and hit him... this was on a straight stretch of highway and in single player.

    • @haymantaylor7583
      @haymantaylor7583 Месяц назад +285

      Yep. Was a tow truck. I believe he was heading westbound and had just crossed the bridge over the highway just south of the casino.

    • @jamespeake4883
      @jamespeake4883 Месяц назад +217

      IIRC it literally clipped into the ground to do it

    • @nightwolf9951
      @nightwolf9951 Месяц назад +202

      Most often it happens in story mode if you are going only straight for some time.. I'm guessing they wanted to make it so that your driving never feels "stale", rather it being more dynamic that way... Sadly it often just ends up being frustrating cause those random NPC swirls just feel way too unnatural and break immersion imo

    • @speedstyle.
      @speedstyle. Месяц назад +196

      @@nightwolf9951 The entire video is dedicated to explaining that's not the case?? They're unnatural because they're programmed simply, not because they're reacting to anything you did

    • @unslept_em
      @unslept_em Месяц назад +15

      anyone have a link?

  • @66woundz
    @66woundz Месяц назад +104

    Former competitive gta 5 racer ( ik sounds cringe but there is a real community and its huge ) from 2016-2021 the NPC’s weren’t too much that way when I first started but the racing community I was in actually was able to point out that the NPC’s started acting THIS WAY AFTER THE UPDATE WHERE YOU HAVE TO STEAL THE CARS AND BRING THEM BACK UNDAMAGED FOR A HIGHER PRICE

    • @mindbucking
      @mindbucking Месяц назад +5

      competitive racing in gtaV? makes absolutly sense...

    • @smokinsnookiiie
      @smokinsnookiiie 27 дней назад +4

      I was gonna say I played alot of gta 5 not like that but just messing around some missions here and there, I can fully agree it NEVER happened like that until one day I hopped on after awhile

    • @AspenAren
      @AspenAren 13 дней назад +1

      @@mindbucking The game takes components from their other game Midnight Club, so it's not that far fetched.

    • @joereilly8890
      @joereilly8890 5 часов назад

      This! I think this is a whole separate conversation, I think the AI online is different than the single player AI. I predominately play online but once in a while I go back and do a campaign play through and the difference is noticeable, it doesn’t happen nearly as often when offline.

  • @theslavscav
    @theslavscav Месяц назад +1784

    If you really played GTA Online for several years and paid some attention, you should be very familiar with a certain NPC pattern that happens on junctions (in downtown most often). If a player is speeding through a red light, there's about a 70%-80% chance a very fast NPC will spawn on the street that had green and fly through the junction. Not only will it brake hard immediately when it clears the junction, it will also slow down if the player slows down, intentionally timing it to get t-boned. Even if you spot this a$$hole early, he's quite difficult to avoid.
    This behavior is perfectly reproducible, I confirmed it with my friends and this is the hill I'm willing to die on

    • @fightlikabrave
      @fightlikabrave Месяц назад +278

      Exactly my point. the T-Bne bombers AND the "turn into you b/c im scared" NPCs have ruined the fun and realism.. its SO stupid and R* should fix it.

    • @Shoxic666
      @Shoxic666 Месяц назад +110

      I think those guys are a result of the AI breaking off its nodes out of panic, they see the collision as the last second and it stops them just driving normally, ironically causing a crash.

    • @fightlikabrave
      @fightlikabrave Месяц назад

      @@Shoxic666 but they always turn INTO you instead of AWAY from you..and its the SAME everytime..and been happening for a decade+ lol its in the code surely

    • @IamMortui
      @IamMortui Месяц назад +103

      Every single time, seems even more so on a motorcycle. I've had this situation happen so many times and even when braking or avoiding, it's programmed to match your speed to force you into a collision. Seems to be based on some sort of time of when your last collision was.

    • @SoloDallasII
      @SoloDallasII Месяц назад +51

      Also happens in SP. Usually big buses or trucks. Dead obvious that it's scripted because of how they match your speed and position.

  • @DeAndSp
    @DeAndSp Месяц назад +3427

    I feel like you and DarkViperAU need to talk.

    • @RealFemale69
      @RealFemale69 Месяц назад

      Right? There's more than enough footage of him proving it

    • @upcam6982
      @upcam6982 Месяц назад +39

      Yess

    • @robertemery8660
      @robertemery8660 Месяц назад +22

      Yes

    • @papachefe
      @papachefe Месяц назад

      darkviper is a stuck up buffoon

    • @thedooonty123
      @thedooonty123 Месяц назад +264

      Yo imagine gtaguessr between these 2
      "Oh yeah i recognise this street because of the slip node that causes traffic to cut lanes" 😅

  • @Biggyzy
    @Biggyzy Месяц назад +956

    its funny when you realize thats scripted events with NPCs in cars have been added, removed and re-added again. for someone thats been around the modding part of it too, yes there are physical scripts for these "kamikaze" npcs

    • @FredGlt
      @FredGlt Месяц назад +44

      Seems intended for police vehicles.

    • @Literallyryangosling777
      @Literallyryangosling777 Месяц назад +24

      Could you post a video showing those scripts?

    • @bradofthe1topg
      @bradofthe1topg Месяц назад +3

      Are you talking about the npcs that swerve then dissappear from inside the vehicle?

    • @marklarizzle
      @marklarizzle Месяц назад +8

      Hyper volatile, all black, car of any type, has entered the chat.

    • @GreenHouseM13
      @GreenHouseM13 Месяц назад +90

      It is 100% scripted. There's a lot of video examples on whatever57010's channel.
      All this video is about is traffic pathing which is irrelevant. The problem of NPCs crashing with you isn't related to pathing, it's something like an event that is triggered, which causes an NPC to ignore current pathing and instead go towards the Player.

  • @xxZerglorDxx
    @xxZerglorDxx Месяц назад +357

    I remember running the import/export business back in the day in online, and even in missions with absolutely 0 enemies, no gun shots, and im driving at least somewhat cautiously (not pissing off NPCs), the NPCs would still swerve into me, switch lanes to block paths, and pass through intersections right as I'm going through them to block me. It drove me to genuine insanity.

    • @SanjanaRanasingha
      @SanjanaRanasingha Месяц назад

      😂

    • @FlowKio
      @FlowKio Месяц назад +18

      Yeah I use to play on friend only servers back in the day grinding and I always had npcs driving right into me even when I slow down some would take a wide u-turn to bump into me 😂

    • @niyazmeah7142
      @niyazmeah7142 Месяц назад +11

      Yeah i remember noticing none of that would happen before the import /export DLC

    • @Cuunke
      @Cuunke Месяц назад +4

      i'm saying it's like the NPC's go "no wait i decided I want to go this way" at the last inconvenient second to ruin your mood

    • @Dominik7T
      @Dominik7T Месяц назад +1

      I think im going to download the gta and just do the import mission and post it on yt with results...

  • @Joshinken
    @Joshinken Месяц назад +457

    As for the “i couldnt find any cases of this happening in singleplayer”, theres a clip of dark viper getting cut off by an npc that literally teleported in front of him, only for that same npc to run him over immediately after the first crash

    • @MrJeffschefke
      @MrJeffschefke Месяц назад +34

      Seriously makes me wonder how much research this guy did, I sware every knows his struggles with NPCs 🤣

    • @StalwartTirith
      @StalwartTirith Месяц назад +35

      @@MrJeffschefke I know right? It's not like he addresses every major point people bring up and also shows his work and backs it up by showing the source code.

    • @MrJeffschefke
      @MrJeffschefke Месяц назад +11

      @@StalwartTirith I must of missed where he goes over the actual sorce code involved here... The sorce code for this game is out there.. I didnt see any real proof here that it cant be in the game it could be a seperate scripted action.
      But your more then welcome to not agree with me.

    • @Whooler6by
      @Whooler6by Месяц назад +9

      @@MrJeffschefke Not agree? You've literally been proving wrong in the video you're writing a reply under. AI "teleporting" (they spawn, not teleport) is again, bad rendering and desync. This isn't a V issue either, other games with traffic AI have objects that will render in front of players.

    • @MrJeffschefke
      @MrJeffschefke Месяц назад +8

      @@Whooler6by So what is the time stamp where he shows the actual code that "proves me wrong" ? Do you think its Desync or did we go over the full code and show theres nothing in it? Or did we just cover a few "how it works" and could of missed something in the actual source?

  • @MrZombiekiller787
    @MrZombiekiller787 Месяц назад +345

    One thing about peer-to-peer networking in GTA Online - All the traffic/NPCs are "OWNED" by players. Their state is not managed by a server (as there isn't none, it's P2P) - Usually ownership of NPC's is dictated by proximity, but sometimes "ownership" can stick between players, which means traffic you're moving beside along, could actually be "owned" by a player 300-400 meters away from you, and since AI traffic is simulated by the owning entity, the player that's far away from you might not have all the information/state that's surrounding you, and therefore making the AI act unpredictably.
    Could be a big factor.

    • @retardedchromosome3923
      @retardedchromosome3923 Месяц назад

      Never thought of this, great point. But it happens even more in solo lobby. As I see it there are 3 big factors equally annoying - the path finding ai mess, p2p and the mystery code that I’m 100% convinced exists that makes the ai ram you on purpose at high speeds

    • @pascal2085
      @pascal2085 Месяц назад +23

      I would assume that the "Owner" dumbs down far away NPCs to save cpu performance.

    • @ccoder4953
      @ccoder4953 Месяц назад +23

      @@pascal2085 Even if they don't, perfect syncing between multiple "servers" (because that's effectively what each client is in a peer-to-peer network) is really hard, especially if the data links between those servers aren't the greatest. The owner of that traffic probably doesn't have perfect knowledge of your position at all times. So their car AI has just as hard of a time figuring out what to do around you as you would if cars were randomly glitching around as they drive down the street. I mean, how would you react if suddenly that car in the next lane is right in front of you, then, a split second later, is right behind you?

  • @2boid
    @2boid Месяц назад +729

    it's the rockstar employees spying on us...

    • @ObviousMalcolm_PLUS
      @ObviousMalcolm_PLUS  Месяц назад +99

      Now that i could believe

    • @Thunder_unit00
      @Thunder_unit00 Месяц назад +19

      Dude I spent days with rockstar support troubleshooting survival mode and then the fix was doing the tutorials in the lobby in freemode like I was syncing up with a new character, before I did all of that the game asked me if I liked to redo my character appearance but I wasnt a new character but level 98. I believe after seeing this method of troubleshooting from rockstar support there is some truth that they are in lobbies watching us lol

    • @Josh-jw3go
      @Josh-jw3go Месяц назад +11

      In online there are random traffic vehicles occasionally that I can lock on to with homing misses which gives this credibility

    • @UnrebornMortuus
      @UnrebornMortuus Месяц назад

      so true.boutya dropna truth bomb
      theyre linked with spectrum and darrpa

    • @pizzacatz3174
      @pizzacatz3174 Месяц назад

      Yes the classic rockstar did it. show us on the dolls where rockstar touched you

  • @Nasrul260
    @Nasrul260 Месяц назад +1528

    Rockstar intentionally coded the cars to drive into you ❌
    Rockstar does a terrible job at optimizing 12 year old code for modern hardware ✅

    • @koji5705
      @koji5705 Месяц назад +126

      I genuinely believe it's coded intentionally for you to get frustrated and give up making money legit and spend money on shark cards, that's probably the intention for it anyway.

    • @TKMacsta
      @TKMacsta Месяц назад

      @@koji5705nope

    • @Rootiga
      @Rootiga Месяц назад +54

      the problem is that it DOES happens in story mode... i got banned from online 7 years ago, and have played through story twice and this shit still constantly happens

    • @koji5705
      @koji5705 Месяц назад +1

      @@Rootiga if so thats even more screwed up

    • @MeadeJ67
      @MeadeJ67 Месяц назад +5

      No, that's not correct either...

  • @postl3
    @postl3 Месяц назад +149

    NPCs will literally drive onto oncoming traffic to hit you. Its either intentional or the code is falling apart, no in-between

    • @automation7295
      @automation7295 Месяц назад +32

      NPCs literally swerve onto oncoming traffic to hit the player was likely intentional since it's been like that since the game released in 2013.

    • @postl3
      @postl3 Месяц назад +8

      @@automation7295 Oh great so Rockstar has made our lives miserable since the beginning, great

    • @Justinbadger4
      @Justinbadger4 Месяц назад +10

      he covers exactly what you said at 23:03, I don't wanna debunk your validity, but I do want to mention, that he did mention it in the video

    • @postl3
      @postl3 Месяц назад +7

      @@Justinbadger4 Although it probably is faulty map design that causes NPCs to act out, there has to be some sort of intention behind it. Like for example; literally numerous times I have been driving past a red light and an npc will move their car in-front of my path and complete a full stop in front of me, like they were coded to stop my momentum

    • @phantomsrage6523
      @phantomsrage6523 Месяц назад +5

      Npcs also do this on RDR2, its absolutely intentional

  • @sebaflow_arg
    @sebaflow_arg Месяц назад +195

    You conveniently left something out. Speed matching on junctions to force you to T-bone them. I'd love to see your take on that.

    • @terrylandess6072
      @terrylandess6072 Месяц назад +6

      If stuff like that happened when you were free riding instead of only when in a scripted event would help the cringe.

    • @TheJakebriscoe
      @TheJakebriscoe Месяц назад +11

      The programmed the ai to turn into you if you are going to fast ….. back in the day PlayStation could handle the frame rates and the map and ai wouldn’t load in as well if you were going to fast . So they programmed the ai to make you crash. This guy is reading the code when most of us have spent thousands of hours in the game to understand the behavior.

    • @OrangeHeadTM
      @OrangeHeadTM Месяц назад +8

      This literally happens delivering cars from my vinewood auto shop. There's a few intersections to the west, where you can see these cars coming at Mach 1. And it leaves the profit at the same number everytime, 24,414 or something like that. Its 100% coded.

    • @Whooler6by
      @Whooler6by Месяц назад +23

      @@TheJakebriscoe Except you don't understand it, because you aren't looking at the code. The code quite literally tells you WHY the AI are dogshit at being traffic. You're just making assumptions with "trust me bro" as a source.

    • @joblo2671
      @joblo2671 Месяц назад +1

      Thank u! Idk why tf R* wont just fix this bs!!

  • @Eldraculaboy23
    @Eldraculaboy23 Месяц назад +199

    I’ve been driving around Los Santos trying different things with traffic and something that I’ve been realizing is that if u drive through the city at max speed with any car and honk your horn most cars that would normally swerve into you they don’t and I’ve had less crashes, it doesn’t work all over the city but in most roads it does

    • @martontichi8611
      @martontichi8611 Месяц назад +6

      yes!!!

    • @Fable1724
      @Fable1724 Месяц назад +45

      To add to this, if you just hold your horn down constantly the NPCs seem to return to their normal behavior of not noticing you, if anything holding it down will aggrevate them.
      I find using the horn is useful when you keep pressing it, like you have to recently have pressed it in the NPCs vicinity to get them to avoid you.

    • @jordan-mn6yy
      @jordan-mn6yy Месяц назад +1

      I have had to do this honking as well just in order to have more realistic and humane traffic that isnt coded to ruin the game. But clicking honk all the time ruins immersion too

    • @chuggingtar
      @chuggingtar Месяц назад

      Driving at night with all lights turned off seems to make you even more "invisible" to them as well, not nearly as many scripted events

    • @Oroborus710
      @Oroborus710 Месяц назад +6

      Yup, I've 100% noticed that when I honk like a madman (in single player OR online) I experience far fewer kamikaze NPCs pile driving me into the nearest solid object. Use that horn lads.

  • @SoloDallasII
    @SoloDallasII Месяц назад +125

    I think there's something you're missing; that separate scripts can override the basic pathing. For example, there are scripted buses and trucks that will cross an intersection when you approach at high speed. You can tell they are scripted because their speed increases or decreases to match yours so that you are guaranteed to arrive in the intersection at the same time. Once they cross the intersection, they resume their normal slow speed. It's not just about making lane changes into you. BTW I never play Online, only SP and I run into this stuff all the time. In the Vinewood Hills back roads, oncoming traffic will match up with the car in front of you to block both lanes right as you arrive and need to pass the car in front. Every single time. Not even "often", I mean I challenge you to find an instance of it not happening.

    • @maryedmonds4350
      @maryedmonds4350 Месяц назад +12

      Stuff like this is very obvious to see

    • @terrylandess6072
      @terrylandess6072 Месяц назад +1

      This has the result of having me use a bike everywhere. When you drive on the wrong side of the road between traffic or on sidewalks, the code doesn't know how to act.

    • @TheJakebriscoe
      @TheJakebriscoe Месяц назад

      The programmed the ai to turn into you if you are going to fast ….. back in the day PlayStation could handle the frame rates and the map and ai wouldn’t load in as well if you were going to fast . So they programmed the ai to make you crash. This giy breaks down the code and most of us have put thousands of of hours in the game to understand the behavior

    • @massmanpro
      @massmanpro 14 дней назад

      Yup. Surprised this wasn't adressed

  • @fairplaymaxx7576
    @fairplaymaxx7576 Месяц назад +279

    I don’t mind that the traffic simulation isn’t perfect, but when a car spawns facing the wrong direction and then abruptly corrects itself with an unrealistic rotation, it really breaks the immersion.

    • @nothughmahn
      @nothughmahn Месяц назад +28

      Or when I started to walk across an empty street and a car spawned and immediately plowed into me at 80mph the second I touched the road. I literally have a video of it, too.

    • @Clown_zer0
      @Clown_zer0 Месяц назад +5

      2013 game btw but yeah I get that

    • @toobin_
      @toobin_ Месяц назад

      @@nothughmahnpost it

    • @ZiddersRooFurry
      @ZiddersRooFurry Месяц назад +2

      Why are you worried about immersion? It's GTA not Dragon Age.

    • @automation7295
      @automation7295 Месяц назад

      So people don't mind traffic being Nazis in games?

  • @deanchur
    @deanchur Месяц назад +22

    Looking at the comments there's 2 consistent points about NPC traffic that people think weren't addressed:
    -Speed matching at intersections, where a large vehicle (bus, truck, etc) crossing perpendicular to you will match your speed to try and force a T-bone collision.
    -NPC's are more likely to drive erratically around you and intentionally try to hit you during missions and when you're driving expensive vehicles.

    • @callsignapollo_
      @callsignapollo_ Месяц назад +8

      We know Rockstar programs pedestrians to comment on you having an expensive car, how hard is it to believe there's a part of that system that makes npc drivers act more erratic around expensive cars?

    • @reeman2.0
      @reeman2.0 28 дней назад +2

      Exactly. He doesn't actually show the source code, as that would be illegal given the game's proprietary nature - he only shows the game's files using modding software. How difficult is it to imagine that there exists a script that overrides this in missions??

  • @YOEL_44
    @YOEL_44 Месяц назад +181

    You missed the whole point.
    Please test this while doing vehicle cargo missions, you'll see how they just bump you, then go back to their regular path.

    • @YOEL_44
      @YOEL_44 Месяц назад +34

      @mekacrab No, he explains why cars change lanes erratically, which is because of poor path design decisions mostly, but those cars try to dodge you if they notice you (which just happens when you're in front of them).
      The traffic in those specific missions actively goes towards you, no matter if they see you or not, heck you could even be completelly still in a sidewalk, and they would still bump you.

    • @yobrethren
      @yobrethren Месяц назад +43

      ​@@mekacrab if you didn't notice the obviously different behaviour of NPC during I/E missions i envy you, *because i swear on my left nut* they change lanes more often than not. Once you're out of the mission NPC return to normal free session behaviour. *Something* definitely changes once you enter a state of I/E missions, and it's a hill i will die on.

    • @TheHardcoreGamer1
      @TheHardcoreGamer1 Месяц назад +12

      @@mekacrabYou clearly don’t play the game to understand what they are referring to lol

    • @GIRTHYANDITCURVES
      @GIRTHYANDITCURVES Месяц назад

      ITS MORE ABOUT JUNCTIONS!!!! WHEN YOU BOMB IT AN NPC WILL SPEED UP OR SLOW DOWN TO PERFECTLY INTERCEPT YOU AT AN INTERSECTION

    • @TheJakebriscoe
      @TheJakebriscoe Месяц назад +2

      The programmed the ai to turn into you if you are going to fast ….. back in the day PlayStation could handle the frame rates and the map and ai wouldn’t load in as well if you were going to fast . So they programmed the ai to make you crash. This guy reads the code when most of us have spent 1000s of hours understanding the behavior

  • @Galeriarch
    @Galeriarch Месяц назад +97

    14:50 I could never enjoy following traffic in GTA 5 as I did in GTA 4 because of this. You are constantly put in a situation where every single light is red and no traffic advances.

    • @kajmak64bit76
      @kajmak64bit76 Месяц назад +1

      Classic New York traffic experience

    • @TonyMendez-w5g
      @TonyMendez-w5g Месяц назад

      Hahaha so true 😂😂 I gotta honk sometimes so they move it actually works for me tbh

  • @policedriver
    @policedriver Месяц назад +83

    As a map modder and maker, this is a great in-depth analysis, helpful for anyone wanting to add traffic to their map. Great job explaining

    • @youngknight5589
      @youngknight5589 Месяц назад +9

      @@policedriver its surprising how little talk there is about stuff like this tbh

    • @mattmcintyre7083
      @mattmcintyre7083 Месяц назад +7

      Except he's wrong about NPC behavior.

    • @FlowKio
      @FlowKio Месяц назад +9

      @@mattmcintyre7083yeah this was a clickbait to explain mechanics not investigating the myth

  • @wickermind6668
    @wickermind6668 Месяц назад +75

    One thing that is blatant though is the rubberbanding speeds some of these NPCs have. The node system explains why NPCs carelessly careen in front of you or into you, but it doesn't explain when NPCs literally change their speed when going through a junction to always get in your way. You can literally see them slow down or speed up based on your speed to try and get you into a T-bone.

    • @lordkrythic6246
      @lordkrythic6246 Месяц назад

      Literally? Like literally, literally?

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

      @@lordkrythic6246they said it twice

  • @Thismightbeoffensive
    @Thismightbeoffensive Месяц назад +14

    Cars suddenly swerving into oncoming traffic directly into you. Happens on that stretch of road near Madrazos ranch. This invisible obstacle kind of sounds like rockstars way of making NPCs crash into you. A random obstacle just so happens to glitch at the exact spot that would cause a collision? Sounds suss

  • @whatever57010
    @whatever57010 Месяц назад +20

    This was so informative... Cool video man 👍

    • @Whooler6by
      @Whooler6by Месяц назад +1

      The man himself

    • @y2srj
      @y2srj Месяц назад +3

      That better be sarcasm, since this video is obviously flawed, but maybe the guy just didn't find the "crash into player at all cost flags" in THE CODE. I had countless moments of traffic going into "intercept mode" in invite only sessions, with no shooting whatsoever. I don't record my gameplay but i'll never forget when in online a parked (and completely empty car) thrusted itself across two lanes into me, was that a bug? Maybe the empty part, the interception was clearly scripted.

    • @deathlessgamer
      @deathlessgamer 4 дня назад

      You literally have a video disproving his point. Source: ruclips.net/video/yb0AgzRIYZM/видео.html

    • @whatever57010
      @whatever57010 4 дня назад

      @@deathlessgamer it's not disproving, and he addressed some of the stuff my video showed.
      and even if he is wrong and they find the code saying "if player crash into" this video still contain interesting information

    • @ObviousMalcolm_PLUS
      @ObviousMalcolm_PLUS  3 дня назад +1

      Appreciate it. And so glad to see you here. And yeah, let me reinforce that I encourage anyone to truly find the code. Im not against being proven wrong. It would actually add an interesting "lore" to the whole game design of Rockstar games

  • @WolfVidya
    @WolfVidya Месяц назад +58

    This has nothing to do with the problems described by players. You can absolutely go to a private session (or do the sharding session trick if that still works) and try to deliver a vehicle from the import/export garage. Even when the guys that shoot you up (for no reason, thanks rockstar) haven't spawned, NPCs are gonna pull that bullshit no matter which road you take.

    • @altaiir8228
      @altaiir8228 Месяц назад +17

      Exactly, this guy doesn't know what is talking about

    • @MyAmazingUsername
      @MyAmazingUsername Месяц назад +8

      @@altaiir8228 There are even personality flags for drivers to say how aggressive they are, which is how much they will break traffic rules and do road rage stuff. Video author does not know what he is talking about.

    • @Whooler6by
      @Whooler6by Месяц назад +3

      ​@@MyAmazingUsername You clearly didn't watch the video.

    • @Whooler6by
      @Whooler6by Месяц назад +1

      @@altaiir8228 You clearly didn't watch the video.

    • @MyAmazingUsername
      @MyAmazingUsername Месяц назад +4

      @@Whooler6by I coded GTA mods instead. I know a lot more about this than the video author.

  • @robot_spider
    @robot_spider Месяц назад +11

    Programmer here: I suspect you already know all this, but for anyone else that’s curious… YES, XML is text. But it’s structured text. The brilliant part is that it can be “ingested” (deserialized) by a program and become an in-memory object at runtime-time. Its properties can be edited in notepad (if you have a death wish) and DON’T HAVE TO BE RECOMPILED, which is the great part. Though it’s also why loading can take so long. Making an in-memory object into human-readable text is super convenient for developers and modders alike.

  • @W4rm0ng3r
    @W4rm0ng3r Месяц назад +227

    Your own test doesn't work because you drove nice and slow. Try doing that again except in a "high value" vehicle (expensive cars or mission vehicles) and drive faster and watch certain NPCs ahead of you matching your steering inputs 1:1 so that you crash into them. There is no reason for some guy with a minivan to mimic my swerving through traffic to cut me off, unless of course he was programmed to do so.

    • @NeutronixRL
      @NeutronixRL Месяц назад

      lol

    • @papachefe
      @papachefe Месяц назад

      idiot

    • @Shoxic666
      @Shoxic666 Месяц назад +27

      "Drive faster" he addressed that several times lmao. Drive slower and you'll crash less.

    • @elgusanito4971
      @elgusanito4971 Месяц назад +58

      ​@@Shoxic666So... you'll drive slower so you don't crash(or at least reduce the chances), but run the increasingly high chance of getting spotted and/or shot by pursuing NPCs?
      That's kinda counter-productive

    • @beartrap8625
      @beartrap8625 Месяц назад

      @ 🧢

  • @BlueLineVibes
    @BlueLineVibes Месяц назад +13

    10 years of modding GTA 5 and I have never seen a video explain the GTA 5 NPC traffic in this detail, until now. Well done.

  • @GirlOfTheTardis
    @GirlOfTheTardis Месяц назад +3

    I did notice while playing that if you drive normally and stop for traffic lights, the driver behind you doesnt expect you to be stopped there, and asigning that spot to themselves will push you out of the way to get into their spot, but in doing so will upset themselves with the crash and will speed away ignoring the lights to get away from the crash scene, making it look like they crashed intentionally like a hit and run

  • @GodSkul
    @GodSkul Месяц назад +128

    I remember this happening way back in Vice City. I think it's all about optimization. Far away cars make less decisions save on computing, and closer car make more decisions, to feel more immersive. Also many times it's cars reacting to gunshots and explosions.

    • @ScottThePisces
      @ScottThePisces Месяц назад +32

      In San Andreas their moves were linked to the framerate as well as the speed you were going. The fastest you drove, the faster they'd make decisions!

    • @ObviousMalcolm_PLUS
      @ObviousMalcolm_PLUS  Месяц назад +39

      correct. I had to scrap a few mins off the clip but one of the points is in fact NPCs being in "auto drive" when away and when they get close they suddenly go "manual", which tends to be a rough awakening for most NPCs

    • @ObviousMalcolm_PLUS
      @ObviousMalcolm_PLUS  Месяц назад +18

      this! GTA SA tied everything to FPS. many mission became unplayable in modern rigs without a patch mod.

    • @GodSkul
      @GodSkul Месяц назад

      @@ObviousMalcolm_PLUS yeah that makes sense, great video!

    • @fenn_fren
      @fenn_fren Месяц назад +2

      Yeah, there's this little intersection close by the hotel where NPCs in bigger cars, if they're driving erratically (not snapped to the path), they'll go too wide and crash head on into a wall. And because their next node is a little further down the road, they never try and reverse out of there.

  • @Plooooof
    @Plooooof Месяц назад +55

    I went looking for single-player examples and found 10 within 20 minutes, and they were all equally as bad as online examples. NPCs completely sideways on the wrong side of the road, swerving across several lanes in the wrong direction, and straight up u turns into the player with the NPC going the wrong way. You can admit you're wrong. The video isn't a full day old yet.

    • @bigdoggo5827
      @bigdoggo5827 Месяц назад +1

      Exactly this. It only happens when you are in a high value car and with fast speeds

  • @bigdatapimp
    @bigdatapimp Месяц назад +91

    So basically there is not line of code that says "Be a dick" but they are basically coded to get in your way constantly. Very interesting video.

    • @FurryWrecker911
      @FurryWrecker911 Месяц назад +23

      Sorta. They're pretty much programmed to do their own thing regardless of what the player is doing. It's just that at high speeds we're injecting ourselves into the middle of merges or scenarios automatically playing out. If we drove slower then these merges and scenarios would be finished by the time we stroll up to them.

    • @voodoo2006
      @voodoo2006 Месяц назад +19

      I just dont understand how people expect not to crash often when youre driving at 200 kmh+ in hypercars in a populated metropolitan

    • @gibleyman
      @gibleyman Месяц назад +9

      ​@@voodoo2006This exactly.
      Chances are, if you're speeding, rear ending a car who was changing lanes or hitting one coming out of a parking spot etc are the most likely ways you'll end your joyride.
      You know, the same scenarios where you'd crash in a GTA game.

    • @mekacrab
      @mekacrab Месяц назад +5

      @@voodoo2006 and in a city where nobody has turn signals

    • @Pappalardium
      @Pappalardium Месяц назад +3

      @@mekacrab Some do have turn signals but it's rare to see

  • @jsade
    @jsade Месяц назад +9

    I can't help but feel gaslit here...
    He did not look into the "game code", he looked at configuration files in the game's assets which happen to be represented as XML.
    The actual game code is what eventually gets compiled into your GTA5.exe and if there was a way to decompile that into readable code, we would find actual proof of this behavior being intentional.
    At some point, coincidences are not coincidences but a pattern.

  • @Purpical
    @Purpical Месяц назад +30

    1:18 the man himself

  • @ObviousMalcolm_PLUS
    @ObviousMalcolm_PLUS  Месяц назад +957

    The real question is: is chaotic traffic still better than a predictable traffic, as seen in Watch Dogs 2?

    • @2boid
      @2boid Месяц назад +171

      obviously the chaotic traffic yeah
      also i bet that gta 6 is gonna have way more dynamic traffic, like when you knock down the traffic lights the cars actually have no idea what to do

    • @thefallenvalley4340
      @thefallenvalley4340 Месяц назад +47

      Playing WD2 rn, it's a great game but the traffic is extremely boring.

    • @CMGIV
      @CMGIV Месяц назад +17

      And whats the thing with the traffic intersections? If you drive fast through them, on red light, some other vehicle speeds in from the right. Just in the speed you are. (it happes very often)
      I have to brake every time, to not crash into them. It must be scripted 🤔

    • @Subreon
      @Subreon Месяц назад +21

      @@2boid irl, when a traffic light is malfunctioning (before a signaller gets there), you treat it as an all way stop sign. but i doubt rs will go that far.

    • @2boid
      @2boid Месяц назад +7

      @@Subreon would be pretty cool to see, and idk i have a feeling rockstar will go pretty far with these types of details

  • @kelbinhow
    @kelbinhow Месяц назад +29

    My dude you definetely need to play more singleplayer XD I've never been much of online playing, be whatever game, I just like my singleplayer adventures and GTA is another one of them, and boy oh boy, ever since the PS3 release, the PS4 and on PC, this behaviour is a classic. Always when wandering around Vinewood Hills, everytime you catch one of those curves uphill and there's a car heading down, they will ALWAYS launch at you, it's a guarantee

  • @FreshGuap
    @FreshGuap Месяц назад +143

    I always loved how LA is known for having heavy traffic but GTA V hardly has any traffic, there's even times when the streets are completely empty and I have to wait for a vehicle to show up.

    • @anthonym138
      @anthonym138 Месяц назад +15

      Yea im replaying gta 4 and same. Streets be empty and its like its ny. Should be packed

    • @qweebey
      @qweebey Месяц назад

      @@anthonym138play it on PC and jack up the population density to 100. You’ll be sitting in traffic the whole time.

    • @FreshGuap
      @FreshGuap Месяц назад +5

      @anthonym138 oddly, I remember San Andreas having more traffic

    • @qweebey
      @qweebey Месяц назад +40

      @@anthonym138 set the traffic density to 100 and you’ll be stuck in traffic in GTA IV

    • @user-k5y8l
      @user-k5y8l Месяц назад +13

      You can change the Traffic density however you like. With PC atleast.

  • @Get-Native
    @Get-Native Месяц назад +23

    Back in the 360 days, only the Bati RR could out ride the rubber banding, where NPC'S would seemingly cut you off. If you dodged them and maintained speed online, the game entered the low poly version until a lag induced bike crash or the rubber banding caught up. I have had the NPC vehicles literally teleport into me. We suspected even then at launch that this was deliberate.

    • @supercrazypersonbo212
      @supercrazypersonbo212 Месяц назад +8

      I rode the bati religiously in the ps3 days simply because it was too fast and broke the game. You're also small enough that the npcs miss you when they swerve. I used to try to see how quickly I could get to low poly speeds

  • @KaysNewGroove
    @KaysNewGroove Месяц назад +3

    As for the cop thing, we expect the cop to do it, we don't expect a random civilian to.
    Really like your explanation of the nodes and stuff. What do you know, the rockstar game known for some of its crazy bugs is programmed to do weird crap.

  • @theraiden1018
    @theraiden1018 Месяц назад +96

    Saying it’s a predominantly online issue is false. It happens just as much in single player too

    • @kylefd2
      @kylefd2 Месяц назад +36

      Dude used random clips from a gta online subreddit as evidence lmao he's cooked

    • @Cuunke
      @Cuunke Месяц назад +7

      I thought he was actually playing the game himself to test it but I guess not the random intercepting is constant in both online and single player

    • @orientalanon
      @orientalanon Месяц назад +1

      ​@@kylefd2Moreover the problem is that he's saying these clips proves his point. When in actuality the clips he showed proves the exact opposite

    • @bigdoggo5827
      @bigdoggo5827 Месяц назад +3

      ​@orientalanon and ignores how NPCs will match your speed to crash you at interesections, ignores that NPCs will be more aggressive when driving a high value car or in delivery missions, ignores that it happens in SP

    • @guy990
      @guy990 Месяц назад +3

      @@orientalanon yea unfortunately any decently edited video will make the masses convinced that this is how the game works. Hopefully a bigger more successful RUclipsr calls out this video for false information, as this is what it needs since all the evidence sucks

  • @ek2013_
    @ek2013_ Месяц назад +64

    Now what about the AI speeding up drastically or slamming on the brakes as you’re approaching an intersection? A very common thing I see is when approaching an intersection, a crossing NPC will speed up or slow down to seemingly block your path. It’s obviously not them detecting a threat since they only see forward threats and not side or behind.

    • @TheJakebriscoe
      @TheJakebriscoe Месяц назад +3

      The programmed the ai to turn into you if you are going to fast ….. back in the day PlayStation could handle the frame rates and the map and ai wouldn’t load in as well if you were going to fast . So they programmed the ai to make you crash. This guy is reading the code when most of us have spent thousands of hours in the game to understand the behavior.

    • @Whooler6by
      @Whooler6by Месяц назад

      @@TheJakebriscoe Shit comment

    • @Whooler6by
      @Whooler6by Месяц назад +3

      That is indeed more or less scripted, to make driving and dodging traffic more dynamic. Midnight Club (also made by Rockstar) had intersections exactly like these where cars would impede you or scripted events would spawn in scenarios to hinder your speed.

    • @OrangeHeadTM
      @OrangeHeadTM Месяц назад +1

      This happens with the Banshee when doing the bike mission for the agency at lsia. Same with the two blue Sultans that chase you when you're doing a vehicle Warehouse export. It's like they have nitrous, and are programmed to close the gap. Its insane.

  • @Damian-cilr2
    @Damian-cilr2 Месяц назад +76

    I've seen a video where someone was LITERALLY sitting still and the npcs briefly swerve in front of them before they correct their path
    Okay i can see the intersection ones being pure coincidence because the traffic ai code sucks,but they literally SWERVE onto an oncoming lane,may only happen online but holy shit

    • @skibiditoiletlover9017
      @skibiditoiletlover9017 Месяц назад +4

      Ive been thinking about this topic recently a lot. Yesterday, was on my phone texting while sitting in my car, on the side of the road, not in npcs path, and yet, they still loved to crash onto me. Idk how on earth its possible its just the codes

    • @MrSteveo114
      @MrSteveo114 Месяц назад +5

      He also overlooked the NPC’s jacking the handbrake and swirving towards you instead of logically away from the danger before they spin out. This typically happens on like highways or freeways but then other times they don’t react at all? It’s very strange but shows at least that there is some code for “driver panic” or whatever you want to call it where 99% of the time they swerve in your direction or literally just steer straight across the road directly towards you. Completely coded event has to be so I’d be interested in what the code says in regards to where the car should swerve because as mentioned before it does the complete opposite to logic.

    • @skibiditoiletlover9017
      @skibiditoiletlover9017 Месяц назад +2

      @ gotta reply a second time, I wish he went into the codes exactly when the swerving happens because then you would be able to tell whats actually causes it. Im not sure if you can do this though, maybe some day I will since im learning coding currently

    • @OrangeHeadTM
      @OrangeHeadTM Месяц назад

      I have a clip of this saved on my phone. Pulled up to a red light and I hear tires screeching only for some NPC to power slide in front of me and stare at me through his open window, then he peeled off. I was like wtf was that 😂 it was on an atleast 4 lane street, maybe even 6 lanes.

    • @RonaldMcDonald-nf9jj
      @RonaldMcDonald-nf9jj Месяц назад

      GW profile pic noticed ;)

  • @honeybun6677
    @honeybun6677 Месяц назад +9

    I’m not being mean but @13:50 the phrase is actually “To your hearts content” not contempt lol, but it definitely works for GTA5’s spaghetti flags

    • @Peuler5
      @Peuler5 Месяц назад

      Can you lend a nigga a french fry?

  • @projectx-1368
    @projectx-1368 Месяц назад +38

    "they're reacting to things that spawn in for about 10 milliseconds" but you never explain why it spawns there for only 10 milliseconds, what it is, or why it happens so frequently.

    • @RagexPrince683
      @RagexPrince683 Месяц назад +1

      cars

    • @guy990
      @guy990 Месяц назад +4

      This whole video essay was written by a third grader

  • @HegeRoberto
    @HegeRoberto Месяц назад +39

    But how do you explain "NPC driver agression" that modders found in the code, and some mod-menus can modify its value, and if you crank it up, cars whenever oncoming or same-direction as you, will attempt swirl to crash into you? There are situations where there is no node or junction or parking space that would justify a random swirl to the sidewhere you are stationary, and some NPCs randomly will swirl to hit you even if it takes them off of the road and there is no other players or agressive NPCs around.

    • @Aura_9275
      @Aura_9275 Месяц назад +4

      There are missions where they need to crash into you

    • @floppingfish5621
      @floppingfish5621 Месяц назад +2

      @@Aura_9275exactly so it’s a thing in the game and he just ignored it

    • @StalwartTirith
      @StalwartTirith Месяц назад +2

      Source? A quick search didn't show anything like that. Where did the modders find the code? What's the website where they posted it and talked about it?

    • @Lakita2880
      @Lakita2880 Месяц назад +7

      ​@@floppingfish5621 He conveniently ignored a lot of shit lmao

    • @bigdoggo5827
      @bigdoggo5827 Месяц назад +4

      Yeah he left out a lot of things to stand out as a "factual research". You can see the Dark viper Speedruns where the NPCs phase through terrain to hit him

  • @VioletGiraffe
    @VioletGiraffe Месяц назад +131

    I'm not convinced. This happens in solo (private) sessions ALL THE TIME. Also, you are completely ignoring the cases of a car driving across your path. Not swirving or lane changing, but driving across an intersection with abnormal speed, sometimes abnormal trajectory, obviously specifically to ram you. No missions, no shooting, just diving. This happens when your speed is above some threshold.
    Props for your research, it was very interesting to learn what's under the hood. But your research is not quite complete.

    • @dyIanVII
      @dyIanVII Месяц назад +17

      'your research isn't quite complete because I saw something and my conclusion I leaped to > your factual evidence'

    • @SoloDallasII
      @SoloDallasII Месяц назад +54

      @@dyIanVII The evidence presented in the video does not explain why this would happen, or address this scenario at all. This guy doesn't have the source code and cannot actually look at everything involved in V's traffic AI. He's just using Codewalker.
      Furthermore, the same thing was scripted into Midnight Club (I can literally show you the code for that, I removed it for myself) and the MC devs worked on GTAV after the MC series ended.

    • @mcbamm5683
      @mcbamm5683 Месяц назад +17

      ⁠@@dyIanVIIgoing at speed through four way junctions you’ll notice that there’s always a car programmed to match your speed so you T-Bone it. That being said, they’re likely “scenarios” like he explained.

    • @mekacrab
      @mekacrab Месяц назад +1

      @@mcbamm5683 Any evidence of this happening that can be found online ? I didn't find something, although I didn't search very hard.

    • @mathdessin6755
      @mathdessin6755 Месяц назад +7

      Exactly, anyone who played midnight club would recognize the behavior

  • @josh.8104
    @josh.8104 Месяц назад +20

    What the players are saying: When I'm doing something important that requires vehicle integrity which will effect my score, NPCs seem like theyre deliberately crashing into me.
    What Malcolm tested: I drove around randomly for a couple of hours and nobody purposely crashed into me.

  • @masterseeker360
    @masterseeker360 Месяц назад +1

    As someone who played this chronically i SWEAR it happend after the ill gotten gains par 1 dlc where you had to move cars the npcs were always stupid but after that "update" they consistently switch lanes to get in your way you can even se it by going one way then switching the npcs will switch lanes twice just to get in your way

  • @PrinceOfKings55
    @PrinceOfKings55 25 дней назад

    I was gonna mentally complain about why such a long video for a simple “no I looked into the code” (im not a master code reader or anything but I have fundamental understanding to know certain limits and whatnot) anyway this was really entertaining so I judged too quickly and wanted you to know, great video mate!

  • @Juan_Jalapeno
    @Juan_Jalapeno Месяц назад +50

    This all started with the import export update where you ultimatly get less money when crashing the car so yea its 100% intentional this wasnt like this earlier than this

    • @IamMortui
      @IamMortui Месяц назад +5

      I would say it has existed before hand, at least the intersection interaction where an NPC will purposely try and match your speed to wreck you. But ever since import / export update, it has ten folded like you've said.

    • @dyIanVII
      @dyIanVII Месяц назад +4

      No it didn't lmao, and it isn't intentional - this exact video provs it.

    • @Juan_Jalapeno
      @Juan_Jalapeno Месяц назад +13

      @@dyIanVII it definetly got way worse with that update before it i can only recall npcs driving into me like 3 times max and that was in the span of about 500 hours

    • @Juan_Jalapeno
      @Juan_Jalapeno Месяц назад +5

      @@dyIanVII + he just yaps

    • @HansWurst-I
      @HansWurst-I Месяц назад +2

      @@IamMortui Yes, i think the traffic cars try to go into your path where the navigation system is guiding you. So i think it could be prevented by diactivate the navigation system in the game and everybody would be fine. I mean rockstar is making money if we fail in this missions and some people are buying shark cards because they are frustrated xD.

  • @What0Happend
    @What0Happend Месяц назад +23

    Bro wasn’t cooking with this one

  • @jamesobrian1643
    @jamesobrian1643 Месяц назад +19

    Soooo, how much is Rock* paying you for this? Cuz I can tell you from the 12+ years I've been playing that if I'm simply driving around, with no special mission or cargo, no matter the vehicle I have there's no issues. I can split lanes, drive through intersections, and weave through heavy traffic with ease.
    *BUT*, if I'm delivering a specced out car or something that damage will decrease my payout you can be guaranteed I'll have at least several NPCs swerve into my lane. I know the AI will have them panic if there's shooting or cops on me and it'll get crazy but even just cruising along with nothing going on it happens.

    • @JANICKGMO_
      @JANICKGMO_ Месяц назад

      As someone who's been playing since 11 years (GTA is 11 years old not 12) i can confidently say you got skill issue.

    • @jamesobrian1643
      @jamesobrian1643 Месяц назад +1

      @JANICKGMO_ anything else need correcting?

    • @jamesobrian1643
      @jamesobrian1643 Месяц назад +1

      @@JANICKGMO_ Nope? We good? You trollin somewhere else? Got other posts to talk sht and correct on?

  • @viktorbarta
    @viktorbarta 24 дня назад +1

    Love how you use the default polarsaurusrex background music

  • @yournarrativehasexpired3201
    @yournarrativehasexpired3201 Месяц назад +2

    This was informative. I'm played GTA 5 for the first time in about 4 years and honestly I was shocked how bad the driving can get (I guess I never paid much attention to it when I was just racing through the game). I now understand why the NPCs will sometimes keep backing into stuff and making strange maneuvers though, now that I know about those invisible nodes. They're just trying to get to the next 'magnet.'

  • @YeEpIkAiYeI
    @YeEpIkAiYeI Месяц назад +9

    Something else I want to point out are the traffic lights.
    For some reason when you enter an intersection with traffic lights, about 99% of the time you have a red light.
    I thought to myself "Well, maybe I'm just unlucky", but then I started to look at the traffic lights to the sides (the ones that should be on green) and MANY times they were also on red.
    I don't know how it really works, but for some reason when you're going down a certain street, the game will give you a red light in your intersections ahead.

    • @NealGutierrez
      @NealGutierrez Месяц назад +3

      I've actually tried following traffic rules out of boredom. I can sit at a red light for what feels like a full two or three minutes and then it turns green for about five to ten seconds and then goes back to red for two minutes. Of course if I circled around and came at the intersection from another direction this would change so that the lights in the direction I'm facing are almost always red.

  • @J.PC.Designs
    @J.PC.Designs Месяц назад +9

    The real question to ask is why the actual California traffic is genuinely this bad.

    • @lordkrythic6246
      @lordkrythic6246 Месяц назад

      I think the question you posed serves well in answering itself, given the constraints of where it takes place.

  • @Halnineo0one
    @Halnineo0one Месяц назад +34

    When delivering a car to the Dock from the chop shop, an npc drive to the middle of the road at the last intersection. Whatever side you try to pass, the npc will turn in to you

    • @HoggySklump
      @HoggySklump Месяц назад

      I’ve never had that happen to me, just get better at staying as far away as possible from the npc cars.

    • @mcbamm5683
      @mcbamm5683 Месяц назад +2

      The best way to get a perfect delivery is to be patient and drive slower than the NPCs. It gives you the perfect opportunity to see strange driving before it happens, unintentional or not.

  • @Quack9Attack6
    @Quack9Attack6 Месяц назад +1

    Been waiting for an indepth look at gta 5s traffic

  • @TaimaEnenra
    @TaimaEnenra Месяц назад +10

    Yeah, not only am I convinced the NPCs swerve into you intentionally, but also traffic lights turn red before you drive through creating cross traffic you have to dodge. It feels like 9 out of 10 lights you drive through are red.

    • @Zotac359
      @Zotac359 Месяц назад +3

      Seems like the odds coincide with the fact that red lights stay on for 40 seconds and green lights stay only for 5. 1/9 chance for it to be a green light at any time you're passing.

  • @igabrine1742
    @igabrine1742 Месяц назад +4

    how come they swerve into me while on driving on a sidewalk, they ain't no nodes on a sidewalk, fr they have to hit you on purpose

  • @OG-Yemxi
    @OG-Yemxi Месяц назад +15

    So fun fact, they coded this into the game post release for GTA online specifically. In story mode there’s rare occasions that they change lanes chaotically. I have an old version of GTA on disc and haven’t updated the game since release.

    • @indanow6932
      @indanow6932 Месяц назад +1

      What would be your theory as to why it was added into online?
      Mine is the increase to shark card sales, due to people getting frustrated with all the time and money they lose during the exotic car transfer missions.

    • @MentalParadox
      @MentalParadox Месяц назад +14

      @@indanow6932 Answered your own question. Delay people's profit generation so they are annoyed into buying shark cards

    • @OG-Yemxi
      @OG-Yemxi Месяц назад +1

      @ the import export missions with cars, your earnings are a direct correlation to vehicle damage. The cars drive more erratically in those missions than they do online free mode or in story mode

    • @midwestoenr4905
      @midwestoenr4905 Месяц назад +2

      @@indanow6932 they do it so the terrain and stuff can load in if you go a long time without crashing everything starts getting laggy

    • @dyIanVII
      @dyIanVII Месяц назад +2

      Funny how everyone that peddles this nonsense theory always has zero proof

  • @ToaCody1
    @ToaCody1 29 дней назад

    Your demonstrations of the node mechanic flashed me back to an old AH video where they used buses on the damaged highway overpass to funnel the NPC cars into a continuous rain of destruction.

  • @MrSonny6155
    @MrSonny6155 Месяц назад +1

    Something I often forget myself is that... Not every part of "design" has to be explicitly written by someone. Code is one way of scripting something, but emergent behaviors can be just as easily exploited with full intention when left as is. Of course, if you spot a section lacking a bit of chaos during play testing, then that's a good place to balance out by injecting an inconspicuous double lane change. No one will be able to tell if it was intentional or just an overworked intern, but sure as hell will be paranoid after that.
    Of course, if you find yourself on the flip side where your perfectly well-intentioned, stochastic traffic simulation turns out to only accurate to LA traffic and your stakeholders are pissed, it can be useful to recall the magic words: "It's not a bug. It's a feature."

  • @unknownvariable2456
    @unknownvariable2456 Месяц назад +3

    the best way for an npc to avoid a crash with a player is to not react, but they're clearly designed to react in some way, and thus designed to crash
    this is my perception of it before watching the vid, I'll edit after
    Edit: brain hurt

  • @AmmyWulf
    @AmmyWulf Месяц назад +4

    That Pedestrian to the left of the screen at 16:52 is HILARIOUS, he doesn't even avoid the trashcan but rather bumps into it and glitches out in a spastic motion.

  • @Henrix1998
    @Henrix1998 Месяц назад +33

    0:15 or doing OHKO run

    • @LumpKingDLO
      @LumpKingDLO Месяц назад

      ?

    • @costa2k1
      @costa2k1 Месяц назад +6

      You clearly ain't knowledgeable of the one and only Dark Viper AU​@@LumpKingDLO

    • @aclv27
      @aclv27 Месяц назад

      the horrors

    • @Rondigity92
      @Rondigity92 26 дней назад

      Especially on your way back to the car dealership

  • @toptierfish
    @toptierfish 28 дней назад

    Hey, I'm one of the Codewalker researchers for the path node stuff. Loved the video! Wanted to provide some insight into some stuff.
    The issue on the junction where they wont to go a "scripted" node is probably because all junctions are handled by a junction controller. A composer of sorts that controls the cars and tells them how to navigate the junction. The scripted flag may be related to this junction controller. Junctions with traffic lights are configured via an in-house tool, but they do have an unused (afaik) default 4-way setup that works exactly how you described. These junction controllers are created using the junctions.xml (I think) file which contains all the timings. They are created independently of the traffic light visuals. Forcing lights to be green doesn't change the junction controllers etc.
    Vehicles have 3 modes of running, On-Rails (no physics); Follow-Path (physics activated), or on the Nav Mesh. A typical fallback in games is a line of sight check too, and just follow the line of sight until it's lost. I'm not sure if GTA has this for when players go off mesh. The Nav Mesh is always used by peds that are not in vehicles, unless they have to cross a road (road nav mesh areas are tagged as "Road" and they prefer to avoid it). They can use special "Ped Nodes" to cross the road.
    Cars that are far away from the player are "on rails". This is done as an optimization step to avoid doing physics calculations on vehicles the player has no chance of colliding with. You can see this phenomenon here: ruclips.net/video/WtrlE-RyW44/видео.html
    When the players get close to the AI vehicle they become physics activated to allow for collisions to happen. It's during this transition I believe some of the issues occur, where the vehicle gets "confused" due to a badly placed node that causes them to be pushed off their path. To add to this, when playing online, an AI may be network-owned by another player and the very act of you getting close causes that AI to migrate network ownership to yourself. This resets their ped brain, and starts the wander task all over again (find closest node, figure out what lane I'm in, wander) also leading to potential unpredictability.
    I believe the ghost car is related a funny post-launch glitch where GC cleans up the drivers before the vehicles. It's the same bug that causes planes to randomly crash as their pilots are deleted by GC.
    The highway one is an interesting one. Whenever there is a gunshot shocking event the reaction of the AI is to flee. This flee task is set up to avoid highways for some reason. So if you're on a highway, and there's a gunshot. Good luck! You can see this here: ruclips.net/video/OC-BYQM6Khs/видео.html
    In that video, the runway is setup as a highway with the middle taxi-ways connected as normal roads. After the gunshot happens, you see the chaos as they all flock to use normal roads.

  • @MrGTAmodsgerman
    @MrGTAmodsgerman 20 дней назад

    These De-Sync issues caused me a lot of nerves back then on oldgen in Online mode. Not only with NPC cars but also with a fight on other players where they were able to shoot through walls or me putting thousands of bullets on they head while they just needed one to kill me. It drove me extreemly mad. On some days the traffic cars were acting extreemly bugged. On some days less. There is a hell a lot more with GTA V traffic that could be mentioned, but you manged to make the point. Respect for you as a none modder to figure that all out yourself. Normally total noobs would just got get stopped by all the overwhelming options, tools and such.

  • @Centerfoldz
    @Centerfoldz Месяц назад +5

    Whether is true or not. I didn’t need a video to tell me that NPCs are coded to crash. Thats how bad they are

  • @AGreatLink
    @AGreatLink Месяц назад +6

    There is by no exaggeration nothing whatsoever you could tell me to make me believe you. God himself could descend and tell me the NPCs aren't doing this intentionally, and I would backtalk his ass immediately.

    • @joezilla29
      @joezilla29 11 часов назад

      Ignorance is bliss, I guess.

  • @BrainboxccGames
    @BrainboxccGames Месяц назад +5

    I don't play online, I only play single player. this happens all the time, they move right into you on highways. it's not as bad as it was on San Andreas where they were literally belligerent and malicious (I believe the code actually made them act like it)

  • @onslaught147
    @onslaught147 29 дней назад

    Damn, I'm one of those who thought they were intentionally crashing into me. I think you changed my mind.
    Also I'm a software dev and I love that you brought up the nodes and the flags on them. And that's funny about modders not knowing what all the flags do. Sometimes you delete the code, and put deleting the flag on your todo list, but it's not hurting anything by keeping a useless flag around. So it's pretty low on the todo list, and then the software ships.

  • @Clit_Yeastwood
    @Clit_Yeastwood Месяц назад +1

    This erractic traffic behaviour was added with the first update iirc after the Import / Export update to impact the players earnings whilst doing the content, there was a throwaway line in the patch notes at the time, also fun fact, there's a flag in the physics called "crash enhancer" or something like that, it's sole purpose is to make crashes between players larger and more over the top, this is why you can't have door to door racing without a horrendous accident.

  • @RandomGS
    @RandomGS Месяц назад +5

    1:35 that probably defines america fairly well

  • @CYBERBOIUK
    @CYBERBOIUK Месяц назад +4

    Well put together video 🫡

  • @GlutenEruption
    @GlutenEruption Месяц назад +9

    13:50 - just an fyi, the proper phrase is "to your hearts conTENT" (aka satisfaction), not contempt, but great video 👍

  • @ThatGuy_33
    @ThatGuy_33 Месяц назад +1

    I saw a video on Reddit where someone was part in the median between both sides of the highway and all of the cars were driving normally, but when they got close, they would slightly swerve towards the player vehicle, not enough to hit them or appear erratic, but enough that it would definitely make a difference if you were splitting lanes

  • @acegaming6852
    @acegaming6852 Месяц назад

    Fivem modder here, forgot to mention a few things including the coded fear levels and it's effect on the flee native calls and how sirens confuses the hell out of them, think I can explain police coding

  • @KonaSquid
    @KonaSquid Месяц назад +7

    So basically it's poorly coded which we already knew.

  • @Mr.Capitalism
    @Mr.Capitalism Месяц назад +4

    my main take away from driving in los santos, is that cars speed up when they are in an intersection, they speed up when making a turn, they make a sharp turns too, which is counter intuitive

    • @ObviousMalcolm_PLUS
      @ObviousMalcolm_PLUS  Месяц назад +2

      Yes, this is something they do a lot between junction nodes, you are correct

    • @Mr.Capitalism
      @Mr.Capitalism Месяц назад +1

      @ObviousMalcolm_PLUS yeah, quite realistic ngl

    • @noobiumbaconate
      @noobiumbaconate Месяц назад

      yoooo cappie

    • @Mr.Capitalism
      @Mr.Capitalism Месяц назад

      @noobiumbaconate the man the myth himself

  • @yakovvidberg7035
    @yakovvidberg7035 Месяц назад +6

    Interesting to see what rockstar can do with gta vi ai driving

  • @MrShabindigo
    @MrShabindigo Месяц назад +2

    This isn't just in Online; happens to me all the time when I play Story Mode.
    Not only that, they always purposefully put a car into the opposite lane whenever you're trying to pass a car in front of you.
    There will be absolutely no traffic on a country road. There'll be a car in front of you. As soon as you pull to the left to go around them, without fail, a car will spawn out of nowhere in the opposite lane so that you have to straddle the center line to get between them.

  • @hugesmjfan8073
    @hugesmjfan8073 Месяц назад +2

    I feel like a flat earther here, no matter how much evidence you confront me with I will always believe that the npc are built to frustrate you into buying shark cards. Because this only happens to me during a sell mission, when I’m trying to make money.

  • @ZacCoxTV
    @ZacCoxTV Месяц назад +11

    There's always that one mission in GTA where NPCs intentionally swerve into you failing the mission!!

    • @ObviousMalcolm_PLUS
      @ObviousMalcolm_PLUS  Месяц назад +6

      There are missions where NPCs will be FULLY scripted. You can crash into them and they won't move an inch. An example would be Fame or Shame mission. But the vast majority of Online missions is just NPCs being awful, reckless drivers. We share the pain

  • @SuperNovaHeights_
    @SuperNovaHeights_ 27 дней назад +3

    They definitely crash into you on purpose during missions. 100%

  • @EdvanDomingues
    @EdvanDomingues Месяц назад +8

    I play a lot in single-player, and this behavior is very common. It’s not on purpose; it’s actually a limitation of the traffic system, which was programmed not to look back.

    • @fightlikabrave
      @fightlikabrave Месяц назад

      They ar timed to perfectly TBone you or swerve INTO you Happens the same way ALL the time. Youll see cars at abnormal speeds coming at just te perfectly matched speed to hit you. In ANY normal situation wherte a car comes at you, you would steer AWAY from oncoming cars and the NPCs in GTA turn INTO you unnatuarlly.. its %100 programmed and on purpose.

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

    Finallly someone checked it and confirmed what I kept on telling people. NPCs just turn often too sharp too quickly and this is why it is annoying and makes them appear out of nowhere in front of us.

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

    I love it when people who never played the game try to do an analysis about it..

  • @miguelito_1552
    @miguelito_1552 Месяц назад +9

    I couldn't disagree with you more. If you want to see the intentionality of crashes at its best, try exporting a vehicle from the office business. It's not that cars are programmed to crash into you, they're programmed to change lanes when you pass by, or accelerate and brake when they're in your path to position themselves right in front of you.

    • @user-vy9ve1kb8r
      @user-vy9ve1kb8r Месяц назад +3

      How are you saying they’re programmed to do that when he just showed us what they are programmed to do? Let me guess, “Trust me bro” 😭

    • @miguelito_1552
      @miguelito_1552 Месяц назад

      @@user-vy9ve1kb8r I already told you how you can check it

    • @erichdegurechaff9515
      @erichdegurechaff9515 Месяц назад +3

      @@user-vy9ve1kb8r He didnt showed what they are programmed to do. They showed pathing, this is just how NPCs walk, he didnt show behaviour, which is what NPCs do. Every game has pathing, even Skyrim, this doesnt change the fact that hostile NPCs breaks the pathing to hunt you.

    • @user-vy9ve1kb8r
      @user-vy9ve1kb8r Месяц назад

      @@erichdegurechaff9515 Yh ngl when I wrote that I was invested in to the video, replying now I couldn’t care less ngl😭 so wether they do it on purpose or not so be it ain’t the end of the world

  • @kai-gd4vw
    @kai-gd4vw Месяц назад +7

    I want him to watch the videos of the cars levitating and quite literally launching themselves at the player and see him explain those 😂

  • @mediocreatbest1269
    @mediocreatbest1269 26 дней назад

    Please make more vids like this! Love seeing the source code of big games and why things work! Thanks for sharing!

  • @DrPhoerrets
    @DrPhoerrets Месяц назад

    This is a fantastic deep dive! As an AI engineer for games who has spent most of their time on pedestrians and traffic, this is fascinating to know how how R* tackled this problem.
    Thank you very much! I can almost see the thinking and decision making behind how traffic works.
    Edit: Just finishing the merging chat. Oh my god handling merging lanes is such a ball ache 😂

  • @nym7973
    @nym7973 Месяц назад +4

    This was a damn good video, you earned the sub. Thanks for the deep dive. (Now find out why the GTA IV NPCs hate us.)

  • @SIMULATAN
    @SIMULATAN Месяц назад +49

    Ok, so they don't target you, they're just hella weird and aggressive all the time, lol

    • @ObviousMalcolm_PLUS
      @ObviousMalcolm_PLUS  Месяц назад +24

      Pretty much yes. Their code runs on prayers

    • @Scornfull
      @Scornfull Месяц назад +6

      AKA accidentally on purpose

    • @TheAverageGamer1
      @TheAverageGamer1 Месяц назад +11

      Idk man when I'm driving a car to a delivery location and an noc is going down the wrong side of the road and turns into me when I try to go around doesn't feel like an accident to me

    • @IamMortui
      @IamMortui Месяц назад +7

      @@TheAverageGamer1 Because it isn't lol. Even if there is no disturbances at the time, they should follow their path right? Total BS this video is. Why would they go off of their path suddenly out of nowhere when you're in collision range.

    • @mekacrab
      @mekacrab Месяц назад +2

      @@TheAverageGamer1 Well if they're on the wrong side of the road they either spawned on the wrong side because of desync (or slided on the wrong side) or they are panicking but you would know if they were panicking so let's assume they weren't.
      Car deliveries are in GTA Online so a lot of this weird stuff is because of the server that messes up the spawns and/or the behavior of some NPCs.

  • @mattmcintyre7083
    @mattmcintyre7083 Месяц назад +6

    I'll give you all the evidence you could possibly ask for. Have you EVER seen an NPC swerve into a lane of oncoming traffic consisting exclusively of other NPCs? I'm talking in the absence of explosions or player weapons-
    Have you ever seen an NPC swerve across the lane into an oncoming lane of traffic populated exclusively by other NPCs for no reason whatsoever? I've been playing for 10 years and I haven't. What I have seen is NPCs swerving across the lane directly into oncoming players when the player was not driving erratically. I've seen it a thousand times.
    How about traffic moving the same direction as you? Absent any player activity that would cause NPCs to drive erratically, how often do you see an NPC in front of you swerve out of your lane and into an adjacent Lane traveling the same direction? How often do you see that happen? How often do they get out of your way?
    How many times have you or else that you know said "Thank God that NPC got out of the way or I would have been in trouble"? Now who here can't think of countless times when an NPC has performed erratic Maneuvers out of nowhere only to end up in front of you at the last moment?
    Look, I get that there are times when one thing is happening and it gets mistaken for another. I get that the human brain has an overwhelming bias towards noticing and remembering negative experiences over positive ones. Even when you account for those things you're still left with a simple truth that NPC drivers employ Reckless MANEUVERS targeted towards players, without any provocation whatsoever, that they never employ on each other.

    • @sprunkpurplealiengang
      @sprunkpurplealiengang Месяц назад

      Well I have seen them do it to other npcs too. I really don't know why is it so hard for you people to believe that GTAs code is just wonky af

    • @bmxscape
      @bmxscape Месяц назад +2

      @@sprunkpurplealiengang idk why you would believe anything without proof. the guy who posted this video showed no proof of any code in the game, only speculations of his opinions such as "random objects spawning in the middle of the road for 10 miliseconds" like at 19:00.

  • @duckscitomaster1308
    @duckscitomaster1308 Месяц назад

    very insightful as a computer science student! Gives me some ideas to use in my own projects!
    I’d love to see more videos like this breaking down certain game mechanics

  • @Zuignap
    @Zuignap Месяц назад +2

    Now compare driving in GTA online like you did with a nightclub mission or the one where you steal a fancy car and bring it to your garage for money. They will hit you way more than driving normally.

  • @anonym5160
    @anonym5160 Месяц назад +16

    I don’t believe you. The’re are exists to many videos that shows that npc crash into you on purpose.

    • @papachefe
      @papachefe Месяц назад

      idiot

    • @lilkiwi608
      @lilkiwi608 Месяц назад +4

      Yeah I've seen videos were a car is literally magnetizes to a player so instead of swerving into/in front of them it shifts like crab to the side and hits the side of the vehicle

    • @bmxscape
      @bmxscape Месяц назад +3

      for a guy with "evidence" and "the ability to read the games code" i sure did not see any evidence in the video, only random speculations such as "invisible objects spawning for 10 miliseconds causing cars to swerve off the road" like at 19:00 lmfao

  • @Zyphr--
    @Zyphr-- Месяц назад +14

    If you drive in a straight line without touching the joystick, they will crash into you.
    If you constantly, gently steer left/right, they won't crash into you.
    Try it