Transport Fever

Transport Fever

评价数不足
Locomotive Speed Adjuster
   
奖励
收藏
已收藏
取消收藏
Vehicle: Locomotive
Misc: Script Mod
文件大小
发表于
更新日期
306.152 KB
2018 年 8 月 9 日 上午 10:52
2019 年 11 月 15 日 下午 5:10
6 项改动说明 ( 查看 )

订阅以下载
Locomotive Speed Adjuster

描述
Adjust the maximum speed of all Locomotives, either by a fixed percentage or set all to a fixed speed.
Slower locomotives are cheaper to buy, and have lower ticket prices enabling longer routes (especially useful for cargo).

Default settings scale locomotive speed to 50% of their normal value, you can adjust the configuration values in
\Steam\steamapps\workshop\content\446800\1471880075\mod.lua
You can set locomotive speed to either a fixed percentage of their default values, or set all locomotives to a fixed maximum speed, or limit all locomotives to no more than a maximum speed (but not increase speed for slower locomotives).

Tractive Effort can also (optionally) be scaled inversely to speed adjustment: if enabled and the speed is adjusted to slower than default the locomotive will gain a proportionate amount of tractive effort, while faster-than-default speeds result in lower tractive effort.

See also Wagon Speed Adjuster for the equivalent mod for wagons.
44 条留言
Edinorog 2023 年 5 月 3 日 上午 4:47 
безполезный мод, цыфры показывает выше стандартных, но это только цифры. а когда поезд начинает движение и едет на ровном отрезке пути, скорость стандартная.

Useless mod, the figures show higher than the standard, but they are only figures. and when the train starts to move and goes on a flat section of track, the speed of the standard.
tomdesch 2019 年 11 月 16 日 上午 4:06 
@softwareSimian. Here the mod is also working again. Thx for the update
Wilhelm924 2019 年 11 月 15 日 下午 6:24 
No problem

I'm just glad everything works fine.
SoftwareSimian  [作者] 2019 年 11 月 15 日 下午 6:17 
Glad to hear it's working now. Thanks for your debugging help.
Wilhelm924 2019 年 11 月 15 日 下午 5:51 
@SoftwareSimian

Tested it and worked fine.
From what you're saying this mod(my guess the locomotive-variant) was giving me problems;

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=809376482
SoftwareSimian  [作者] 2019 年 11 月 15 日 下午 5:13 
v1.1.2 - 2019-11-15
* hotfix some possible crashes for some fake rail vehicles that have null engines entry
SoftwareSimian  [作者] 2019 年 11 月 15 日 下午 5:12 
@Sterben: it looks like you're using some kind of mod (perhaps a locomotive-as-asset of some kind) that has locomotive entries that have an engine, but with null data in the entry. Can you please let me know which mod(s) gives these files so I can examine them?
res/models/model/vehicle/train/twindexx_w1.mdl
res/models/model/vehicle/waggon/Fake_verbandswagen_v2.mdl

I've pushed a best-guess hotfix that may solve the problem, but I can't test the fix without having something that causes it to break.
Wilhelm924 2019 年 11 月 15 日 上午 9:07 
@SoftwareSimian;
This is literally what shows up everytime I start a game with this mod ON;

File: res/models/model/vehicle/train/twindexx_w1.mdl
error: ...ary/steamapps/workshop/content/446800/1471880075/mod.lua:27 : attempt to index field '?' (a nil value) stack traceback:
[C](-1):_index
...ary/steamapps/workshop/content/446800/1471880075/mod.lua(27) : vres/scripts/mod.lua(69): ?
This error is usually caused by modding. The syntax of some game resources is not correct.

And this is what shows up at the end of stdout.txt;

(x86)/SteamLibrary/steamapps/workshop/content/446800/809376482/res/models/model/vehicle/waggon/Fake_verbandswagen_v2.mdl
error: error: ...ary/steamapps/workshop/content/446800/1471880075/mod.lua:27 : attempt to index field '?' (a nil value)
stack traceback:
[C](-1): __index
...ary/steamapps/workshop/content/446800/1471880075/mod.lua(27) : v
res/scripts/mod.lua(69): ?
tomdesch 2019 年 11 月 15 日 上午 8:50 
error: error: ...emo/steamapps/workshop/content/446800/1471880075/mod.lua:27 : attempt to index field '?' (a nil value)
stack traceback:
[C](-1): __index
...emo/steamapps/workshop/content/446800/1471880075/mod.lua(27) : v
res/scripts/mod.lua(69): ?
SoftwareSimian  [作者] 2019 年 11 月 14 日 下午 4:15 
@Sterben: again, can you please be more specific? Do you get an error message? Please copy-paste the crash reason given at the end of
\Steam\userdata\<steamid>\446800\local\crash_dump\stdout.txt