Transport Fever 2

Transport Fever 2

Realistic Train Brake
83 Comments
VacuumTube  [author] 21 Jan @ 12:35pm 
not directly possible. Use invisible weights.
Mr.Krash 20 Jan @ 11:25am 
Здравствуйте. А как сделать плавный разгон поезда?
Hello. And how to make a smooth acceleration of the train?
muffin 15 Jan, 2024 @ 6:23am 
I've discovered that it's actually the built-in "Legacy vehicle" mod that causes this extra vehicle to appear. I thought it was caused by Realistic Train Brake, but now I see that this is only because enabling RTB causes Legacy vehicle to get enabled as well. Sorry for the wrong report and thank you for your time!
VacuumTube  [author] 11 Jan, 2024 @ 11:15am 
This bug existed every since and has nothing to do with this mod. It happens even with no mods.
muffin 11 Jan, 2024 @ 6:47am 
I've found that this mod causes the "Asian Horse-Drawn Carriage with Side Stakes" road vehicle to become unlocked in 1875 with all three of the vehicle sets (America, Asia, Europe) instead of just the Asia set.
I've tested and verified this in a new save with American vehicles without any other mods enabled. And I've observed this with the Europe set in past saves.
I'd appreciate if you could fix this. And thanks very much for this mod, I love it!
Far_Rockaway 12 Mar, 2023 @ 5:14pm 
Use "Additional Weight" mod to achieve realistic acceleration
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2921438560
VacuumTube  [author] 7 Jan, 2023 @ 4:47am 
The train physics is relatively accurate (despite gradients). What is unrealistic is that the driver immediately goes full power and that the resulting acceleration is not limited. This happens esp. for light weight trains with high power (single loco or powered cars). Even if the traction force would allow this high acceleration, in reality it could cause slipping.
jetzcorp 1 Jan, 2023 @ 10:52pm 
I'm a bit confused by the commenter who wanted realistic train acceleration. If I build up a train with a realistic weight and horsepower, it seems to accelerate about like they do in reality. That said, a realistic North American train is about as long as the average distance between towns in this game, so I'm inclined to think the real problem is tiny overpowered trains.
AverageEuropeanTramEnjoyer 19 Jun, 2022 @ 1:41pm 
Oh, that's sad :(
VacuumTube  [author] 19 Jun, 2022 @ 11:31am 
The only way for realistic acceleration is a hard limit for the resulting acceleration (e.g. 1-1,5 m/s²). I told this UG long before. The vehicle dynamics can't be modded.
AverageEuropeanTramEnjoyer 18 Jun, 2022 @ 9:44am 
This is good! Can you make the realistic train accelerate now? I want to hear the sounds closely as they accelerate, but they accelerate too fast :(
CFL 31 May, 2022 @ 9:29am 
Thanks for the mod!
The most realistic deceleration is 0.5m/s² in my opinion. Then, even for a passenger train, the train has GOOD brakes...
Mebby - Allkeyshop 21 May, 2022 @ 1:49am 
please make realistic decel for planes too...
wabbithunta 29 Mar, 2022 @ 9:39pm 
@Yolosaurus Rex
Not that I'm aware of. I've added it (this mod) to various games, new or saved and not always in the same order, when adding mods I want to use. It works fine for me in whatever order it's been loaded in.
Yolosaurus Rex 29 Mar, 2022 @ 3:37pm 
Does loading order affect this mod?
Elje0ett 15 Dec, 2021 @ 5:07am 
Does every single train in this game have 2,5 in braking or does some trains have faster or slower? I am wondering because if they have isnt it just possible to make a mod that devides the value by like 2 or something to make it more realistic, my S-Bahns brake so slowly which I hate
jerrylau405 28 Sep, 2021 @ 9:54pm 
That's sad. I will have to get creative in sorting the traffic then.
VacuumTube  [author] 26 Sep, 2021 @ 1:13pm 
Urban Games implemented this value only for trains (for reasons of effort)
jerrylau405 24 Sep, 2021 @ 5:10pm 
Hi Vaccumtube, thank you for making this and you are so right. I am one of those many players who wouldn't know how as I am just not a pro gamer.

I also wonder if by any chance you could do the same for vehicles (bus, truck, AI cars, etc). I actually did have a look for this base_config and couldn't seem to find the config values for vehicle brake but I did find the train one.
VacuumTube  [author] 15 Sep, 2021 @ 6:41am 
Because
- game updates reset your changes in base_config
- editing game files is not very convenient for (obviosly) many players
- most players didn't/don't know that config values like this exist

How is a mod with 0,3 MB and one script line a resource problem?
Did you measure a significant difference in performance?
trunky 12 Sep, 2021 @ 12:44pm 
And why do you need a mod for this? Becase editing the base_config.lua is too hard?
Just open it, change number in the line reading game.config.trainBrakeDeceleration = 2.5 to anything you like, e.g. 1.0
Easy and resource saving.
But which way you do it, beware: due to the longer "looking ahead" for braking the calculation takes more time, so the performance might get worse, depending on your computer.
SNi 19 Aug, 2021 @ 7:32am 
Now jiust a little more modding... Shouldn't the mass of the train affect also to deceleration?
Shiba 3 Aug, 2021 @ 3:35pm 
Brilliant mod, thanks so much!
:train1::coach::coach::coach::coach2:
Hushey 7 Jul, 2021 @ 4:15am 
0.25 is honestly the best
coenvijge 2 Jul, 2021 @ 3:01am 
THANKS!

________:loco::carriage::carriage::carriage::steamthumbsup::steamthumbsup::carriage::chooo::tvloco:________
ImPradaU 4 Jun, 2021 @ 3:09pm 
Omgg i was searching for this because the vanilla train breaking werr for me really unrealistic
VacuumTube  [author] 21 May, 2021 @ 12:24pm 
yes, you can edit base_config, look for "train acceleration factor"
flystentz (DK) 21 May, 2021 @ 12:03pm 
Is it possible to make a train acceleration mod?
I would love to be able to increase/decrease it like the brakes. Especially on small maps, so the trains can reach their speed limits.
Ims 11 May, 2021 @ 3:44pm 
While 1 m/s^2 might be realistic, the scale of the game isn't realistic to begin with. I found 0.25 m/s^2 to be quite satisfying. Really gives the trains a sense of weight. Fantastic mod!
chewtor6444 10 May, 2021 @ 9:38am 
another little mod that i have only just found but have needed so much. it adds to the realism and immersion. thank you so much.
chenstr 27 Feb, 2021 @ 8:12am 
Hello, this is an awesome mod, but the FPS gets really bad when I enable this mod. I am not sure if this is something to do with the latest game update.
VacuumTube  [author] 12 Feb, 2021 @ 7:58am 
Use the ingame mod settings. Yes a higher acceleration will brake the trains more abrupt
Taylor 12 Feb, 2021 @ 1:27am 
Awesome can you tell me how to do it please? will 1.5 make trains a little more hectic than 1?
VacuumTube  [author] 12 Feb, 2021 @ 1:02am 
Yes
Taylor 12 Feb, 2021 @ 12:49am 
is it possible to change to 1.5 m/s². ? :steamhappy:
Graposaur 19 Jan, 2021 @ 10:58am 
Oh my god, I never knew this mod existed... this was needed in Transport Fever 2 and now that you have given this to us, its just incredible!!! Thank you so much!
VacuumTube  [author] 4 Jan, 2021 @ 1:03am 
Dass die Mod Einstellungen immer noch verbuggt sind. Einen Wert auswählen, dann sollte es weg sein. (nicht hinter Fahrzeugen)
TomM.y.. 3 Jan, 2021 @ 11:51am 
Hallo, in meiner Stdout steht ganz oft hinter Fahrzeugen "Realistic_Train_Brake: No param" hat das für mich was zu bedeuten?
jafuinoz 31 Dec, 2020 @ 9:53pm 
New to the game , but felt it needed this
Thanks for you work
Octopus Prime 11 Nov, 2020 @ 8:02am 
Thank you
mongolteiko 11 Nov, 2020 @ 5:57am 
yes
Octopus Prime 11 Nov, 2020 @ 5:17am 
Can this be added to an existing save?
fost 14 Oct, 2020 @ 2:32pm 
Fantastic mod....this mod is at the top of my list for favorites.....i love the realistic engine performance now.....wish i found this sooner.......great job!!!!
Car Fan Arne 26 Sep, 2020 @ 5:22am 
Danke dir für diesen Mod! Besonders an Bahnhöfen bremsten die Züge doch sehr stark. Doch mit dem Mod wird dies behoben. Danke!
VacuumTube  [author] 22 Sep, 2020 @ 1:43am 
@Colibru This would be also problematic with the train power on slopes... and would be more or less the same like changing the acceleration factor.
Yes, in theory, but in reality no (low weight) train would apply full traction instantly and accelerate with 2-3m/s²
Colibru 11 Sep, 2020 @ 11:34pm 
@vacuumTube
@Lenz

you could increase the weight of cargo to make trains accel slower - this offcourse would inflict with otehr industry mods

but hey - the trains accel realistic for that low weight they have in game
wellover-50 9 Sep, 2020 @ 12:59pm 
thank you for this great mod, didn't know I needed it untill I installed it LOL.
Really plays well late game and acts as a "buffer" when high speed trains follow slower ones along the line, stops all that jerky sprinting from one red signal to the next.
VacuumTube  [author] 24 Aug, 2020 @ 12:05am 
I would love to, but I can't. I told them, the problem is to limit acceleration, but they understood it wrong.
Beside brakingFactor they added accelerationFactor but this affects the train movement in general, so if this is lower the departure accerlation is realistic but it's much harder with higher speeds...
Lenza 23 Aug, 2020 @ 9:37am 
This is probably the most useful mod for TPF2, I got a question: can you make a mod ''Realistic Train Accelleration'' ? It would be so cool, for the moment trains departs fast like chipmunks on cocaine..
Mika 4 Aug, 2020 @ 12:23pm 
Thank you so very much! My game just became 3 times more realistic! THANK YOU!