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

R2
Engineer
Engineer
Posts: 90
Joined: 08 Mar 2006 09:53

Post by R2 »

bobingabout wrote:I'm considereing "Middle of a City" i think you should be able to place it on town roads, but NOT competitors roads.
On the other hand side: If you allow to build it anywhere including competitors roads you can prevent people in multiplayer from destroying all cities roads and replacing them with their own in order to prevent others from building stations in that city. So, if building on any road would be possible, that wouldn't be neccessary. You could make building on cities roads 5x and on competitors roads 10x the cost from building on your own road, since money never played any role in the game... ;)
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

I agree with bobingabout on this for various reasons that have already been discussed above.

R2: A competitor replacing all the roads in a town, doesn’t stop you building bus stations. You can still destroy buildings to make space for you’re drive-through bus stops, in the same way as you do with conventional stops. When placing drive-through stops, you can often find two parallel roads with only one tile between them. You then only need to destroy one building, place your stop and connect it to the roads on either side.
Image
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

I agree. You can always build a side road for bustops on competitors roads.

Still however, there are a lot of people who build expansion grids to towns, what happens with them late game?
Image
R2
Engineer
Engineer
Posts: 90
Joined: 08 Mar 2006 09:53

Post by R2 »

Born Acorn wrote:I agree. You can always build a side road for bustops on competitors roads.
Still however, there are a lot of people who build expansion grids to towns, what happens with them late game?
Good point. I too use to build such grids all the time. I think you then have to destroy houses as said above, which I don't like to do. I always try to leave them houses alone, it is bad enough that the local authorities go mad when you modify the landscape...
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

I don’t mind destroying houses if it allows you to build a new bus stop or station, to serve all the surrounding buildings.

There are a couple of screenshots here of my upgrade from an international to an intercontinental airport, in the middle of a busy town. Sure, the local authority hated me, but it didn’t take long to recover my rating once the intercontinental airport was built. Destroying one house to place a bus stop is nothing in comparison. :)
Image
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

I've posted an update to the Drive-Through Road Stops patch in the first post. The new version fixes a couple of minor bugs:
1. Compile warnings occurring with some compilers. Thanks richk67 for reporting this.
2. Incorrectly building connecting road on one side of a drive-through stop. Thanks to ddream for bug report.
Image
NoMercy
Engineer
Engineer
Posts: 15
Joined: 19 Jun 2004 21:23
Location: The Netherlands

Post by NoMercy »

Great addition! I just have one question (might have missed it in the topic + haven't tested it yet). I wonder, what is the disadvantage to normal stations?
These stations take up less space than normal stations, so why bother building normal stations?
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

NoMercy wrote:Great addition!
Thanks :)
NoMercy wrote:I just have one question (might have missed it in the topic + haven't tested it yet). I wonder, what is the disadvantage to normal stations?
These stations take up less space than normal stations, so why bother building normal stations?
Normal road stops are still useful when road vehicles are set to full-load. If a vehicle using a drive-through stop is set to full-load it will wait in the stop while loading, which blocks the road for other vehicles.
Image
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

Only problems I can see with it is that it probably won't stick out as much in the cities, and to use the bays, it would need to have a new movement for busses.
Image
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

Darkvater: Thanks for pointing out that thread, I hadn't seen it. Interesting idea, but I agree with Born Acorn.

Adding new movement code, so the vehicle to pulls off the road, seems unnecessary when the existing (TTDPatch style) behaviour seems to work ok.
Image
fabca2
Transport Coordinator
Transport Coordinator
Posts: 312
Joined: 14 Apr 2004 15:18
Location: Fr

Post by fabca2 »

I'm just back from my hollidays, I didn't read all message on this topic yet, so sorry if it's already said :

I find this feature extremly nice !
that's excatly what I would like to see for TRAM
... and only for tram : this can give interrest (I read someone who said "tram give nothing more than busses"). I wanted to reply by saying : more capacity, faster, cost more money for maintenance, tracks outside of road, and "Drive-Through Road" - but I could not find the right word for that ;) )
I'm very happy...
very good patch ![/b]
User avatar
Korenn
Tycoon
Tycoon
Posts: 1735
Joined: 26 Mar 2004 01:27
Location: Netherlands
Contact:

Post by Korenn »

mart3p wrote:Darkvater: Thanks for pointing out that thread, I hadn't seen it. Interesting idea, but I agree with Born Acorn.

Adding new movement code, so the vehicle to pulls off the road, seems unnecessary when the existing (TTDPatch style) behaviour seems to work ok.
whoo someone dug my old thread ;) The reason you haven't seen it is because it's 2 years old :P

The one advantage that these stops offer over ttdpatch style stops is that they do not restrict traffic. If a bus is stopped, other busses can pass. It also means chaining the bus stops makes sense.

plus it looks cool :)
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

fabca2 wrote:I find this feature extremly nice !
that's excatly what I would like to see for TRAM
Have you seen this thread?
fabca2 wrote:I'm very happy... very good patch !
Thanks :)
Image
NCarlson
Traffic Manager
Traffic Manager
Posts: 200
Joined: 18 Dec 2002 17:49

Post by NCarlson »

As far as expansion grids, why doesn't someone implement the option to have roads that arn't used by their owner revert to town ownership, it's been in the patch for quite some time and I for one like it.
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

Simkid makes an excellent suggestion. I like that idea. It means players can no longer "own" town road networks.
Image
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Born Acorn wrote:But this can also deny service to other companies. Building expansion "grids" in cities to force faster growth will prevent people building bus stops later on, and they will have to demolish the city to build a terminal bus stop. Is it possible to keep the owner of the road the same while making the bus stop your own?
I'm not really sure about making it possible, but level crossings (railway crossing road) have two owners.

Since it wouldn't be possible to put railway tile on a road vehicle stop, there is a free space to fill with second owner. Unless this space is used for something else...
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

Darkvater has fixed a number of bugs in the trunk that I found when testing the drive-through road stops patch. Thanks Darkvater. :)

I have posted a new patch against r5910 in the first post.
Simkid wrote:As far as expansion grids, why doesn't someone implement the option to have roads that arn't used by their owner revert to town ownership, it's been in the patch for quite some time and I for one like it.
I agree, having TTDPatch style Abandoned Roads would be good, maybe another one to add to my list of possible future patches. ;)
MeusH wrote:I'm not really sure about making it possible, but level crossings (railway crossing road) have two owners.

Since it wouldn't be possible to put railway tile on a road vehicle stop, there is a free space to fill with second owner. Unless this space is used for something else...
The problem here is a station (or road stop) uses all the available attributes in the map array. It may be possible to use some attributes for road stops that are only applicable to rail stations (e.g. m3 - track type), but to do this the code would get very messy. For now I'm trying to keep the patch as simple as possible in the hope that it might be considered for the trunk.
Image
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Patch's abandoned roads uses L6; it was my understanding that no changes to the map array are going to go in until the map-rewrite is complete.

Patch has 10 apparently unused bits in L1..L5, but I don't know if this is also true in Open.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

mart3p wrote:The problem here is a station (or road stop) uses all the available attributes in the map array. It may be possible to use some attributes for road stops that are only applicable to rail stations (e.g. m3 - track type), but to do this the code would get very messy. For now I'm trying to keep the patch as simple as possible in the hope that it might be considered for the trunk.
Yes, m3 0-3 is free and can be used for road-stations. Code wouldn't really get messier as this bitjuggling is happening all over the place.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 18 guests