Woo, I been looking for a mod that fixes the traffic lights always turning green!
However...this "Trafficlights.ini" file that comes with the downloaded archive, I assume you just copy&pasted from the YouTube video (https://www.youtube.com/watch?v=Vf8o716sX1o), and after having a look at the code, I can't imagine all of those values all make up the change to the traffic lights?
There's another mod that does the same thing as this one (No More Green Wave), but only consists of 4 lines of code (which are also found in your .INI file), as opposed to your 38 lines. What exactly do the other 34 lines of code (and their values) change in the game. Are those other lines and their numbers default vanilla values, or edited values? It would be nice to know how exactly all those other changes might effect the game, in case they cause conflicts/errors with other mods.
Traffic lights problems are all over the game and a real joke leading to more accidents than anything else. It's useless anyway since the " Car AI" is literally a joke so when you confront traffic lights to the Car AI, the stupid Car AI always wins. Look at the cops ramming civilians, killing them or crashing into other peoples cars without anyone reacting "( great AI system).
Hang on a second......try that yourself as V... or try to bump lightly into a cop's car,and all of Night city's PD + Max Tac are on your ass. Realism...
this mod doesn't work. buggy af as well. with this mod, some green lights will even turn red as you approach . I've just accepted that this game's traffic mechanics are trash. Honestly you will have a better time just fast traveling everywhere instead of trying to drive for immersion.
Hi everybody. I can't tell 100% this is the only one reason since I installed around 30 other mods (if someone recently used this mod only by itstelf, I'd like to read your opinion)...but when I install this one my game crashes while driving the streets after few seconds.....Cold, rough sudden and without any warning...
But it works. (I mean at least it does what's supposed to do) I had enought time to witness red light not switching when approching a crossroad. Does anyone having the same issue? I'm asking since the mod hasn't being updated since long, maybe it needs a bit of freshening?
If not, I apologize by advance.
In any way, thank you Illtempered for your work and effort.
Just a little heads up, this can cause the drive from the Afterlife to Konpeki Plaza to take forever. Especially if you have anything like Realistic Traffic Density installed.
My biggest issue right now is that when I stop in traffic for quite sometime due to red light, for some reason the AI of some npc cars goes nuts and starts ramming other cars in a hurry to drive forward. Is there any mod that fix this? So many times my car got rammed by an npc car who was iwhen I was just chilling out with the radio while waiting for the traffic lights to go green. Initially those npc cars will wait patiently on the traffic but then suddenly goes nuts and starts ramming cars in front of them and then speeds up as if being chased by some imaginary being or something.
Unfortunately, that just vanilla AI being vanilla AI in this game, my man. And it's also my main issue with the pedestrian traffic AI in this game as well when trying to abide by the "road rules". GTA has the same issue. The AI isn't really programed to recognize when the player is just in a red light queue with other vehicles and only sees them as clogging up space on the road, so the AI will just try to drive around you regardless. Like I said, even GTA does this. So if the people at Rockstar can't create an AI that can recognize when the player is RP'ing a situation like this in traffic, I have ZERO hope that the gonks at CDPR can, and currently, there isn't a mod that attempts to rework traffic AI to compensate for this, at least not one that I'm aware of. Playing this way is already pretty niche as it is. It's one thing to just change some red light LODs, it's another to bother trying to rework a whole AI system for it.
That is just really unfortunate then. As a programmer myself (not in gaming industry), programming such AI seems possible. There might be a reason why things become this way. Maybe they just don't deem it as priority. Or maybe its a waste of processing resources that making it sophisticated cripples the games overall performance. Or maybe it introduces bugs in other stuffs like quests involving some cars, etc. At any rate, I guess we just have to live with it. Also another issue in traffic is the intersection. Somehow someone in CDPR decided to put the traffic lights in the opposite direction. You won't be able to see it in first person unless you are using a car who don't have a roof or has more vision towards its roof or unless you are in third person view.
Yeah, and let's be honest, this game has WAY more problems than being concerned about the immersion of us legal road roleplayers. Let's not forget that at launch, if you left your car even just halfway on the street on a 2+ lane road, when you return to it, you'd see a 6 car backup of traffic behind it. Thankfully, that doesn't happen as often anymore. So, I can definitely see a check at perceived red light queues or something of that nature not being a priority to them at all. Like I said, it's a very niche way to play open-world games that have driving mechanics, and I wouldn't be surprised if most dev teams design around the player flying past every red light as oppose to waiting for them. GTA makes their traffic system as infuriating as it is for that very reason, I'm sure. And since 2.0, I've already noticed some infuriating traffic design decisions in this game that's taken right out of Rockstar's playbook, such as cars randomly swapping lanes out of no where JUST to cut you off when they were just sitting in a red light queue, lol.
I have found that inching your car forward or backward resets this timer. Just be careful, that every time you move, the car behind will move a little closer too.
I have found that inching your car forward or backward resets this timer. Just be careful, that every time you move, the car behind will move a little closer too.
Thank you so much for this comment 🩷!!
I was going insane being rammed all the time (I play with my own traffic mod that raises the density to the maximum the engine can handle so the ramming was prevalent at every single intersection) and just inching forward and hitting the handbrake (so you don't move to far) fixes all of it!!
I timed the NPC response time and when you don't inch forward, it will take 25 to 30 seconds before they ram you. With the inching forward I played for 30 minutes without getting hit a single time!
You just made the driving immersive again (outside of the inching forward every 10 seconds xD) so thank you again! 🩷
These are very astute observations, y'all. I noticed the same thing and am hopeful that a mod will arrive in due time to fix traffic.
Guys, think about it. Real life tech is advancing so quickly, atm, that a real AI will probably be able to fix this s#*! for us. In 2–3 years, tops, this will be done away with. Tech is about to become f*#@ing siiiiick
76 comments
However...this "Trafficlights.ini" file that comes with the downloaded archive, I assume you just copy&pasted from the YouTube video (https://www.youtube.com/watch?v=Vf8o716sX1o), and after having a look at the code, I can't imagine all of those values all make up the change to the traffic lights?
There's another mod that does the same thing as this one (No More Green Wave), but only consists of 4 lines of code (which are also found in your .INI file), as opposed to your 38 lines. What exactly do the other 34 lines of code (and their values) change in the game. Are those other lines and their numbers default vanilla values, or edited values? It would be nice to know how exactly all those other changes might effect the game, in case they cause conflicts/errors with other mods.
Traffic.ini coding:
[Traffic]
AccFactorMP = 1.000000
AvoidanceLimitAngle = 5.000000
AvoidZebra2Zebra = true
BottomClampAngle = 15.000000
BrakeFactorMP = 25.000000
BufferBuffer = 0.100000
carExpectedCollisionFactor = 0.700000
CurveLimitFactor = 0.800000
DeathLimit = 10.000000
decelerationFactor = 1.000000
DisableLOD = true
DisplacementCap = 1.000000
DisposeOnSummon = true
FrontAngle = 15.000000
GreenWaveAveragePredictedCarSpeed = 0
GreenWaveLength = 0
leftLaneSpeedIncrease = 0.100000
MaxLocalPathLength = 100.000000
MaxPathLanes = 5
MaxTimeBeforeGreenWave = 10.000000
MinTimeBeforeGreenWave = 7.000000
PathLaneIntersectionDownTolerance = 1.000000
PathLaneIntersectionUpTolerance = 2.000000
PlayerPrediction = 30.000000
roadSpeedOverride = -1.000000
SideAngle = 0.000000
SlotLaneOccupancyArea_Pedestrian = 2.500000
SlotLaneOccupancyArea_Vehicle_Length = 6.000000
SpotDetectionPrecision = 5.000000
SpotDetectionRange = 3.000000
stopOnStaticCollisions = false
StopSpawn = false
StraightTurnLimit = 15.000000
TaxiDespawnLookahead = 100.000000
taxiPathDistance = -1.000000
TeleportationDistance = 340282346638528859811704183484516925440.000000
UncrowdMultiLaneRoads = true
UncrowdOneLaneRoads = true
It's useless anyway since the " Car AI" is literally a joke so when you confront traffic lights to the Car AI, the stupid Car AI always wins.
Look at the cops ramming civilians, killing them or crashing into other peoples cars without anyone reacting "( great AI system).
Hang on a second......try that yourself as V... or try to bump lightly into a cop's car,and all of Night city's PD + Max Tac are on your ass. Realism...
Random lights are much more fun than always green.
(Works on 2.2)
I can't tell 100% this is the only one reason since I installed around 30 other mods (if someone recently used this mod only by itstelf, I'd like to read your opinion)...but when I install this one my game crashes while driving the streets after few seconds.....Cold, rough sudden and without any warning...
But it works. (I mean at least it does what's supposed to do) I had enought time to witness red light not switching when approching a crossroad.
Does anyone having the same issue?
I'm asking since the mod hasn't being updated since long, maybe it needs a bit of freshening?
If not, I apologize by advance.
In any way, thank you Illtempered for your work and effort.
I"d like to be able to use it though.
...and sorry for my eventually weird english.
I was going insane being rammed all the time (I play with my own traffic mod that raises the density to the maximum the engine can handle so the ramming was prevalent at every single intersection) and just inching forward and hitting the handbrake (so you don't move to far) fixes all of it!!
I timed the NPC response time and when you don't inch forward, it will take 25 to 30 seconds before they ram you. With the inching forward I played for 30 minutes without getting hit a single time!
You just made the driving immersive again (outside of the inching forward every 10 seconds xD) so thank you again! 🩷
Guys, think about it. Real life tech is advancing so quickly, atm, that a real AI will probably be able to fix this s#*! for us. In 2–3 years, tops, this will be done away with. Tech is about to become f*#@ing siiiiick
Дарова)
ну мы и собрались тут внезапно))