安装 Steam						
					
				
				
									登录
											 | 
						语言
						
																																															繁體中文(繁体中文)
																													日本語(日语)
																													한국어(韩语)
																													ไทย(泰语)
																													български(保加利亚语)
																													Čeština(捷克语)
																													Dansk(丹麦语)
																													Deutsch(德语)
																													English(英语)
																													Español-España(西班牙语 - 西班牙)
																													Español - Latinoamérica(西班牙语 - 拉丁美洲)
																													Ελληνικά(希腊语)
																													Français(法语)
																													Italiano(意大利语)
																													Bahasa Indonesia(印度尼西亚语)
																													Magyar(匈牙利语)
																													Nederlands(荷兰语)
																													Norsk(挪威语)
																													Polski(波兰语)
																													Português(葡萄牙语 - 葡萄牙)
																													Português-Brasil(葡萄牙语 - 巴西)
																													Română(罗马尼亚语)
																													Русский(俄语)
																													Suomi(芬兰语)
																													Svenska(瑞典语)
																													Türkçe(土耳其语)
																													Tiếng Việt(越南语)
																													Українська(乌克兰语)
																									报告翻译问题
							
						
 
											 
													







I have changed my station speeds to 160 & 450.
runFn = function(settings)
addModifier("loadTrack", function (fileName, data)
if fileName == "res/config/track/standard.lua" then
data.yearTo = 1849
data.speedLimit = 160 / 3.6 <----(Changed from 30 to 160)
end
if fileName == "res/config/track/high_speed.lua" then
data.yearTo = 1849
data.speedLimit = 450 / 3.6 <----(Changed from 50 to 450)
end
return data
end)
IMPORTANT THINGS TO REMEMBER!!!
1. When you are placing or editing a station in order to use you're new station track speed. You need to select the track type "20" or "30". All other track types give you a speed of only 30 or 50 (idk y this happens).
2. All speed values are in km/h. So if using mph, I suggest converting you're mph value into km/h using google or etc. (taking nearest whole number or to the 1st decimal point).
I hope this helps people.
& happy Fevering.
PS Can't wait for Transport Fever 2
Folder path: \Steam\steamapps\workshop\content\446800\946897147
or
Locate Folder: 946897147
Folder should contain another folder called "res" & 2 LUA files named "mod" & "strings". Click on the "mod" LUA file. (Open with notepad or etc)
In LUA file go to section that looks like this:
runFn = function(settings)
addModifier("loadTrack", function (fileName, data)
if fileName == "res/config/track/standard.lua" then
data.yearTo = 1849
data.speedLimit = 30 / 3.6 <--(Change "30" to what you want)
end
if fileName == "res/config/track/high_speed.lua" then
data.yearTo = 1849
data.speedLimit = 50 / 3.6 <--(Change"50" to what you want)
end
return data
end)
The 2 values you want to change are shown above (or located on the LUA file at lines 59 and 63. Both in column 6).
Once done save the "mod" LUA file.
Open TF, this change shouldn't conflict with existing save games.
if (params.numTracksIndex == nil) then
params.numTracksIndex = 0
end
if (params.sizeIndex == nil) then
params.sizeIndex = 0
end
error/..team/steamapps/workshop/content/446800/946897147/mod.lua:18:attempt to perform arithmetic on field 'numTracksIndex' (a nil value)
Can you please advise? Thanks!
Please pay attention not all station mods are upgradable due to some of terrain calculate bug from the game(for example my latest open cut station can't be correctly modified), so putting all speed values to replace original paramsutils is perhaps not a good choice. (better ask UG to enlarge the construction menu before doing this)
Released a minor update. You can now set the speed limit in train stations yourself. One flaw here.. if you initially place the trainstation UG uses a different settings window.. you only see the middle choices .. but in the trainstation update menu it's fine.
( Größere Bahnhöfe http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=853048846&searchtext= ) und ( Gebogene Bahnhöfe Vier verschiedene Radien http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=854664535&searchtext= von Transport Fever Entwicklerteam ) Zusammen nutzen! Alles Getestet
i have installed you mod, wich very much like and another mod called
(Ares28 Train Speed Mod) http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=866135615
then i loaded an existing save, and when i removed a piece of track, the segments before and after are stuck at 30km/u. when i removed that, the 30km/u segemts just jumps to next segments and so on. maybe i needed to make a new save, but i dindt want to.
also make these tracks much cheaper. for early game its just way overpriced.
Ansonsten großes Lob! Gefällt mir besser, als die bisherige Mod dazu!