NewGRF Road 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
PNDA_
Engineer
Engineer
Posts: 57
Joined: 18 Jul 2018 17:26
Location: Germany

NewGRF Road Stops

Post by PNDA_ »

Hey all,

After NRT I think it's also a good addition to add Road Stops for NewGRFs (NotRoadStops?).

I've been working on/off for a few months now to bring support for road stops. In the below screenshot you can somewhat see what can be done currently. I am open for various suggestions in this thread and feedback.
I'm currently only considering multi-tile stops, but we'll see.

You can download and build the binaries below for OpenTTD and NML.
I hope people will make beautiful NewGRFs and I can't wait to see them all!

OpenTTD fork: https://github.com/spnda/OpenTTD/tree/roadstops

NML fork: https://github.com/spnda/nml/tree/roadstops

Image
Credit for the sprites in this image go to Erato and Captain Klutz

Oh and I've always been updating and deciding on things on my discord.
Hello!
ImageImageImage

perverted monkey
Engineer
Engineer
Posts: 67
Joined: 02 Mar 2009 02:07

Re: NewGRF Road Stops

Post by perverted monkey »

:bow:

User avatar
GarryG
Tycoon
Tycoon
Posts: 3794
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: NewGRF Road Stops

Post by GarryG »

PNDA_ wrote:
27 Jun 2020 18:20
After NRT I think it's also a good addition to add Road Stops for NewGRFs (NotRoadStops?).
Great idea .. I started working on object Bus Terminals so some of those bus stops you shown above could go well with what I doing.

Busy most of day with family commitments, but hope checkout what you done later this evening.

Cheers pal
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335

User avatar
GarryG
Tycoon
Tycoon
Posts: 3794
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: NewGRF Road Stops

Post by GarryG »

PNDA_ wrote:
27 Jun 2020 18:20
I am open for various suggestions in this thread and feedback.
I'm currently only considering multi-tile stops, but we'll see.
Looking at the image .. will the bus be able enter off the street direction of the arrow I drew and stop similar to what I show here?
Bus Station.png
Bus Station.png (38.02 KiB) Viewed 1197 times
If they can do that I could make some interest large bus terminals for them.

At the moment the way the bus stations are where vehicles enter and do a 90 degree turn to park in the bays, very hard to design a nice big bus terminal for that style.

Looking forward to see how your project progresses.

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335

User avatar
PNDA_
Engineer
Engineer
Posts: 57
Joined: 18 Jul 2018 17:26
Location: Germany

Re: NewGRF Road Stops

Post by PNDA_ »

GarryG wrote:
28 Jun 2020 12:52
Looking at the image .. will the bus be able enter off the street direction of the arrow I drew and stop similar to what I show here?
If they can do that I could make some interest large bus terminals for them.

At the moment the way the bus stations are where vehicles enter and do a 90 degree turn to park in the bays, very hard to design a nice big bus terminal for that style.
Cheers
No, the way busses enter bus stations has not changed (yet). All stops in that list are oriented the same way and there is just no fence being rendered in the one you mentioned. But it is certainly a thing to think about.

If I were to introduce this though, how would a user see the difference? My first idea was a flag on a bus stop to have the stop be rotated 90°, but then some road sprites would have to be remade/added....
Hello!
ImageImageImage

User avatar
GarryG
Tycoon
Tycoon
Posts: 3794
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: NewGRF Road Stops

Post by GarryG »

PNDA_ wrote:
28 Jun 2020 16:41
No, the way busses enter bus stations has not changed (yet).
That's ok pal. Was just a idea.

I think the control of RV in those type of bus station and the truck loading bays all controlled by OpenTTD itself.

Train Stations we can have a variety of styles .. so your idea to have a variety of bus stations and truck loading bays great idea.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335

User avatar
GarryG
Tycoon
Tycoon
Posts: 3794
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: NewGRF Road Stops

Post by GarryG »

Wonder if these can be improved and same done to through bus stops and truck loading bays.
Bus termials-2.png
Bus termials-2.png (24.07 KiB) Viewed 1078 times
Called "Truck and Bus Parking Lots"

Not sure where I got it from as file dates year 2010 .. could not find it on Bananas just now (but maybe I not look properly).

Created by Kevin Fields, licences under GNU GPL v2.

The person who made them took out the buildings and other pieces.

Be good if a full set could be made for all 6 positions without the buildings and shelter sheds :D .
Attachments
truckbuslot.grf
(5.18 KiB) Downloaded 70 times
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335

User avatar
2TallTyler
Traffic Manager
Traffic Manager
Posts: 178
Joined: 11 Aug 2019 18:15
Contact:

Re: NewGRF Road Stops

Post by 2TallTyler »

GarryG wrote:
29 Jun 2020 07:53
Called "Truck and Bus Parking Lots"

Not sure where I got it from as file dates year 2010 .. could not find it on Bananas just now (but maybe I not look properly).
This was made by kamnet.

User avatar
GarryG
Tycoon
Tycoon
Posts: 3794
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: NewGRF Road Stops

Post by GarryG »

2TallTyler wrote:
29 Jun 2020 13:02
This was made by kamnet.
Thanks you for reminding me .. much appreciated.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335

User avatar
kamnet
Moderator
Moderator
Posts: 7327
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: NewGRF Road Stops

Post by kamnet »

GarryG wrote:
29 Jun 2020 14:20
2TallTyler wrote:
29 Jun 2020 13:02
This was made by kamnet.
Thanks you for reminding me .. much appreciated.
All I did was change the code for the walls. And that was so long ago I don't remember what I changed. And I remember that it was just enough work that I didn't want to fool with the rest. :P

User avatar
GarryG
Tycoon
Tycoon
Posts: 3794
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: NewGRF Road Stops

Post by GarryG »

kamnet wrote:
29 Jun 2020 21:12
All I did was change the code for the walls. And that was so long ago I don't remember what I changed.
Sounds like you have a memory like mine .. I only remember what I remember and forget other things :D
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335

User avatar
wallyweb
Tycoon
Tycoon
Posts: 5767
Joined: 27 Nov 2004 15:05
Location: Canada

Re: NewGRF Road Stops

Post by wallyweb »

For the past several weeks I have been working on drive through road stops for bus and truck.
I have not made any code changes (patches). It's all grf.
I found I had to use Action A to reposition the street lights so that they were consistent in their location on the sidewalks.
Next I used Action 5 to remove all the "furniture" stuff so as to leave me just the blank sidewalk to build on.
After that I used objects to build on an adjacent tile such that a choice of "furniture" modules could be overlapped onto the nearest road stop sidewalk.
Lastly, using ufiby's ISR roads as a guide, I built a set of ISR compliant drive through truck stops.
Just a few more tweeks and it will be ready for a release.
Because of the heavy use of OpenGFX and ISR graphics, it will be GPL licensed.

If somebody is able to patch NRT so that the drive through road stop code and road station code are given accessible variables, then much of what I have done will be moot and unnecessary.

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Google Adsense [Bot] and 4 guests