Truck Stations
Moderator: OpenTTD Developers
Truck Stations
Need your help guys!
If I have 4 stations next to each other (so they are all the same station), why do trucks always pick the closest one even if it has a long queue/full? It does this even if there are no other trucks in the other 3 stations!
Is the way of building the roads to the station that will stop this from happening?
If I have 4 stations next to each other (so they are all the same station), why do trucks always pick the closest one even if it has a long queue/full? It does this even if there are no other trucks in the other 3 stations!
Is the way of building the roads to the station that will stop this from happening?
- webfreakz.nl
- Director
- Posts: 627
- Joined: 11 Aug 2005 08:22
- Location: Localhost, 127.0.0.1, [The Netherlands: South Holland-> Westland]
- Contact:
That doesn't change a thing!
If I have 3 stations next to each other, with the new one going in between the other 2 and removing the depot & placing a road - the vehicles tend to go straight on as thats the quickest route.
The reason I put that fork in is because I believed each distance to the station is the same but for some reason they always favour one. Sometimes a stray truck goes to the other, but others always join the queue!
If I have 3 stations next to each other, with the new one going in between the other 2 and removing the depot & placing a road - the vehicles tend to go straight on as thats the quickest route.
The reason I put that fork in is because I believed each distance to the station is the same but for some reason they always favour one. Sometimes a stray truck goes to the other, but others always join the queue!
- nicfer
- Director
- Posts: 529
- Joined: 03 May 2005 20:50
- Location: Somewhere in a country called Argentina
I have the same problem and I don't deleted any station.webfreakz.nl wrote:I think the problem is you deleted 1 of the 3 stations. So first you had 3 station right next to each other, and then you demolished the one in the middle?
Sorry for my english I am argentinian
TTO don't crashes in Windows XP; XP crashes TTO
Formerly known as UnderBuilder.
MyMiniCity
TTO don't crashes in Windows XP; XP crashes TTO
Formerly known as UnderBuilder.
MyMiniCity
- webfreakz.nl
- Director
- Posts: 627
- Joined: 11 Aug 2005 08:22
- Location: Localhost, 127.0.0.1, [The Netherlands: South Holland-> Westland]
- Contact:
Maybe the pathfinding source code of trucks doesn't have the function to look (like a train does) and check if a station is full, if it is: it will take the next one?
correct me if i'm wrong...
correct me if i'm wrong...
# Programming is like sex, one mistake and you have to support it for the rest of your life. (Michael Sinz)
They won't though, they always pick the same one & just queue further back up the feeder road!
Another test, this one worked as expected (most trucks took the first station as it was nearest!).
Edit: Yet why do 4 out of the 12 still take different ones?
Another test, this one worked as expected (most trucks took the first station as it was nearest!).
Edit: Yet why do 4 out of the 12 still take different ones?
- Attachments
-
- test.PNG (59.02 KiB) Viewed 5380 times
- webfreakz.nl
- Director
- Posts: 627
- Joined: 11 Aug 2005 08:22
- Location: Localhost, 127.0.0.1, [The Netherlands: South Holland-> Westland]
- Contact:
- webfreakz.nl
- Director
- Posts: 627
- Joined: 11 Aug 2005 08:22
- Location: Localhost, 127.0.0.1, [The Netherlands: South Holland-> Westland]
- Contact:
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
This is a pettern for stations that I really like. It is, to my knowledge, the one that offers the best performances.
It can be applied to industries as well as mail/passengers.
Can be spread a little more too...
At a certain point, it can run into a complete jam, but I think it has to do with how the system handle the trucks rather then the design itself.
It can be applied to industries as well as mail/passengers.
Can be spread a little more too...
At a certain point, it can run into a complete jam, but I think it has to do with how the system handle the trucks rather then the design itself.
- Attachments
-
- Aubusson Transport, 7th May 2001.png (31.62 KiB) Viewed 5323 times
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
because the closest feeder road is full, make the feeder roads much shorter and it will prevent thisdavery83 wrote:They won't though, they always pick the same one & just queue further back up the feeder road!
Another test, this one worked as expected (most trucks took the first station as it was nearest!).
Edit: Yet why do 4 out of the 12 still take different ones?
Who is online
Users browsing this forum: No registered users and 14 guests