Patch: Drive-Through Road Vehicle Stops
Moderator: OpenTTD Developers
-
- Traffic Manager
- Posts: 146
- Joined: 27 Dec 2004 19:37
- Location: Home of the Big Cat
-
- Traffic Manager
- Posts: 146
- Joined: 27 Dec 2004 19:37
- Location: Home of the Big Cat
i dont konw how to compile with drive through and destinations can somone compile and send such a version to AGraewer@gmx.net
sorry for my bad english
sorry for my bad english
Hungarian Translation (but only if you need it)
mart3p: Well, I don't know do you need that, but I've translated that 2 string that you added to english.txt. I've attached the diff file, so if you want to internationalize your patch you can add it to them.
- Attachments
-
- drive_thru_hun.diff
- Hungarian translation
- (805 Bytes) Downloaded 127 times
Last edited by DirtY iCE on Boomtime, the 65th day of The Aftermath in the YOLD 3173, edited 782,469,123.3691 times in total.
Do you mean you would like a patch that can be applied against the 0.5.0-RC4 source code? If so, then it is possible, let me know.Desolator wrote:How about making this for the latest RC?
Or, do you mean you would like a binary with the patch included built from 0.5.0-RC4 source code? I am planning to post a new win 32 exe with the patch included. This will be built from the trunk code, that way you get everything in 0.5.0 with the addition of new trunk features like 'bridges over everything'.
Back in September last year:
Well, finally I’ve added this feature.mart3p wrote:Yes, this is a known issue, due to the existing multistop code preferring the nearest stop unless it is full.Slace wrote:I found an issue with this patch, if you line up the stops end to end the buses only go to the 1st stop, then never go through to the next one.
This may be possible, I already have a few ideas...hertogjan wrote:Isn't it possible to make a patch option which allows you to choose between either the current behaviour, or vehicles that will automatically choose the farthest free slot?

Also added, thanks to Dirty ICE, Hungarian translations.
The new patch against r8425 is in the first post.
Edit: A win32 exe built at r8435 with drive-through road stops is in the 2nd post.
- Attachments
-
- DT Freight Stops.png (22.58 KiB) Viewed 3397 times
-
- DT Bus Stops.png (20 KiB) Viewed 3397 times
-
- Traffic Manager
- Posts: 134
- Joined: 09 Nov 2006 23:38
Chicago Rail Authority wrote:Great job!
Thanksjungle wrote:Fantastic patch - it seems to have everything nicely worked out now that it works properly with multiple stops.

There are still a few improvements I’m working on. I have building drive-through stops over town-owned roads working (and the road reverts to town-ownership if the road stop is removed). It will be a patch option.
-
- Traffic Manager
- Posts: 134
- Joined: 09 Nov 2006 23:38
Question...
If you have two consecutive bus stops, [A]->, and three vehicles approaching {3}{2}{1}... Vehicle {1} will go to the last stop to load/unload, and vehicle {2} will go to the next open stop, [A]. When vehicle {1} finishes loading/unloading, it departs... leaving vehicle {2} at stop [A] and vehicle {3} sitting idle on the road tile waiting for vehicle {2} to move.
Is it possible to have vehicle {3} "see" that stop is open after vehicle {1} leaves, and simply drive around the still loading vehicle {2}?
If this is too confusing, I could try to put together a screenshot and post/PM it...
Thanks!
If you have two consecutive bus stops, [A]->, and three vehicles approaching {3}{2}{1}... Vehicle {1} will go to the last stop to load/unload, and vehicle {2} will go to the next open stop, [A]. When vehicle {1} finishes loading/unloading, it departs... leaving vehicle {2} at stop [A] and vehicle {3} sitting idle on the road tile waiting for vehicle {2} to move.
Is it possible to have vehicle {3} "see" that stop is open after vehicle {1} leaves, and simply drive around the still loading vehicle {2}?
If this is too confusing, I could try to put together a screenshot and post/PM it...
Thanks!
Many thanks to those who make OTTD and TTDP possible.
Chicago Rail Authority: I understand what you mean, you are asking if vehicles can be made to overtake others that are loading/unloading.
I don’t think this could be done without considerable changes and additions to the patch. I won’t say it’s impossible, but I can’t see me doing it. But maybe I’ll have a look at the existing overtaking code and see how that works...
I don’t think this could be done without considerable changes and additions to the patch. I won’t say it’s impossible, but I can’t see me doing it. But maybe I’ll have a look at the existing overtaking code and see how that works...

mart3p: there have been several changes to the variables in the RoadStops section of the savegame in trunk. Various supposedly "unused" variables have been NULLed. I think these may affect your patch.
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
- Born Acorn
- Tycoon
- Posts: 7596
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
-
- Traffic Manager
- Posts: 134
- Joined: 09 Nov 2006 23:38
Agreed!! 
Do any of the Devs reading this have any constructive thoughts/opinions/criticisms on if it would be possible to have waiting vehicles overtake loading vehicles to reach otherwise-obstructed loading stops?
mart3p - the above is not in reference to your willingness/ability to figure it out on your own - I'm just in hopes that we can get some visibility to this great patch and get any/all necessary 'final' tweaks to get it in trunk ASAP
Great work!

Do any of the Devs reading this have any constructive thoughts/opinions/criticisms on if it would be possible to have waiting vehicles overtake loading vehicles to reach otherwise-obstructed loading stops?
mart3p - the above is not in reference to your willingness/ability to figure it out on your own - I'm just in hopes that we can get some visibility to this great patch and get any/all necessary 'final' tweaks to get it in trunk ASAP

Great work!
Many thanks to those who make OTTD and TTDP possible.
-
- Engineer
- Posts: 123
- Joined: 16 Nov 2006 16:52
This patch is Awesome, love using buses now..Chicago Rail Authority wrote:Agreed!! :)mart3p - the above is not in reference to your willingness/ability to figure it out on your own - I'm just in hopes that we can get some visibility to this great patch and get any/all necessary 'final' tweaks to get it in trunk ASAP
Great work!
Well done !!!
Who is online
Users browsing this forum: No registered users and 20 guests