Transport Fever

Transport Fever

Flexible Train Stations (v1.5.17)
378 Comments
Schubii10 19 Jul, 2021 @ 1:48pm 
Please bring this Station back to transportfever2 🙋
hambiUK 15 Oct, 2020 @ 7:16am 
This mod transforms the game and is brilliant. Hope you do the same mod for TF2 sometime
Lumpy 6 Feb, 2020 @ 1:14am 
@SoftwareSimian : I found here a stream mod called Station Plus and can divide the platform so that on one platform there are two trains (two routes) but each of them has a reserved place so that it stands at each end of the platform. I do not know if I correctly described here is a link to the mod. could you implement this function in your mod? mod:https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=902354781
CashonWheels 23 Jan, 2020 @ 7:56pm 
The lasted patch changed the code to make older models more feasible. I tried to port it over post patch and had some success. The station takes passengers, but it does not render & half of the parameters ctd.
SoftwareSimian  [author] 23 Jan, 2020 @ 6:52pm 
I would also like a TpF2 version. Unfortunately with the very significant changes to TpF2 station construction I'm not sure if it's possible. I will need to investigate in detail at some point, but I make no promises.
tsilaicosneknurd 23 Jan, 2020 @ 12:27pm 
I hope for a TPF2 version too. But no idea if feasible
CashonWheels 23 Jan, 2020 @ 7:08am 
Is this coming to TPF2 anytime soon?
SoftwareSimian  [author] 18 Jan, 2020 @ 10:27am 
@k3wl4r: sure you can. But if you have suggestions (whether in general terms or specific code changes) for how to make it better, please share your ideas so the rest of us can benefit too.
Lumpy 18 Jan, 2020 @ 3:14am 
@SoftwareSimian: Thanks for the information. Can I modify this mod for my own use?
SoftwareSimian  [author] 12 Jan, 2020 @ 1:51pm 
@k3wl4r: No, you don't need "Bigger Train Stations" to use Flexible Train Stations, it just gives you a lot more choices for size (40m-1000m). Recommended, not required.
Lumpy 12 Jan, 2020 @ 12:53pm 
is urgently needed "Bigger Train Stations" ??
used for a long time without
vitalii201 4 Nov, 2019 @ 11:24pm 
@SoftwareSimian, OK, thanks: "2nd and 3rd platforms are never separated by transit tracks".
SoftwareSimian  [author] 4 Nov, 2019 @ 2:55pm 
@vitalii201:
TransitTracksA come after the first track (between platforms 1 and 2)
TransitTracksB come between the last and second-last platforms (behaviour varies if there is an odd or even number of tracks)
TransitTracksMid provides additional middle-of-station transit tracks as long as there are at least 5/6 platforms (any less and it won't have any effect)
TransitTracksAll gives transit tracks between every platform pair

To put transit tracks with 4 platforms per your screenshot you should use TransitTracksA (and/or possibly TransitTracksB). Of course a 6-platform station may also work, depending on the effect you're going for.
TurboChomik 4 Nov, 2019 @ 2:51pm 
Got this mod only for the transit tracks and curving. It's pretty nice, except. It seems that you cannot add A or B specific transit tracks with only 2 'stop' tracks. You cant get 2 tracks and THAN 4 transit spots next to them, it forces you to have transit spots in between 2 tracks which is kind odd because there are options to place next to them.
vitalii201 4 Nov, 2019 @ 2:32pm 
At a station with 4 platforms can not be assigned transit tracks in the middle? https://steamuserimages-a.akamaihd.net/ugc/754843815919224346/F66AC6FFE0DF8FD2BC004EA6C80882707D530E49/
Enzojz 19 Sep, 2019 @ 2:02pm 
@Eddi If you want every tracks be the same length and the length you want use Ultimate Station in this case, it's assured.
Eddi 18 Sep, 2019 @ 12:38pm 
Hm, i had a quick read through the code, and this caclulation doesn't make any sense to me:
"config.startRadiusA - (config.numTracks * config.trackDistance) + ((config.numTracks / 2) * (config.platformDistance / 2))"

you're subtracting the full width of the tracks, and then adding back in a quarter of the width of the platforms? how does that constitute the "center" of the station?

plus there doesn't seem to be any compensation for through tracks
SoftwareSimian  [author] 18 Sep, 2019 @ 12:38pm 
No, no joke intended.

The decision was made (a long while ago) to use the centreline instead of the first-track as the baseline for the station curvature to provide more consistent and predictable behaviour with S-curve stations. Using the centreline as the basis means that a left and right curve look the same, but using first-track (as per vanilla stations) as the radius baseline means that left and right curves can look very different for a given setting, and potentially achieve game-crashing (or at least unbuildable) low radii with many tracks. Nothing's perfect of course, but I decided that was the best implementation.

And yes, it should only be a small rebuild, no more than the last 100m or so, since the misalignment of the tracks should be minor, just not quite perfectly aligned.
Eddi 18 Sep, 2019 @ 11:17am 
"a little"?!? is this supposed to be a joke?
SoftwareSimian  [author] 18 Sep, 2019 @ 6:31am 
@Eddi: The curvature radius is based on the centreline of the station, so yes, if you change the number of tracks (or the platform width) then it may involve a little approach rebuilding.
Eddi 18 Sep, 2019 @ 1:27am 
I'm having a somewhat annoying problem when upgrading stations.

if i have a curved station, and want to add some tracks, the existing tracks don't line up with their outside connections anymore.
SoftwareSimian  [author] 20 Jul, 2019 @ 4:51pm 
@mongolteiko: That's not something I've heard of nor seen. But then I don't use many station mods other than my own (and Bigger Train Stations).
mongolteiko 20 Jul, 2019 @ 4:07pm 
Hi. this may have been asked before, but there is 36 pages of comments.
I like the mod, but it seems to control other station mods too i.e. I have to set the number of platforms and length in you mod before I can use several others, as it won't change anything in theirs. Has this happened before to anyone else?
Enzojz 14 Jul, 2019 @ 1:52am 
@KaitouShunUS it's a game issue, any issymmetric platform track length will cause this
KaitouShunUS 13 Jul, 2019 @ 8:05pm 
The previous comment was based on this mod with big station mod working together, now I also tested after disabling common api and big station mod, using only the 320m length this mod provides, it does the same bug too.
KaitouShunUS 13 Jul, 2019 @ 7:32pm 
I recently noticed that when using a station with additional length, built with this mod, such as 200m+200m or 40m+200m, has an offset train position issue: when the train arrives, right after it stops, it will jump back / offset its position by a short distance, and then when it leaves the train station, each segment of the train (locomotive or cargo) will jump forward a bit as it crosses the front end of the station (first one jump the furthest, second a shorter distance, third an even shorter), then the rest of the train follows normally. I tried to make the station in any different settings, it will always have this problem as long as I use additional length. I really wanna make 400m stations with curves, the other mod which does it crashes a lot, this mod has this issue, does anyone else notice this and is there a solution to it? Thanks ahead!
TheDoc[DM] 1 Jul, 2019 @ 12:32pm 
Love this mod, thank you so much! Could you please add platform height adjustment to passenger stations?
Leo Gris 9 Apr, 2019 @ 3:38pm 
Station with Platform spacing 12m dont work (or dont show white lines on the road) on the right side ends. Others "Platform spacing" works normal
SoftwareSimian  [author] 7 Apr, 2019 @ 7:37am 
Not without more details than that. It's unlikely to be anything specific to year vs station. If you post the last couple lines of strout.txt it may contain a clue to the actual crash cause. I'm away for 2 weeks so you may get a faster response posting in the general support forum.
DimmerPenguin 4 Apr, 2019 @ 5:35am 
the mod crashes the game after a certain year. Any idea what it could be?
El Presidente 13 Mar, 2019 @ 7:07am 
I use this mod every game. Thanks for making it.
Denismartelhebert 8 Feb, 2019 @ 12:30am 
Yeah its a nice station but this one is only available in 1990.

Would like to see it with all your options that make the stations flexible...freight and passengers stations....they would be the best ;)
SoftwareSimian  [author] 7 Feb, 2019 @ 11:17pm 
@Denismartelhebert: There is the option to adjust the elevation of the entire station +/- 10m or so.

But for a proper elevated station see the excellent mod:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=846681206
Denismartelhebert 7 Feb, 2019 @ 11:05pm 
Hello!

Would it be possible to have an elevated rail options? Like the buildings could be at the ground floor but the rails would be elevated for passenger stations and freight station?

I would appreciate :)
Zyntax 7 Jan, 2019 @ 1:37pm 
@SoftwareSimian Thank you!! :)
SoftwareSimian  [author] 7 Jan, 2019 @ 12:35pm 
v1.5.17 - 2019-01-07
* add experimental support for 12m platform spacing on cargo station to match Railway Station Schwerin (and maybe others)
SoftwareSimian  [author] 6 Jan, 2019 @ 1:48pm 
@Zyntax: possible, but not trivial. The widths selected are specifically to match the vanilla stations (9m passenger, 14m cargo) and to make them 1m wider (10m, 15m) to match the natural 5m track spacing. Which other station mods create other track/platform spacings that you're interested in trying to match?
Zyntax 6 Jan, 2019 @ 12:52pm 
@SoftwareSimian Is it possible to add more options to station platform width to make the stations match the platform width of other user created stations?
SoftwareSimian  [author] 5 Jan, 2019 @ 6:59pm 
v1.5.16 - 2019-01-05
* more flexible transit tracks layout: the "(all)" section will apply that many transit tracks to all track pairs, and the first/last/mid controls can override the number of tracks in that location (to more or fewer)
* station slope can now be set in 0.5-degree increments (instead of 1-degree)
SoftwareSimian  [author] 5 Jan, 2019 @ 6:59pm 
I have added a default "(all)" section as you described. The existing A/B/mid controls will override the default. Example:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1616210610
Fortune Calls 5 Jan, 2019 @ 4:16pm 
Perahps there can be a default setting for transit tracks, and that "A", "B", and "mid" also have a transit setting that reads "(same as default)". This might be the most backward compatible.
SoftwareSimian  [author] 5 Jan, 2019 @ 2:02pm 
@Tactical Combat Peanut: That's true. And if you have Bigger Train Stations enabled you can have up to 48 tracks, and still only specify transit tracks for 3 (of 24 possible) platform pairs. The GUI for station parameters is somewhat inflexible, I'm not sure what is the most practical way of making options available. The only I can think of is to put a "Transit Tracks (every)" option that would put X transit tracks between every platform pair (perhaps with the first/last/mid options overriding those settings. Alternately, I could say that "mid" applies to all platform pairs that aren't first/last. Thoughts?
Fortune Calls 5 Jan, 2019 @ 9:11am 
Flexible train station is my first choice in train stations. Thanks SoftwareSimian!

With 8 assigned tracks theoritically there can be a group of 4 pairs of tracks with bypass lanes. I have some cases where I could use all 4 pairs and their bypass lanes. Right now I could only specify 3 of them.
Zyntax 4 Jan, 2019 @ 2:41pm 
Is it possible to add more options to the width of the platform? I.e more than 9,10,14,15 meters? Like 11,12 meters?
mike.j.schneider 28 Dec, 2018 @ 12:19pm 
@SoftwareSimian That makes sense. I'll just work around it. Thanks for the quick follow up response.
SoftwareSimian  [author] 27 Dec, 2018 @ 2:18pm 
@mike.j.schneider: I can confirm that. However, there's not much I can do to prevent it (other than potentially block combinations that might trigger the warning). It's related to the size of catchment area which is hardcoded in the game. Given a sufficiently-large station, both in terms of length and number of tracks, the furthest surface platform and the furthest underground platforms may be outside each others catchment area and the game complains. Unfortunately the catchment area is hardcoded and not moddable.

I can confirm that (10x 400m) tracks doesn't work, but (9x 400m) or (10x 360m) works fine.
Sadly the only advice I can give is to restrict your station configuration to something small enough not to get the warning.
mike.j.schneider 27 Dec, 2018 @ 1:08pm 
Using the thank you patch and flexible train station v1.5.15 I got the following issue when I try to create a new station or upgrade an existing station to include multiple underground platforms. "Terminals are not properly connected!" What I am finding is when I have a station that is 400M long, 10 platforms, all six street connections, and 4 underground terminals I get that error.
SoftwareSimian  [author] 24 Dec, 2018 @ 9:20am 
Sorry for my poor QA and that it took me three tries to get it. Thanks for reporting the issues.
Neuro Divergent 24 Dec, 2018 @ 4:58am 
What can I say? You da man! Sorry for nitpicking but, works great now! Thanks!