Patch: Drive-Through Road Vehicle Stops

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
User avatar
skidd13
OpenTTD Developer
OpenTTD Developer
Posts: 522
Joined: 03 Mar 2005 10:49
Location: Germany

Post by skidd13 »

Born Acorn wrote:All we need now is this *in* trunk. :p
Agreed!
What is the opinion of the devs?
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Chicago Rail Authority
Traffic Manager
Traffic Manager
Posts: 134
Joined: 09 Nov 2006 23:38

Post by Chicago Rail Authority »

Couple of quick notes... 1) first time posting an image, so please provide 'constructive criticism' if I've done something incorrectly... I used *.png, etc... hopefully that will keep everyone happy? :) 2) I'm throwing in another idea/question, which is why I'm posting again... if a moderator thinks this should have been in the form of an edit instead of another post, please PM me and I'll be sure to adhere to whatever guidelines you'd prefer be followed...

That said... lets talk about drive through waypoints :) In the screenshot, I have a 6x1 series of drive through roadstops... Although I'm in hopes of having the ability to 'overtake' loading vehicles someday - a more immediate solution (and fun addition, IMO) would be drive through waypoints... If two 'waypoints' were placed at the positions marked by the green arrows, then one could instruct the vehicles to approach the station from one side or the other - giving 12 available slots instead of a random amount determined by whatever path the vehicles take to the station...

Conceptually, this would allow for greater efficiency in tighter areas, as you could instruct 'drop off' trucks to approach from one side (keeping traffic flowing in that direction) and pick up trucks could approach from another. Other possible uses would be somewhat 'forced' one-way roads (if you create a series of waypoints, etc.)...

Would anyone else be interested in this kind of feature with this patch?

PS - As far as I know, all of the grfs shown are available for public use, etc... If someone sees something that they're upset about, kindly PM me and we'll discuss. :)

[EDIT] Fixed the config for the USSet after posting the image... had the crossings from that set overriding the USRoads crossings.... Long story short, lost all my files at one point and have only recently rebuilt my collection - haven't finished resetting all the parameters as they should be, as I just wanted to start playing again and to test out the drive through road stops!! :)[/EDIT]
Attachments
Drive_Through_Waypoints.PNG
Drive_Through_Waypoints.PNG (155.44 KiB) Viewed 3073 times
Last edited by Chicago Rail Authority on 03 Feb 2007 01:40, edited 1 time in total.
Many thanks to those who make OTTD and TTDP possible.
Sacro
Tycoon
Tycoon
Posts: 1145
Joined: 18 Jun 2005 21:08
Location: Here
Contact:

Post by Sacro »

Hmm, could you place a drive through stop, with it set to non-stop, and TTDPatch Compatible non-stop handling switched on?
We Am De Best

Host of ThroughTheTube site
Chicago Rail Authority
Traffic Manager
Traffic Manager
Posts: 134
Joined: 09 Nov 2006 23:38

Post by Chicago Rail Authority »

I have the TTDPatch non-stop handling enabled... but the 'non-stop' order only shows in the train instruction sets.... unless I'm missing something / have something setup incorrectly? <-- Always a possibility :)

[EDIT] Your point, though, is exactly what I'm hoping we can generate some interest in... either 1) extra sprites that we can place that look like some kind of drive through waypoint (gfx TBD) or 2) modify the drive through station code to allow for non-stop handling. Personally, I'd love to have more sprites to customize layouts, etc. Thoughts??? [/EDIT]
Many thanks to those who make OTTD and TTDP possible.
Quark
Transport Coordinator
Transport Coordinator
Posts: 325
Joined: 20 Sep 2006 11:36
Location: Russia, Moscow

Post by Quark »

Chicago Rail Authority wrote:Couple of quick notes... 1) first time posting an image, so please provide 'constructive criticism' if I've done something incorrectly... I used *.png, etc... hopefully that will keep everyone happy? :) 2
If you want criticism, then just compare size of my attachment with yours :) Don't get it serious though.
Attachments
1.png
1.png (55.55 KiB) Viewed 3022 times
Image
User avatar
White Rabbit
Tycoon
Tycoon
Posts: 1734
Joined: 22 Jun 2005 19:15

Post by White Rabbit »

Also, US roads needs a higher priority than the US Set, or you will get those kind of conflicting road crossings in your screenshot.
Image
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

Chicago Rail Authority wrote:That said... lets talk about drive through waypoints :) In the screenshot, I have a 6x1 series of drive through roadstops... Although I'm in hopes of having the ability to 'overtake' loading vehicles someday - a more immediate solution (and fun addition, IMO) would be drive through waypoints...
I like the waypoints idea, it wouldn't be too difficult to code. The existing drive-though code would work fine for a waypoint with just the addition of a flag, telling the vehicle not to stop. Has anyone got any ideas for suitable graphics? :)
Sacro wrote:Hmm, could you place a drive through stop, with it set to non-stop, and TTDPatch Compatible non-stop handling switched on?
I don't think non-stop orders are available for road vehicles. :?

Edit: sorry, just realised that Chicago Rail Authority has already pointed this out.
Image
User avatar
WWTBAM
Moderator
Moderator
Posts: 3689
Joined: 02 Apr 2005 07:01
Location: Sydney NSW Antipodea
Contact:

Post by WWTBAM »

this is not me saying you must do it like the patch. the patch made it so if you built a patch waypoint and then connected a drive through stop to it, the rv stop would get patch waypoint capabilities.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Chicago Rail Authority
Traffic Manager
Traffic Manager
Posts: 134
Joined: 09 Nov 2006 23:38

Post by Chicago Rail Authority »

In terms of graphics suggestions - if we're still (for the time being :))) limited to the city road tile (sidewalks, double-solid yellow, etc.) - it would be nice if we could play that up a bit... I think something subtle and eye-candy(ish) would be the way to go... Perhaps a billboard with (random?) adverts on it on one side of the road and a small city trashcan or something on the other side?

The background of the billboard could be one of the 2CCs, and the trashcan could be the other CC... allowing easy identification of ownership, but also keeping it subtle enough to just look like random city advertising and not be too obtrusive.

robotboy - Admittedly, I don't play patch all that often... for what you propose, is it simply a matter of having a rail waypoint adjoining a drive through road stop? If that's the case, I would agree that it serves the purpose of allowing for a road waypoint, but I think a more flexible approach would be to not require this type of dependency... so my vote would probably still go with drive through waypoints as a separate object type.
Many thanks to those who make OTTD and TTDP possible.
User avatar
CMircea
Chairman
Chairman
Posts: 887
Joined: 29 Dec 2006 14:05

Post by CMircea »

Works excellent on RC5, I don't see any changes. I bet many people want this in the 0.5 final version.
User avatar
Maedhros
OpenTTD Developer
OpenTTD Developer
Posts: 603
Joined: 30 Mar 2006 18:24
Location: Durham, UK

Post by Maedhros »

0.5 isn't going to get any major new features added to it. All new features go into trunk, which will become 0.6 at some point.
No-one's more important than the earthworm.
User avatar
CMircea
Chairman
Chairman
Posts: 887
Joined: 29 Dec 2006 14:05

Post by CMircea »

This doesn't seem major to me, it will make road vehicles more useful.
User avatar
WWTBAM
Moderator
Moderator
Posts: 3689
Joined: 02 Apr 2005 07:01
Location: Sydney NSW Antipodea
Contact:

Post by WWTBAM »

Major is any new feature.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

LOL - so this fixes the bug where you cant place busstops on town roads ;)
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
Tomsomethingcon
Engineer
Engineer
Posts: 123
Joined: 16 Nov 2006 16:52

Post by Tomsomethingcon »

Maedhros wrote:0.5 isn't going to get any major new features added to it. All new features go into trunk, which will become 0.6 at some point.
well how many RC's is there going to be before we 0.6 ?

because this patch is fantastic i think, and would love this to be added to openttd for everyone to use
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7597
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

0.5.0 was branched off from the trunk ages back. Trunk gets the new features and bug fixes, the 0.5.0 branch gets the just the bug fixes.

This way, new features won't bring new bugs to fix in the 0.5.0 stable.
well how many RC's is there going to be before we 0.6 ?
However many it takes to quash all the bugs. However, there'll first be a large gap of time before we even see RC1 of this.

However, if/when this patch goes to trunk, it'll be in the nightlies.
Image
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

richk67 wrote:LOL - so this fixes the bug where you cant place busstops on town roads ;)
It wasn't a bug richk67, it was 'lack of a feature' ;) It will be in the next release of my patch, coming soon...

Thanks everyone for the appreciation, but as Maedhros says, it isn't going to be in 0.5.0. I'm still developing it anyway... :)
Image
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

mart3p wrote:It wasn't a bug richk67, it was 'lack of a feature' ;)
I was joking - since only bugfixes will go in RCn+1, lets reclassify lack of this as a bug in the original ;)
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
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

Well I knew you were joking, but it seems I didn‘t get the joke... Oh well, I’m off to download your RouteMarkers ‘bugfix’. ;)
Image
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

I hate to double post, but; the first reply to this thread:
Graphite wrote:One of the first things I tried to do was to place the bus-stop on an existing road-tile of the town. I was a bit surprised that that wasn't possible. I hope that's a feature in the making, since it would make adding buses to an existing town so much easier and less "invasive" for the town.
Well, at last I have added this feature. ;)

The new version of my patch (available in the first post) contains the following updates:
  • 1. New Feature: Drive-through road stops can now be built on town-owned roads. This can be enabled by the patch option in ‘Configure patches/Stations’. A drive-through road stop on a town-owned road cannot be cleared with the 'Dynamite' tool. It can be removed with the ‘Remove’ tool, in which case the road will remain in place and will revert to town ownership.

    2. New Feature: Vehicles can now turn around at the exit of a drive-through road stop. It is no longer required to have the exit road connected to a drive-through road stop (although it is recommended).

    3. Improvement to operation of in-line stops. The bay-occupied bit was being reset by any vehicle leaving the stop, even one that wasn't stopping.

    4. I had to do a savegame bump due to the new patch option. This also means it's able to load and update savegames from my previous release. The latest version should also load trunk savegames and 0.5.0-RC5 and earlier.
A new win32 exe will follow (sometime... ;) ).
Attachments
Build_On_Town_Roads.png
Build_On_Town_Roads.png (24.2 KiB) Viewed 2608 times
Image
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Amazon [Bot] and 8 guests