Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
and it works :o)
Make sure to precisely copy Lainor's Fix, the game is casesensitive!
Also:
If you, as i, only wanted to reduce running costs,
change in both these files
1907210983\mod.lua and
1907210983\config\config.lua
everything to 1.00 except data.metadata.maintenance.runningCostScale ( which i keep at 0.50 )
Hope this helps anyone whos trying todo a bit of balenceing when using mods that change cargo capacity. im not a coder in anyway just experimenting with things to try and get something to work
I have one problem though: by default it makes the cost of all trains 0.00 (after setting the config file to all 1.0 and 10.0 for TrackFactor).
Looking through the code I tried setting all 0.0 values to 1.0 which I assumed to be default values. After doing that it set the cost of all trains to be int(C / 10,000,000) where C is the original cost.
I'f you'd like me to run a debugging version and send you the result I'd be more than happy.
Note 1: I am running 70 other mods as well as experimental map sizes
Note 2: I do not know how to code in lua so I just guessed based on similarity in syntax to c++
Note 3: I have never modded TF2
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/discussions/1907210983
C:\Program Files (x86)\Steam\steamapps\workshop\content\1066780\1907210983\config\config.lua
Open it with a text editor, edit, save and reload your game (or create a new one).
is actually written as game.config.chargeMaintenanceInterval =60 its half way down the page of
the config file.
C:\Program Files (x86)\Steam\steamapps\common\Transport Fever 2\res\config\base_config.lua.
Open that file and edit the line value from 60 to a number Multiple of 60 IE: 60;120; 240;
I use 11520 every 8 years: Think of it as a Government tax write off incentive
EDIT: Seems like I found a bug. I have reported it to UG and waiting for reply.
game.config.chargeMaintenanceInterval = 1440
Purchase prizes can be modified but as soon as I use this mod all upkeep costs are zero, that's a bit sad.
Go to the drive where u have installed TpF2 and look there for the Steamfolder and open it, from there u follow the path:
steamapps>workshop>content>1066780>1907210983>config