
Passenger Only Signals & Stations
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 38
- Joined: 16 Jan 2008 19:16
Passenger Only Signals & Stations
This patch adds a new option when creating a signal or a station. If selected, it will disallow all trains not carrying passengers (or mail), from passing that signal, or using that station. This is my first path finding and tile editing patch attempt, so if something is just completely wrong, tell me. If anybody would care to make better graphics to use instead of the passenger cargo sprite, please do 

- Attachments
-
- SignalFreight.png (25.59 KiB) Viewed 10232 times
-
- StationFreight.png (19.42 KiB) Viewed 10232 times
-
- pax_signals_stations_r18467.patch
- (14.23 KiB) Downloaded 341 times
-
- Engineer
- Posts: 38
- Joined: 16 Jan 2008 19:16
Re: Passenger Only Signals & Stations
And some more screenshots...
- Attachments
-
- SignalPass.png (30.11 KiB) Viewed 10231 times
-
- StationPass.png (17.93 KiB) Viewed 10231 times
- JacobD88
- Chief Executive
- Posts: 709
- Joined: 16 Aug 2008 17:51
- Location: Long Eaton, Nottinghamshire. UK
- Contact:
Re: Passenger Only Signals & Stations
This is interesting +downloads+ i often have huge multi-purpose stations where i have both PAX and Cargo in the same complex and dislike passengers using cargo platforms or vice versa, i believe you may have solved my problem
Many thanks, i will report back with any findings beyond what you have already explained 


High-Functioning Autistic & Proud... National Autistic Society * Asperger Foundation
My (O)TTD Work...BIGGER DEPOTS (REL.) & SERVICING-STATIONS (WIP) * Advanced DEPOT DESIGNS * SCREENSHOTS

My personal website is occasionally here - sometimes it's just the family site - it's basically a lucky dip
My (O)TTD Work...BIGGER DEPOTS (REL.) & SERVICING-STATIONS (WIP) * Advanced DEPOT DESIGNS * SCREENSHOTS
My personal website is occasionally here - sometimes it's just the family site - it's basically a lucky dip
Re: Passenger Only Signals & Stations
Is there some kind of GUI for selecting what type of cargo the signal/station allows?
Re: Passenger Only Signals & Stations
I think, looking at it, it's just Pax/mail.
But, if I could suggest making it possible to select the cargo or cargoes that are allowed to pass a signal?
What I'd like to know, is how does one get these signals - through control-clicking on an existing signal? Or is it added to the signal GUI?
But, if I could suggest making it possible to select the cargo or cargoes that are allowed to pass a signal?
What I'd like to know, is how does one get these signals - through control-clicking on an existing signal? Or is it added to the signal GUI?
Re: Passenger Only Signals & Stations
+1, just because I play with cargo more than I play with Pax and mail.Gremnon wrote:But, if I could suggest making it possible to select the cargo or cargoes that are allowed to pass a signal?
Re: Passenger Only Signals & Stations
Oh, just because I have a little surprise in store for a few minutes time... I'm including this patch within my pack. I like the idea of it, and so far it's given me no issues.
Re: Passenger Only Signals & Stations
Meanwhile, here is a Linux Ubuntu 9.10 binary bundle.
Edit: Added screenshot.
Edit: Added screenshot.
- Attachments
-
- pax_signals_stations_r18467_Ubuntu_9.10.zip
- (3.95 MiB) Downloaded 249 times
-
- Here is a screenshot of the selection GUI
- pax_station_selection.png (3.87 KiB) Viewed 10149 times
Last edited by petert on 12 Dec 2009 15:53, edited 1 time in total.
-
- Engineer
- Posts: 38
- Joined: 16 Jan 2008 19:16
Re: Passenger Only Signals & Stations
I do like the idea of choosing the cargo individually, but there may be a problem with having enough space in the current map structure. Currently it uses 2 additional bits on the integer that handles signals and reservation. That only leaves 2 free bits left. I guess it could just get it's own global table, with a reference to it stored on tile.
Heh guess i had forgot to include that in original snapshots. It's just an additional toggle button on gui.petert wrote:Is there some kind of GUI for selecting what type of cargo the signal/station allows?
- Attachments
-
- Menford Transport, 28th Jun 2000.png (2.68 KiB) Viewed 10144 times
-
- Menford Transport, 31st Mar 2000.png (4.96 KiB) Viewed 10144 times
Last edited by weaselboy246 on 12 Dec 2009 15:59, edited 1 time in total.
Re: Passenger Only Signals & Stations
Oops, I included a screenshot in the post above yours.weaselboy246 wrote:Heh guess i had forgot to include that in original snapshots. It's just an additional toggle button on gui.
Not exactly. He figured out that his patch won't get into trunk, which was his goal. So, he stopped development of the patch.FHS wrote:Note however that crakinshot has disappeared.
Re: Passenger Only Signals & Stations
Ah, I see... so both the signal and the station must have that extra toggle button checked. Now I understand.
Now excuse me, I'm going to go experiment with this some more. And actually play a game or two.
Now excuse me, I'm going to go experiment with this some more. And actually play a game or two.
Re: Passenger Only Signals & Stations
We were discussing this in the other thread, too. http://www.tt-forums.net/viewtopic.php?p=839443#p839443 orudge says he has set the configuration, but it's not working.
-
- Engineer
- Posts: 38
- Joined: 16 Jan 2008 19:16
Re: Passenger Only Signals & Stations
Not necessarily. I had originally just done the signal, but then I found that it got in the way in PBS areas. So I needed a way to add the same check without it, and so the station addition was born. Note that the entire station line does require the button checked.Gremnon wrote:Ah, I see... so both the signal and the station must have that extra toggle button checked. Now I understand.
Now excuse me, I'm going to go experiment with this some more. And actually play a game or two.
That SignalEx does look interesting, but I'd rather not require having it, especially if it is no longer in development.
Re: Passenger Only Signals & Stations
Can you make the cargo type(s) which are allowed past the signal or at the platform selectable? That would make this patch much more interesting. If a player could select multiple cargo types (bitmask?) it would be even more interesting and its usefulness would increase significantly.
Anyway, please continue work on this.
Anyway, please continue work on this.

Re: Passenger Only Signals & Stations
A simple workaround for this would be to place a way-point in front of the station platform that is to be used only for loading one sort of cargo.
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Re: Passenger Only Signals & Stations
But, on some strange instances, a train could pass through it anyways, no?SirkoZ wrote:A simple workaround for this would be to place a way-point in front of the station platform that is to be used only for loading one sort of cargo.
Re: Passenger Only Signals & Stations
I did think about that...but perhaps if only one path signal is used in front of all platforms (on the in-flow line and in front of waypoints) then trains should stick to orders.petert wrote:But, on some strange instances, a train could pass through it anyways, no?SirkoZ wrote:A simple workaround for this would be to place a way-point in front of the station platform that is to be used only for loading one sort of cargo.
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Re: Passenger Only Signals & Stations
SirkoZ, have you ever had to change the orders for 100 trains, because you needed to separate the cargo trains from the passenger trains (for whatever reasons)? The patch OP posted makes solving that problem a lot easier. Or were you suggesting that manually iterating through 100 vehicles (most having different orders) and figuring out where to insert the order for the correct waypoint is your idea of fun?
Ofcourse, you can always insert that waypoint when you lay down the station, when you haven't figured out when its needed yet.... but that's kind of pointless (only adds cruft in the order list).
As an added bonus: you don't always have the space for waypoints, but you have the need for some filtering machanism.
Ofcourse, you can always insert that waypoint when you lay down the station, when you haven't figured out when its needed yet.... but that's kind of pointless (only adds cruft in the order list).
As an added bonus: you don't always have the space for waypoints, but you have the need for some filtering machanism.
Re: Passenger Only Signals & Stations
hmm this sounds really interesting. but is it possible to implement a second type for "NO PASSENGERS"? currently only normal (cargo+pass) and pass only is available right? would be nice to set it to disallow passengers.
Who is online
Users browsing this forum: No registered users and 52 guests