Transport Fever 2

Transport Fever 2

Smart Capacity Customizer for Vehicles
38 条留言
Ims 10 月 29 日 下午 8:30 
👍
AksLrs  [作者] 10 月 29 日 下午 7:15 
--v2.7 (30/10/2025)
Fixes and Improvements
---Correct Transport Fever 2 carrier enums
---Primary TRAM detection via carrier=2 — no longer falls back to “road”.
---Performance optimization: weak-memo caching for carrier and role classification reduces repeated lookups and GC pressure.
---Tram-train support: correctly handles carrier=RAIL + drivingLicense=TRAM.
---Improved diagnostics: unclassified vehicles now include a best-effort model name in logs.
---Dual-mode (rail/road) vehicles: normalized price and runningCosts (set to -1) for correct internal handling.
---Safer defaults: unclassified vehicles remain 1x (no forced cargo multiplier).
Ims 10 月 29 日 上午 10:43 
Just a general announcement on top of the update below: Tram multiplier is still broken. Everything else is fixed, and the code quality is vastly greater.
AksLrs  [作者] 10 月 29 日 上午 4:42 
Version 2.6

Changes & Fixes

-Reworked internal logic for vehicle classification.

-Fixed: EMU/DMU & MU detection.
---Updated the detection logic to properly recognize MUs even if:
---the metadata.id is missing, or
---the mod does not define seatProvider or drivingLicense.
---Works correctly with all modern EMU/DMU mods.

-Improved: Carrier detection.

-Improved: Safe classification & fallback.

-Optimized: Cleaner, faster and more stable codebase.
Ims 10 月 27 日 下午 10:27 
MU checks broken. See discussion.
Mr_Sia 10 月 20 日 上午 9:36 
working well in 2025, and it is all I wanted. Thank you for your useful mod
RacistGaming 6 月 28 日 下午 10:44 
Im not sure why but this mod affects values of passenger cars even if you dont touch anything for passengers
qtwqwd 5 月 18 日 下午 4:16 
Could you make one for streetside bus/tram stop capacity mod? Since there is no mod for that.
takashi 3 月 15 日 上午 8:36 
To enable a MOD when starting the game, click on the letter of the MOD in the game details settings.
senyoletsu 3 月 14 日 上午 12:43 
This mod seems amazing but I can't find the icon to use the customizer. Any help would be greatly appreciated!
Maxy 3 月 3 日 下午 12:23 
Hello ! Where does the menu pop up ?
primeprover 2024 年 11 月 23 日 上午 4:36 
The irritating thing is that it takes 5 minutes to edit the .lua file to add multipliers.
Morphisor 2024 年 11 月 15 日 下午 12:39 
Except that mod only *decreases* cost - when increasing capacity, the cost needs to increase as well.
AksLrs  [作者] 2024 年 10 月 21 日 下午 12:14 
@Morphisor (xeL), you probably looking for something like this: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3149028749
Morphisor 2024 年 10 月 21 日 上午 1:31 
While the capacity sliders work well, not being able to adjust running costs to match undoes the balance of this mod.
Yes, there is a running cost slider - but it's for all types of vehicles at once (should be same splits as for the capacity multipliers). And even more importantly, the range of this slider is such that you can only lower the costs below default. You cannot increase the costs to match higher capacities.
takashi 2024 年 10 月 3 日 上午 7:24 
When enabling a MOD, not during a game, you can press the MOD to display detailed settings.
Anes Tasy 2024 年 10 月 3 日 上午 7:16 
how i can change when in the game?
baronjutter 2024 年 9 月 26 日 上午 11:59 
I'm wanting to increase ship capacity as I think it's too low vs trains and requires a silly looking amount of ships sailing nearly bumper to bumper. I've seen some mods that just flatly increase capacity of this or that vehicle type, but I also want things to be fair and increase the purchase/upkeep costs the same amount. So if ships get double capacity, they also get double price and double upkeep. Does this mod do that? I see there's a slider for running costs but I assume that's global?
primeprover 2024 年 9 月 8 日 下午 2:23 
Does this mod change weight proportionally or is it necessary to increase power to maintain sane performance?
AksLrs  [作者] 2024 年 8 月 28 日 上午 11:28 
I just upload the new version, introducing separate multipliers for Road and Air Vehicles (cargo/passengers)
AksLrs  [作者] 2024 年 8 月 28 日 上午 5:29 
@𝔄𝔯𝔠𝔥𝔞𝔫𝔬𝔷, @(F.S).Moriarty, sure I deal with those in the next update, it's just a question of time
𝔄𝔯𝔠𝔥𝔞𝔫𝔬𝔷 2024 年 8 月 27 日 下午 2:33 
Is it possible to change only the passenger load without changing the other truck loads in the road vehicle capacity?
The mod works very well, but when I try to make my buses realistic, my trucks become unrealistic.
(F.S).Moriarty 2024 年 8 月 9 日 上午 4:12 
Some of the mouse over description of the sliders is wrong and there are no settings for cargo planes, what I was looking for.
pONd74 2024 年 3 月 6 日 上午 5:25 
Dankeschön / Thank You
Rude 2024 年 2 月 12 日 上午 10:03 
@Makone it's on the right when you activate the mod in your modlist
Makeone 2024 年 2 月 11 日 下午 3:13 
Is there key-bind to bring up the mod screen? I am missing something?
Wilhelm924 2024 年 2 月 11 日 下午 1:51 
Why the 8th slider?
You have a seperate mod for that....
Rude 2024 年 2 月 3 日 上午 6:27 
Hello, would you consider a compartment multiplication ? From what i looked it seems doable but seems a lot more complex (especially for the no compartments) than just capacity.

Would believe it would be something like adding dynamic arrays but i don't really know lua :(
ajaggles 2024 年 2 月 2 日 上午 4:07 
Awesome way to get rid of your bottlenecks, by increasing capacity and reducing the number of vehicles needed. Great Mod, many thanks.
Proud Wingman 2024 年 1 月 18 日 上午 4:53 
@Mendragor
Its quite simple. You have add stuff in two mod files.

Just open the mod.lua and add Default as word to the value line for the key=priceRunningCost
values = {_("1/20"), _("1/18"), _("1/16"), _("1/14"), _("1/12"), _("1/10"), _("1/9"), _("1/8"), _("1/7"), _("1/6"), _("1/5"), _("1/4"), _("1/3"), _("1/2") , _("Default")},
Should be around line 80.

Then edit the file \res\scripts\constants.lua and add a 1.0
priceRunningCost = {0.05, 0.05555555555555555, 0.0625, 0.07142857142857142, 0.08333333333333333, 0.1, 0.1111111111111111, 0.125, 0.14285714285714285, 0.16666666666666666, 0.2, 0.25, 0.3333333333333333, 0.5 , 1.0} .
Should be around line 9.

As you can see you can modify nearly every thing what the Sliders values could have.
Mendragor 2024 年 1 月 18 日 上午 2:10 
Can you change that price and running cost is Standart?
Proud Wingman 2024 年 1 月 16 日 下午 12:49 
@Aks_Lrs, I understand your concerns. Maybe create two Versions of the mod?
First is the basic version with the easiest usability.
Second is then the "Pro Edition" :-).

Because from consistency standpoint it would be sad if you are dropping the category related cost/maintenance slider. I would love the idea to be able to adjust the prices etc.

Especially for veterans and experts its great to give the game another level of challenge ...

Just my two cents and of course you are the one to decide.
I personally am convinced that the mod will be a success with even more options and sliders :=)
AksLrs  [作者] 2024 年 1 月 16 日 上午 7:20 
@Proud Wingman, it's very easy for me to make this (adjust the cost for each category), but after that, the mod will be not user-friendly (with all of these sliders), especially for new users.
Proud Wingman 2024 年 1 月 16 日 上午 6:07 
Ah, thanks for the new update!
Great way to reduce the cost globally.

The cherry on top would be to be able to adjust the cost for each category.
(Multiple Units, Passenger Wagon, Cargo Wagon, Road Vehicle.)
Means a Cost slider for each category and on top the global one which can be set to 1.

BR
Proud Wingman
Proud Wingman 2024 年 1 月 16 日 上午 5:11 
Thank you @Aks_Lrs. Highly appriciated!
AksLrs  [作者] 2024 年 1 月 8 日 上午 1:56 
@Proud Wingman yes no problem, I'll deal with that in the next update soon enough
Proud Wingman 2024 年 1 月 7 日 下午 1:58 
Any chance to do something about the formula for the costs of vehicles? Capacity and Speed are variables for the cost calculation. Means the prices are rising as well...
N0neGiv3N 2023 年 12 月 30 日 上午 7:09 
Very nice. This is a godsend for users that don't want to edit files to get what they want.