Transport Fever 2

Transport Fever 2

Paintable Industrial Station Modules
14 条留言
uzurpatorex  [作者] 2023 年 4 月 9 日 上午 8:30 
The only answer is "tinker" with it. Lua isn't really a difficult language to learn, although it has its quirks, some of which you'll learn to hate. I can't really point you to any resource because being a C++ dev, I just picked lua up, have seen some code and started coding - whenever something cropped up I just search for an answer.

Regarding the game - there is a modding wiki on https://www.transportfever2.com/wiki/doku.php?id=modding which is a good place to start. There is also a german speaking community on transportfever.net and sometimes you will get an answer in english.

The whole cargo spreading over station thing is a messy code that is spread over several files as the whole modular station feature is a really messy one. As far as I love the game, UG coding style is pretty terrible to read. I actually wanted the platforms to be much lower, but the cargo position is weirly 'hardcoded' in a manner that untangling it would take me too much time.
Blackdragonbird 2023 年 4 月 9 日 上午 7:00 
I know this one. Unfortunately it does something I don't want. It spreads the cargo to platforms that are not connect to tracks too. And seems that some people are having issues with it because it is abandoned by the author for some time now.

Can you point me to any good resources in how to learn LUA and mod the game by myself? I have some ideas and needs, and sincerely, it's starting to get tiresome to ask other people to do it for me. I'm in the process of career change, from PC maintenance to web development, and I already have some basic knowledge of algorithms and coding in general. Any advice will be much appreciated. Thanks. =)
uzurpatorex  [作者] 2023 年 4 月 9 日 上午 5:05 
Use this mod: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1962650483
It will spread load all over the station :)
Blackdragonbird 2023 年 4 月 9 日 上午 4:57 
Very good mod. Suggestion: Do you think is possible to make the cargo platforms work the same way as the port pier? If there's a landing only in one of the faces, the total cargo capacity of the two halves is used?
Right now, train cargo platforms only use half of their capacities, even if there are tracks only in one side of it.
piroulier 2023 年 3 月 15 日 上午 9:45 
maybe the sign with the station name?
I think it would fit better for era A
uzurpatorex  [作者] 2023 年 3 月 11 日 下午 1:40 
@briansyston - there needs to be something on the platform to be able to remove it - otherwise it will be difficult to spot.
briansyston 2023 年 3 月 11 日 上午 10:30 
uzurpatorex, themeatballhero just use it to see !!
briansyston 2023 年 3 月 11 日 上午 10:28 
Can you add a platform with no lamps or fence for Era A games ?
If you can make one with them you can make a copy and remove them !
briansyston 2023 年 3 月 11 日 上午 9:30 
Looks good !
fred_sopson 2023 年 3 月 8 日 上午 3:04 
Thank you for this MOD. I like. But I would like to have a platform without a fence and with fewer lamps. Best regards.
themeatballhero 2023 年 3 月 7 日 下午 12:23 
thanks man! looks cool! whats the difference between this mod and this?

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2022982471&searchtext=
uzurpatorex  [作者] 2023 年 3 月 7 日 上午 10:15 
Added some screenshots :)
themeatballhero 2023 年 3 月 7 日 上午 5:13 
not gonna lie, not sure what the mod looks like so yes more pics please :)
apoappl 2023 年 3 月 7 日 上午 1:01 
More pictures, please