American Truck Simulator

American Truck Simulator

Realistic AI traffic behavior
61 Comments
vvrcic1 8 Apr @ 8:39pm 
Really like the mod excellent work, one big flaw for me however is the ai speeding.

I am doing speed limit +3 and I have AI trucks going at least +6 on straights and corners....could you have a look at it please?
NDN_AL 24 Mar @ 10:17am 
Thank you! Instead of getting in your way, the traffic just goes about its business like normal. No slowing down, speeding up, with you, as you try to avoid them. What a wonderful concept for a game like this.
LiveSessions 18 Mar @ 1:39am 
well isnt that the point bulldog lol
apabulldog 10 Oct, 2024 @ 9:41pm 
Not a fan of the traffic not giving way to the player sometimes. It's scary when I'm at a stop sign and nobody stops, or when I'm trying to merge onto the highway and the AI traffic is going a million miles an hour, comes out of nowhere, and crashes into my poor truck :(
ATSAddict 10 Oct, 2024 @ 7:35pm 
I would like to ask you to make the AI traffic go 80mph in the passing lane, Just like irl in most rural areas.
Hornby 2 Oct, 2024 @ 11:26am 
Slow traffic seems to build up in the fast lanes on HW and interstates, leaving the slow lanes empty.
VJ GAMZ 04 13 Sep, 2024 @ 6:52pm 
Still works in 1.51,
Simonson [29th Ret.] 12 Sep, 2024 @ 4:41pm 
A car merging onto a highway does not have the right of way.
hardy 6 Jul, 2024 @ 2:12pm 
Seems like left lane bug is still there
Dominik 25 Jun, 2024 @ 10:28am 
Works in 1.50?
saind 15 Jun, 2024 @ 2:19pm 
Yo I haven't been here in a while does it still work as of now?
LSGaming 18 Apr, 2024 @ 11:29am 
@Numb Nuts that isn't how interstates work at all. if u don't believe me go copy and paste your own comment into chatgpt and ask if its true or not. here is chatGPT's response to your comment if it was true or not --- While it's true that highway traffic has a responsibility to take actions to avoid collisions, the idea that merging traffic has the sole responsibility to safely merge onto the highway isn't entirely accurate. In most jurisdictions, both parties share responsibility for safe merging.

Highway traffic should ideally make reasonable accommodations to assist merging vehicles when safe to do so. This can include adjusting speed or changing lanes to create space for merging vehicles. However, merging traffic also has a responsibility to merge safely, which includes reaching a suitable speed and identifying an appropriate gap to merge into.
Lopine 28 Mar, 2024 @ 1:27pm 
Ignore merging on highway? Yeah thats a big no for me, i hate that. Peopel who is driving ONTO the highway and going to merge should wate till its clear to do so assuming there's not a huge amount of vehicles driving atm. Dont risk your life and vehicle, they are to expensive and its not worth endagering your self and others.
John Dulanius 22 Feb, 2024 @ 8:29pm 
If only there was any mod that would stop left lane campers so much.
Brutal Phase 11 Feb, 2024 @ 10:50pm 
Does this work on 1.49?
Ty 17 Dec, 2023 @ 6:50pm 
Make this mod for ets2
michaelrecomes 6 Dec, 2023 @ 4:10pm 
Tried this traffic mod after the DLC Kansas and updates. Fantastic job. I've upped traffic in CFG to 1.5 and thinking about going up to 2. Have finished many a miles with no issues at all.
Please keep it going.
🧊🧊🧊🧊🧊🧊🧊🧊 23 Oct, 2023 @ 12:31am 
Red flag from the first bullet point...

Things this mod changes:
AI much less likely to stop when they have right-of-way (e.g. when merging onto highways)

So wrong.
And I believe people IRL believe this because of the high percentage of morons merging onto the freeway here in California try to do so 10-20mph slower than the flow. They expect the traffic to slow to their pace. Extremely dangerous.
Peace Eshiet 12 Sep, 2023 @ 5:58pm 
I_AM_DARTH_VADER Negative, the highway traffic only has the responsibility to take actions to avoid a collision, but not necessarily give right of way to traffic merging. It is the merging traffic's responsibility to safely get up to speed and identify an appropriate gap in traffic to merge into. Many Insurance Companies, Law Firms, and the Yield Signs will back me up on this. .Just because you're a truck driver doesn't mean you're perfectly informed.
cacworth37 8 Aug, 2023 @ 11:31pm 
the Mod is good but can you updated it since 1.48 is coming
LSGaming 31 May, 2023 @ 8:44pm 
@bob that isn't true, most states require drivers to merge into the left lane when a car is seen coming down the on ramp. some states make cars stop and wait but only a few OK is one of those states. i know i drove semi trucks in real life
Bob 11 May, 2023 @ 1:58pm 
I would like to point out that a vehicle merging onto a highway does NOT have right of way. Traffic on the highway has right of way. It is the merging traffics responsibility to merge safely.
StevenCgull 28 Mar, 2023 @ 4:08am 
The amount of things this mod tries to do is admirable, and I really wish I could keep using it. Unfortunately, as others have already said, the traffic is mostly hogging the left lane when the right lane is empty. You've made some great improvements to the AI traffic behaviour otherwise though, so I hope you are able to address this problem in the future. Thanks for your efforts.
69nuggs 28 Jan, 2023 @ 12:40pm 
Great Mod other than the left lane is being used as the SLOW LANE and so i have to pass on the right but some slow traffic will be in both lanes causing me to slow or emergency break, sometimes i have to go to the shoulder.
Reaper 03 27 Jan, 2023 @ 4:49pm 
awesome mod with the exception of truck traffic always in left lane still. otherwise excellent mod
hcp_77 22 Dec, 2022 @ 5:23pm 
i dont see any traffic changes
kemetic7GoD4 10 Nov, 2022 @ 6:21pm 
this mod just moments ago mad my game crash and ik its this mod bcuz its was the only mod in red when i turned the game back on. it was red as in no pic no name etc.. like it deleted itself while i was driving smh pls fix !
kemetic7GoD4 10 Nov, 2022 @ 4:30pm 
anyone knows if it works still?
qthetroll 27 Sep, 2022 @ 4:30pm 
@Vaulcan that’s perfectly normal in california LMAOOOO!
LoneWolfLegend 5 Sep, 2022 @ 8:49am 
this mod is awesome, except for those stupid buses, slower then my grandma. not sure if they are newer to the game before yo made this mod or what but please fix them.
Vaulcan 23 Aug, 2022 @ 3:27am 
wish u could stop AI from speeding up with me when overtaking! and then brake when i brake.. AI trolling us!
The Darius 30 Jun, 2022 @ 2:50am 
I can confirm that the AI still stays in the left lane forever. Version 1.44.
EnragedN3wb 25 May, 2022 @ 6:33pm 
I'm having the same problems as Draylynn since starting to use this mod unfortunately. I want to thank the author for the work they put into it, but as I play with Realistic Economy, it's become too expensive having AI crashing into me when I have the right of way, so I have to remove it sadly.

If you play the game with normal economy I would likely still recommend it, as the cars moslty behave much more realistically. Even the crashes could just be chocked up to bad drivers which isn't too unrealistic. :P If it put the other driver at fault then I'd even consider it a feature!
Draylynn 18 May, 2022 @ 8:23am 
Having multiple problems, cars pulling out when they don't have right of way and crashing into the side of trucks. Cars sitting meters back from lights with hazards on and blocking the entire road, also seen this repeatedly on 2/3 lane highways. Cars not merging into left turn lanes completely and sitting there doing nothing in the previous lane.Trucks not overtaking. Trucks frequently slowing down (excessively) at curves. AI not backing up at obstructions.Trucks exiting highways slowing down excessively, almost stopping before continuing.
I don't think this mod is working right at all in 1.44 (no other traffic mods installed).
LEGOMAN❤ 15 May, 2022 @ 6:28am 
could you please make for ETS 2 ??
this mod is very real
DragonT4 6 Apr, 2022 @ 7:37am 
Coco... are we best friends now??? lol
Coco 26 Mar, 2022 @ 2:21pm 
could you please make it so that AI trucks will stop at weight stations for frequently?
TruckerRyan 12 Mar, 2022 @ 6:28pm 
I didn't look to see if anyone already submitted this, but getting this warning. Could you please fix? I assume it's this mod because it's the only traffic mod I am using.

<WARNING> [Trajectory] Obsolete traffic rule 'car_truck_on' used for item 0x826DB1A38980001 (Please remove)
<WARNING> [Traffic area] Obsolete traffic rule 'tr_es_only' used for item 0x3B97865094180001 (Please replace with '[access] Trucks only (common 'heavy' trucks)')
BMT 8 Mar, 2022 @ 1:20am 
Put about 1,000 miles on with this mod so far in rural and urban settings and I'm impressed. Thanks.
Uncle Elbie 22 Jan, 2022 @ 8:31am 
I got rammed by a police officer when pulling out of a gas station in Arizona.
Reloaded the save to double check it was a bug, and the officer would act like my truck and trailer simply weren't there and just drive into me.
That's not the problem though, the problem is the police officers car accelerating to mach speed upon touching my truck, flipping me over and doing $20k+ worth damages.
Tested with and without this mod.
El Bandido 15 Jan, 2022 @ 1:28pm 
Does this mod also add more traffic during morning and evening rush hours?
Commander Shepard 15 Jan, 2022 @ 1:02pm 
@RandomCo8 Oh, I see. I found that a bit confusing, so thanks for changing it.
RandomCo8  [author] 15 Jan, 2022 @ 12:25pm 
@Commander Shepard sorry for late reply. i intentionally used the vanilla rules. afaik they are for vehicle spawn rates, which this mod doesn't change. i only changed the names of rules in traffic_rules_spawn.rc8_traffic.sui, the rules themselves are the same as vanilla. i included traffic_rules_spawn.rc8_traffic.sui in case someone else wants to change the traffic mix or spawn rates. although now that you mention it, i will change it to reference the rules from this mod
Commander Shepard 11 Jan, 2022 @ 8:16am 
@RandomCo8 Great! Thanks for the update.
Regarding the traffic rules: did you intentionally use the vanilla rules for "traffic_rule.cityarea" and "cityxlarea" and not the ones you defined, e.g. "traffic_rule.s_car_u" instead of "traffic_rule.scaru"?
RandomCo8  [author] 10 Jan, 2022 @ 3:26pm 
@Commander Shepard thanks for your reply. i've incorporated your settings and pushed out an update (the mod is now version 3.3).

this is probably going to be the last update in a long time unless people have specific suggestions like you did. thank you and everyone else who provided feedback and was willing to use my mod.
V-Speeds 10 Jan, 2022 @ 12:47pm 
this mod is great!! i dont understan why it needs to be fixed this mod works perfectly! its not evryday you see a truck pass you on the highway with this mod!
Commander Shepard 10 Jan, 2022 @ 8:16am 
I totally understand your frustration, this took me a whole afternoon to figure out and the only documentation (sort of) I found was in the SCS forums from 2016 - I guess, that is the post you are referring to.
I suppose, commands not used in the vanilla traffic_data.sii have internal default values assigned to them in code, that's why they are not used in the file. SCS could provide much better documentation for their product to help mod authors.
I ended up using
ai_change_lane_time: 4.0
ai_change_lane_distance: 16.0

Your mod is just perfect for my needs, this was the only thing bugging me.
Thank you for taking the time and making it!
RandomCo8  [author] 9 Jan, 2022 @ 9:17pm 
SCS doesn't provide ANY documentation on traffic commands afaik and doesn't expose them in traffic_data.sii, makes it difficult to keep working on this mod. i don't know what settings are available and how they affect traffic. i also don't have time to do trial and error.

sorry for the rant. if you feel you can do better please make your own mod and tell me. i would happily be one of your first subscribers. use this as a foundation if you want. unless SCS or someone in the community makes a guide that describes all the traffic commands, exactly what they do with acceptable ranges of values, i'm done with traffic mods. i would love it if this mod worked perfectly, but i'm getting old and i don't have the patience anymore to experiment with undocumented settings.

all that being said, i'd appreciate it if you could mention what values of ai_change_lane_time and ai_change_lane_distance you used. the least i can do is try to fix this before throwing in the towel.
RandomCo8  [author] 9 Jan, 2022 @ 9:11pm 
hey commander shepard, thanks for the feedback.

the thing is, the left lane issue is inconsistent. using the same profile with the same mods (or lack thereof), sometimes it happens to me, sometimes it doesn't, and there doesn't seem to be a pattern. ai_change_lane_time and ai_change_lane_distance are supposedly obsolete, but the fact that you got them to do something apparently means they aren't? i have no idea what to think anymore.

tbh this mod has grown way beyond its original scope, and i have no problem admitting that by now i'm in way over my head. if you extract traffic_data.sii from def.scs, you'll see that none of these commands are in there. i had to go looking for them, and even then the only forum posts i could find were several years old and many of the commands had vague descriptions or did not have descriptions at all. i also don't want to simply rip off other people's traffic mods by copy-pasting what they did.
Commander Shepard 9 Jan, 2022 @ 5:08am 
I am facing the same problem as PANZERWOLF. AI traffic (cars, trucks) in the left lane will never move over to the right lane.
This is in single player mode, not convoy and on the vanilla map. g_traffic is set at 1.0 and the mod has the highest priority in the mod order.
Adding the parameters 'ai_change_lane_time' and 'ai_change_lane_distance' to 'traffic_data.sii' made the AI cars change langes again.
I am wondering, why you are not referencing your new traffic rules in 'traffic_rules.rc8_traffic.sii', rules 'traffic_rules.cityarea' and 'traffic_rule.cityxlarea'?