Transport Fever 2

Transport Fever 2

Freight Yard Framework
110 Comments
RadiKyle 28 Jan @ 4:26pm 
@Ariexe the mod has 2 platform types. Only the "hidden cargo" type has no collision and can be built over.

Note uneven ground can cause a collision message if the thing you want to build is trying to create an embankment. Adjusting the height and/or levelling the ground helps.
numbat 28 Jan @ 2:34pm 
I have a build with collision mod and that works fine.
Ariexe 27 Jan @ 1:10pm 
how do you build over the platform? I get collision
GrumpyZade 5 Nov, 2024 @ 11:47am 
@RadiKyle

@[190]Yocto

Thank both of you so much for maintaining this mod!! I just got back to playing TPF2 and was so sad when I spent a week trying to find the mod that hides the cargo/has the ground "platforms" only to see it didn't work. I'm replacing almost all my stations with these now:):steamhappy:
Animaus 4 Nov, 2024 @ 5:48pm 
I'm SO happy it works like a charm again :-) THANK YOU both!
nicholas.manion 3 Nov, 2024 @ 7:32pm 
Thanks so much for the fix! Working perfectly now, so happy to have it back
[190]Yocto  [author] 3 Nov, 2024 @ 5:39pm 
Don't worry about it! This never would have gotten an update rolled out if you hadn't taken it on!
RadiKyle 3 Nov, 2024 @ 5:34pm 
Oh ok that works too! Sorry for the messup, I def should've caught that! I mean I've been testing with both test mods for months and knew they used the same filename, but then I fell asleep about what will happen if one gets changed 🤦‍♂️ derp 🥴 Thanks for the rescue! 🙏
[190]Yocto  [author] 3 Nov, 2024 @ 5:28pm 
Yeah, I just swapped mine to yardframestation and tested with ECS and the other mods in the error messages people posted. Not ideal, but seemed like a faster way to resolve it than looping in a third person. Thanks for all the help! I haven't even had time to play this in a while, so the mod was languishing.
RadiKyle 3 Nov, 2024 @ 5:26pm 
Yeah I guess my tests had ECS loaded first so I didn't catch the conflict.
I just tested it with a modified ECS mod with "yardstation" replaced everywhere with "ecsyardstation" and it works fine with no conflict.
Oh you're renaming yours instead?
[190]Yocto  [author] 3 Nov, 2024 @ 5:21pm 
It's odd that the issue only arose after the update, but that did it, nice job! I ended up just changing it, seemed easier for everyone.
RadiKyle 3 Nov, 2024 @ 5:11pm 
Ok yeah I see it now too. ECS uses the same yardstationutil.lua filename (which is bad). So it's created a load order conflict that shouldn't exist. Ideally they should use a different filename and then everything is fine. Alternatively could change your filename, it just feels backwards since you had it first lol.
[190]Yocto  [author] 3 Nov, 2024 @ 5:05pm 
That's from the Austrian Railway Stations mod, according to the mod number from the error message. If I start up a new game with only ECS and the updated version of this mod enabled then I cannot build stations. The update and any other mod I've tried work fine.
RadiKyle 3 Nov, 2024 @ 4:53pm 
That's really strange because I tested with the ECS during development, along with many others.
Any idea what this mod is? kitzsteinhorn_oebb_bahnhof_repaint_1 Looks like a something from TpFnet but I can't find it.
[190]Yocto  [author] 3 Nov, 2024 @ 4:45pm 
Yeah, I ended up just using your edits without any more changes, they worked perfectly with the mods I thought to test with. The Early Cargo Sheds mod uses the same method for hiding cargo as this one, and so far is the only mod I've found to cause a problem when combined with the update to this one.
RadiKyle 3 Nov, 2024 @ 4:42pm 
Which mod is it?
I missed the update, was it the same files that I sent earlier? I just want to make sure I'm testing the same thing
[190]Yocto  [author] 3 Nov, 2024 @ 4:39pm 
So far I have only been able to replicate the issue with one other particular mod which does some similar things, it might just be that both need to be updated together to work.
RadiKyle 3 Nov, 2024 @ 4:22pm 
Aw crap I tested the snot out of this too... Sorry! Ok I'll take another look
John Enderas 3 Nov, 2024 @ 2:51pm 
Thanks for the fast support and the cool mod:steamthumbsup:
John Enderas 3 Nov, 2024 @ 2:50pm 
OK Thanks
John Enderas 3 Nov, 2024 @ 2:49pm 
ok I unsubscribed and deleted the mod and resubscribed and now it works again
:steamthumbsup:
[190]Yocto  [author] 3 Nov, 2024 @ 2:41pm 
Did you try unsubscribing and resubscribing to the mod to force an update?

Also, for those having issues, are you subscribed to the Early Cargo Shed mod as well? Looking at the mod numbers in the error logs that seems to be the only one that breaks the functionality with the new version of this. Some of the code for that is based on this mod, so I'll reach out and coordinate an update of both.
John Enderas 3 Nov, 2024 @ 2:36pm 
So it still doesn't work for me
[190]Yocto  [author] 3 Nov, 2024 @ 2:22pm 
I've rolled back the update for now. Thanks for posting the errors, I'll download some of the other mods mentioned there and see if they cause errors for me as well.
hv-wot 3 Nov, 2024 @ 2:03pm 
The same for me:
"
File name: C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1974610721/res/construction/station/rail/modular_station/yard_station.con

Key: game/config/ConstructWithModules

Minidump: C:/Program Files (x86)/Steam/userdata/1027609152/1066780/local/crash_dump/6ed54994-2564-47ef-bda5-eecf1c66f587.dmp

Mod: "Freight Yard Framework" (*1974610721, 1) (consider removing this mod and contacting the mod author)

In file: urban_games/train_fever/src/Lib/lua/State.cpp:745

In function: void __cdecl lua::State::Call(int,int)
"
But the mod worked till today and I added no further mod.
The game crashes when I build a station.
John Enderas 3 Nov, 2024 @ 1:58pm 
Sorry there was no other way from bottom to top I can hardly build any stations
John Enderas 3 Nov, 2024 @ 1:56pm 
File name: C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/2524986598/res/construction/station/rail/modular_station/austrian_modular_passenger_station.con

Key: game/config/ConstructWithModules

Minidump: C:/Program Files (x86)/Steam/userdata/51791766/1066780/local/crash_dump/b695e1a5-eb9e-404f-972a-c4a668808532.dmp

Mod: "Österreichische Bahnhöfe" (*2524986598, 1) (consider removing this mod and contacting the mod author)

In file: urban_games/train_fever/src/Lib/lua/State.cpp:745

In function: void __cdecl lua::State::Call(int,int)
>
John Enderas 3 Nov, 2024 @ 1:55pm 
@C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1957064125/res/scripts/modules/oppiestationutil.lua(31): trackUpdateWrapper
@C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1957064125/mod.lua(27): oldUpdateFn
@C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/2524986598/mod.lua(56): oldUpdateFn
@mods/kitzsteinhorn_oebb_bahnhof_repaint_1/mod.lua(61): ?
@res/config/base_config.lua(94): ?
John Enderas 3 Nov, 2024 @ 1:54pm 
This error is usually caused by modding. Some game resources contain incorrect data.

Details:

Error message: error: C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1974610721/res/scripts/modules/yardstationutil.lua:33: attempt to call local 'originalFunction' (a nil value)
stack traceback:
=[C](-1): originalFunction
@C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1974610721/res/scripts/modules/yardstationutil.lua(33): trackUpdateWrapper
@C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/2582077233/mod.lua(27): originalFunction
@C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1974610721/res/scripts/modules/yardstationutil.lua(33): trackUpdateWrapper
@C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1974610721/mod.lua(39): orginal_UpdateFn
@C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/2824535401/mod.lua(48): originalFunction
[190]Yocto  [author] 3 Nov, 2024 @ 8:53am 
I'm not seeing any issues using either my local version or the workshop version. Are they just not appearing in the menu? Does it crash when you build something?
nicholas.manion 2 Nov, 2024 @ 10:55pm 
Mod not working now since it was updated, cant build any freight stations, even default ones
[190]Yocto  [author] 29 Oct, 2024 @ 5:21pm 
@RadiKyle Thank you so much for doing that! I'll review it when I have a minute (hopefully this weekend) and post it.
RadiKyle 19 Oct, 2024 @ 9:05am 
@[190]Yocto hi again, I posted an updated track fix for you in the discussion section. Cheers!
takashi 27 Aug, 2024 @ 5:26am 
@Blake
First, the performance of this MOD as I understand it
The station's cargo is hidden underground instead of being exposed. This MOD also allows modifications to each platform cargo that is exposed and hidden for each era.
The problem is that if you use this MOD directly to place stations that appear, you will not be able to increase the track.You can add one track, but you can't add more than two tracks. So I first place a freight station in the normal game, then rearrange the tracks and platforms I want to use.
The platform to be placed at this time is the platform by subscribing to this MOD.for ex hidden cargo area
numbat 22 Jun, 2024 @ 1:59pm 
@Blake, not sure what you think is wrong with this, but I use it all the time.
Blake Johnson 22 Jun, 2024 @ 5:04am 
This is really bad there are no actual models and now I can't even place platforms. I am going to report this and hopefully it gets taken down.
RadiKyle 13 Jun, 2024 @ 2:59pm 
Heya @[190]Yocto while working on a mod and fixing some compatibility issue with yours, I think I resolved some errors involving non-vanilla track types (some others mention this below). See discussion post for details and code to fix it. Thanks!
numbat 26 Jan, 2024 @ 3:10pm 
@yocto, loving this mod. However, it appears the cargo platforms don't make use of the space available in the shared cargo buildings. Is this something I can configure myself?
Balvor 10 Jan, 2024 @ 6:37am 
Plattforms dont add Cargo to the Station anymore.. can we please get a little update here?
Monka 7 Oct, 2023 @ 12:30pm 
Any plans to update the mod?
CashonWheels 25 Mar, 2023 @ 3:27pm 
Can include some invisible stairs so people can connect two overlapping stations together?
Richard 19 Mar, 2023 @ 9:15am 
Love your mod!
Seems like it was broken after recent update and cargo is now shown on hidden cargo platforms too, tried every variant, cargo is just there :(
Hope you'll fix this soon, thank you!
Chef Soyyarrdee (MSG Resja) 15 Mar, 2023 @ 2:53pm 
My error occurred while trying to play a modded track through the station configuration. I was able to place the vanilla track sometimes, and sometimes not.
Centurion 15 Mar, 2023 @ 1:37pm 
I was simply trying to place the specialised station for this mod, however the error occurred during play and a default grey cube was displayed. wasn't a CTD
[190]Yocto  [author] 15 Mar, 2023 @ 12:47pm 
I'm not able to recreate that error yet, although I think I've narrowed down what changed in a recent update. Could you let me know what you were doing when the error occurred so I can try to reproduce it and test if I can fix it?
Chef Soyyarrdee (MSG Resja) 15 Mar, 2023 @ 9:33am 
Exception type: Lua exception

Error message: error: [string "X:/SteamLibrary/steamapps/workshop/content/1066780/1974610721/res/construction/station/rail/modular_station/yard_station.con"]:1050: attempt to perform arithmetic on field '?' (a nil value)
stack traceback:
=[C](-1): __add
X:/SteamLibrary/steamapps/workshop/content/1066780/1974610721/res/construction/station/rail/modular_station/yard_station.con(1050): terminateConstructionHook
@res/config/base_config.lua(102): ?


File name: X:/SteamLibrary/steamapps/workshop/content/1066780/1974610721/res/construction/station/rail/modular_station/yard_station.con

Key: game/config/ConstructWithModules

Minidump: C:/Program Files (x86)/Steam/userdata/98573208/1066780/local/crash_dump/2f7f23dc-352e-4162-b7e4-8116febcf3ea.dmp

In file: urban_games/train_fever/src/Lib/lua/State.cpp:642

In function: void __cdecl lua::State::Call(int,int)
Centurion 8 Mar, 2023 @ 12:37pm 
Exception type: Lua exception

This error is usually caused by modding. Some game resources contain incorrect data.

Details:

Error message: error: [string "D:/games/Steam Games/steamapps/workshop/content/1066780/1974610721/res/contruction/station/rail/modular_station/yard_station.con"]:953: attempt to perform arithmetic on field '?' (a nil value)
stack traceback:
=[C](-1):__add
D:/Games/Steam Games/steamapps/workshop/content/1066780/1974610721/res/contruction/station/rail/modular_station/yard_station.con(953): terminateConstructionHook
@res/config/base_config.lua(101): ?

File name: D:/Games/Steam Games/steamapps/workshop/content/1066780/1974610721/res/contruction/station/rail/modular_station/yard_station.con

Key: game/config/ConstructWithModules

Minidump: C:/Program Files (x86)/steam/userdata/--/1066780/local/crash_dump/88d02a6c-19e3-4d11-8f80-43f752a70e8a.dmp

Mod: "Freight Yard Framework" (*1974610721, 1) (consider removing this mod and contacting the mod author)
the_badger19 12 Apr, 2022 @ 5:20am 
Could you please modify this for the new game update so that the buildings can hold cargo?
Senpai-Rex 10 Feb, 2022 @ 1:19pm 
@briansyston I bloody hope some day this will happen too!
Rubber Sword 17 Jan, 2022 @ 5:47am 
Anyone know of a YouTuber using this mod?