Changing the capacity of vehicles produces varied results! – Train Fever /forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/feed/ Wed, 30 Apr 2025 12:16:03 +0000 https://bbpress.org/?v=2.6.13 en-US /forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8865 <![CDATA[Changing the capacity of vehicles produces varied results!]]> /forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8865 Wed, 17 Sep 2014 11:05:17 +0000 NyetComrade When editing some vehicles the capacity parameter in the mdl file is a direct indication of what the capacity is in-game. On others, it isn’t.

For instance, the Hbi car (vanilla numbers).

capacities = {
{ type = “WOOD”, capacity = 52 },
{ type = “GOODS”, capacity = 52 }

Why doesn’t this translate directly to 52 goods per car in game? Other vehicles do. Reducing these ~66% to 17 each results in the car having only a capacity of 4 wood/goods. What is the reasoning behind this behavior?

My goal is to re-balance the capacity and cost of trains to necessitate longer trains. I have come across this anomaly in the process.

]]>
/forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8885 <![CDATA[Reply To: Changing the capacity of vehicles produces varied results!]]> /forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8885 Wed, 17 Sep 2014 12:40:42 +0000 steveb Am not sure I understand what you mean… you set 17 and ingame it shows 4? Can you take a screen? It does sound like a bug I guess…

]]>
/forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8903 <![CDATA[Reply To: Changing the capacity of vehicles produces varied results!]]> /forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8903 Wed, 17 Sep 2014 13:33:47 +0000 NyetComrade Here, I’ve taken a screen shot of both the original file and the game capacity. Stock.


Truthfully, I could just fidget with the figures until they’re to my liking. I just seek to understand why this behaves one way, while others behave as expected.

Further prodding shows that, for whatever reason, the in-game result is always the rounded result of dividing by 4. 52/4=13 and 17/4=4.25

Just seems odd that this freight car and the semi-truck are afflicted.

]]>
/forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8917 <![CDATA[Reply To: Changing the capacity of vehicles produces varied results!]]> /forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8917 Wed, 17 Sep 2014 14:24:24 +0000 Reblet All capacities are divided by 4 in-game.

Supposedly this is so you put real-world capacities in the mdl file and the game will translate that to TF capacities.

]]>
/forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8929 <![CDATA[Reply To: Changing the capacity of vehicles produces varied results!]]> /forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8929 Wed, 17 Sep 2014 15:08:04 +0000 steveb Well that doesn’t make any sense… why divide by 4? There is no relation to the real-world figures since we don’t know if those units are in tones/cm. Besides, the average player will just look at ingame values and not go through the game files to know of that real-world relation anyway. Looks like a bug to me…

]]>
/forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8949 <![CDATA[Reply To: Changing the capacity of vehicles produces varied results!]]> /forums/topic/changing-the-capacity-of-vehicles-produces-varied-results/#post-8949 Wed, 17 Sep 2014 16:49:51 +0000 Timmiej93 That does make sense. There is no reason why it has been divided by 4, the developers just chose that number, so if you build a new train model, you can put in the real amount of seats, and the game will translate it to a more playable amount. Definitely not a bug.

]]>