American Truck Simulator

American Truck Simulator

View Stats:
Fleet Trucking
I'm unsure if SCS will see this nor do I know if there is a thread out there for this. But there's one thing that's been nawing at me, I'd like to see my fleet truks on the road while I'm hauling down the road. Maybe I'm the only one that think that'll be cool. lol. I'm no programmer, so I don't know how hard or tough of a task that might be...

Feel free to give me your input. Negative and positive welcome. =)
Originally posted by Capt Fuzzy:
I get what you are saying Vernon, but I doubt that it would really be necessary to go to the extent that you are describing...
First off, atleast in my case, this is something that I'd like to see in the single-player version of the game, multiplayer is a whole other matter, and there, this could become a real issue fast.

In the single-player though, you have basically a set number of trucks that spawn at any given time. I don't see how it would be much of a 'hit' to the system to have a very small percentage of those AI trucks to spawn with your company paintjob, they spawn with random paintjobs and loads anyway, so having one or two of them spawn with your specific company colors, wouldn't be a big deal.
The percentage could be set based upon how many trucks and drivers your company has, and again, there would be places where you probably wouldn't see many, if any at all, while closer to your garages, you might see more of them coming and going.

Basically, a routine could be added to the existing AI system that would tell it to spawn X number of trucks, in this particular area, with the player's company paint job, with X being a percentage of the total trucks and drivers that the player has in a given area.

As an example, you have a full-sized garage in Phoenix, 5 drivers and 5 trucks.
The AI system could spawn anywhere from 1 to 3 of your company trucks in this area, pretty much guaranteeing that you will probably see atleast one of them as you are 'tooling around' town. As you get out onto the open highway, you will probably be far less likely to see one, so the AI might spawn one every 200 or 300 miles...

Going about it this way, you don't need any extra programs, this would use the existing AI system, with a few edits of course, but basically everything is already there to do this. All you would really need would be a way to assign a custom paintjob to your trucks that the AI system could call upon to spawn these trucks occasionally...
< >
Showing 1-15 of 25 comments
Asigion Feb 8, 2018 @ 3:09am 
This has been requested for a very long time and by many people. I am sure if you searched through the forum or the ETS2 forum using the search box would have provided you with many threads requesting this feature. I mentioned ETS2 because this request has been made on the ETS2 forum well before ATS was released.

It is far more complex than it seems going by many responses from people who I regard have a great deal of knowledge about the game.
Last edited by Asigion; Feb 8, 2018 @ 3:10am
Capt Fuzzy Feb 8, 2018 @ 4:50am 
I too would love to see this, and personally, if you can add mod trailers that the AI trucks can haul, I see no reason why a feature like this can't be added as well, but that's up to SCS as to whether they will ever implement something like this or not...
Universe_804 Feb 8, 2018 @ 6:09am 
I definitley get that its not going to be easy to do it and at the moment SCS has bigger fish to fry with Oregon being just announced. But due to the simulator style of the game, I think it'll add to realism.

Maybe someday. =D
Last edited by Universe_804; Feb 8, 2018 @ 6:09am
Reese Feb 8, 2018 @ 8:43am 
Simulate it, then. Choose a company "skin" and apply it to AI trucks. Then when an AI truck spawns, it has a chance to have your companies skin. Problem solved.
Wille Wilse Feb 8, 2018 @ 8:55am 
Main reason in short is that lower end PCs cant cope with the effort it will take especially when having all drivers to hire i.e 250+ trucks out.
What would be doable I though I think is to have unused trucks bought by the player parked in the yard outside the garage - or inside.
Reese Feb 8, 2018 @ 8:59am 
Thinking about it, you really only need to road-simulate the drivers near your position. There wouldn't be much of a performance hit unless you somehow manage to get all of your drivers in the same city.

Edit: I would like to point out though that the game doesn't like loading more than one fully detailed truck at a time. So it'd probably have to show a lesser detailed model if you could indeed see your drivers driving.
Last edited by Reese; Feb 8, 2018 @ 9:10am
Wille Wilse Feb 8, 2018 @ 9:08am 
Originally posted by Reese's Cup:
Thinking about it, you really only need to road-simulate the drivers near your position. There wouldn't be much of a performance hit unless you somehow manage to get all of your drivers in the same city.
Sounds logical - I was just informing about the most common reason why not - I have no clue if its "the reason" or not.
Capt Fuzzy Feb 8, 2018 @ 11:57am 
Originally posted by Reese's Cup:
Simulate it, then. Choose a company "skin" and apply it to AI trucks. Then when an AI truck spawns, it has a chance to have your companies skin. Problem solved.
That's a very interesting idea, now, how do you do that? lol
shoopy Feb 8, 2018 @ 12:07pm 
Originally posted by Reese's Cup:
Thinking about it, you really only need to road-simulate the drivers near your position. There wouldn't be much of a performance hit unless you somehow manage to get all of your drivers in the same city.

Edit: I would like to point out though that the game doesn't like loading more than one fully detailed truck at a time. So it'd probably have to show a lesser detailed model if you could indeed see your drivers driving.

There would have to be some road simulation so that the truck can be in the right place when you meet it. If it just ghosts through things then it might try to appear in the middle of road construction when you get within range or something like that.
Reese Feb 8, 2018 @ 12:36pm 
It could spawn in all the same as all other AI. It doesn't have to be super accurate. They could just be driving around the town that you're in and maybe pathfind to get out of the city in the direction of their load. As long as you're near, they'll stay spawned in. Once you leave them, they'll go back to being virtual only.

Of course, without going into the code, it's hard to know if this is possible with the current system. But all they really need to do is check if a driver in in the location you are, and if so put your customizations of the truck they're supposed to drive in your location. If your driver is already spawned, do not spawn it again.

And of course, once you've left the area, or the driver has exceeded a certain distance, then put them back to virtual driving and despawn the truck.

This could also help implement AI in their own custom multiplayer if they ever do it as they can simply have an instanced set of AI based on the players around and whether their drivers are nearby.

Now that I've thought about this for a couple more minutes, I've noticed one major problem with my thoughts. If it were implemented as such relying on nearby players to determine the AI that spawns and what their trucks/trailers look like, surely you could save edit to spawn more than the server could handle or something. NOW I see SCS's issue with this. Lots of processing needed to get this right.
Last edited by Reese; Feb 8, 2018 @ 12:38pm
shoopy Feb 8, 2018 @ 12:43pm 
Yeah I guess what they could do is detect if the truck would be near and then queue it up to spawn amongst the AI. Still does need some form of road tracking for the game to know that the truck is near you to begin with though.
Reese Feb 8, 2018 @ 1:03pm 
I'm sure if Cities Skylines can virtually simulate thousands, surely ATS/ETS2 could virtually simulate a couple hundred using simple data. We'll see what the future holds.
Capt Fuzzy Feb 8, 2018 @ 1:28pm 
Personally, I don't see why they can't just have a couple of random AI spawn with your company skin, they do it with trailer skins, this surely couldn't be much harder.
When you add trailer skins, you don't see the same skin everywhere, it get's randomly spawned here and there and mixed in with the other trailers. The AI vehicles already spawn with random paintjobs, even the trucks, so I just can't see how this would be so difficult to implement.
If I knew how the system worked, I'd be more than happy to test this theory out and see if it holds true... :steamhappy:
If a modder out there wants to kind of 'bring me up to speed' on this, I'd be more than willing to help out in any way I can...
I'm intelligent and a quick study, if the 'teacher' is good, I can be up and running with this in a relatively short amount of time.
Last edited by Capt Fuzzy; Feb 8, 2018 @ 1:30pm
shoopy Feb 8, 2018 @ 2:04pm 
Originally posted by Reese's Cup:
I'm sure if Cities Skylines can virtually simulate thousands, surely ATS/ETS2 could virtually simulate a couple hundred using simple data. We'll see what the future holds.

It's definitely possible but it depends on who is coding it and what they know how to do. I've seen enough games that melt from trying to do two things at once.
ttower Feb 8, 2018 @ 3:45pm 
Originally posted by Reese's Cup:
I'm sure if Cities Skylines can virtually simulate thousands, surely ATS/ETS2 could virtually simulate a couple hundred using simple data. We'll see what the future holds.
Cities Skylines doesnt actually have "AI". The game generates a route for each vehicle, and it will follow that path without change until it reaches the destination. That is why you can get all your traffic piling into 1 lane out of 3. The only thing it does on the fly is when to stop or go based on traffic lights and other cars. Getting company trucks to spawn in similarly and then behave normally would be much more of a challenge, though not impossible. There are others differences as well, but Im not sure how they apply to this situation.
< >
Showing 1-15 of 25 comments
Per page: 1530 50

Date Posted: Feb 8, 2018 @ 2:50am
Posts: 25