Transport Fever 2

Transport Fever 2

Freestyle train station
lollus  [developer] 2 Feb, 2021 @ 4:18pm
Bug reports
Report bugs with steps to reproduce them.
You will probably need to post stdout.txt, which you will find here:
https://www.transportfever2.com/wiki/doku.php?id=gamemanual:gamefilelocations
Do ignore advice on this mod coming from sources other than myself, particularly from third party websites that pretend to give expertise: they don't.
Last edited by lollus; 30 Oct, 2022 @ 4:38pm
< >
Showing 16-30 of 138 comments
RadiKyle 1 Oct, 2022 @ 12:29pm 
Hi, I've just started using this mod and really like it so far! In my first cargo station I notice that the buildings overlap the platforms, so cargo appears to collide with the buildings. Here's a couple screenshots:
https://imgur.com/a/LR5vK3v
I think the building placement locations (marked by the little blue squares when adding elements to a station) need to be located further back so they don't overlap the platform. In other words, behave like the vanilla stations. Hope that made sense!
Cheers!
lollus  [developer] 6 Oct, 2022 @ 6:03am 
Hi, that bug was one or two releases ago, make sure to update the mod. The latest is minor version 94, check out mod.lua .
RadiKyle 6 Oct, 2022 @ 11:42am 
Originally posted by lollus:
Hi, that bug was one or two releases ago, make sure to update the mod. The latest is minor version 94, check out mod.lua .

Hi yes I have v94. I have to rebuild the station? I deleted these buildings and re-added them, and they no longer overlap the platform, which is good. However now the buildings overlap each other. I can build multiple overlapping buildings in the same space, specifically the 20x20 and 30x28 cargo buildings. This happens even for a brand new station. Screenshot:
https://imgur.com/a/0ql3u9t

Edit: Okay I just re-read this part of the mod description again: "- Module placement is rather free, the player is allowed to do some unrealistic things. Proper checks would be too expensive." So I'm guessing that's why the cargo buildings overlap.
Last edited by RadiKyle; 6 Oct, 2022 @ 11:45am
lollus  [developer] 6 Oct, 2022 @ 12:07pm 
Yes they can overlap each other, especially in curves. And yes, proper checks would be too expensive. The idea is, you get a bit more freedom, but you are in charge. They line up properly in flat straightaways, I made a new grid with release 81 that works for terminals created since.
Last edited by lollus; 6 Oct, 2022 @ 7:54pm
RadiKyle 9 Oct, 2022 @ 6:11pm 
(Edit: Okay it's not limited to the 20x20 building. I now encounter issues with other buildings too.)

Hi I encountered an issue today with the 20x20 cargo building. If the station has a regular track next to it, the 20x20 cargo building gives a collision error no matter where I try to place it, and it highlights the regular track in red. Screenshot:
https://imgur.com/a/Z53fhVX

None of the other buildings seem to have this issue. Note this is with a 5m platform width (I didn't check other widths). It's the latest mod version (1 Oct).
Last edited by RadiKyle; 9 Oct, 2022 @ 9:27pm
lollus  [developer] 10 Oct, 2022 @ 2:57am 
Thanks, I shipped a fix (1.95) for the two large cargo stations.
Collision may still appear after terraforming around a station, or after the game has built something around it: this is normal. The solution is to remove AI buildings where the configuration shows collisions. The same happens with stock lorry bays or passenger stations.
Last edited by lollus; 10 Oct, 2022 @ 3:38am
RadiKyle 10 Oct, 2022 @ 5:04pm 
Thank you! :) I downloaded the latest update and am trying it now and it seems better so far, thanks!!
Cule729 22 Jan, 2023 @ 8:32am 
Hi, in one of my savegames i get this msg when i start: WARNING: 1 models are missing:
* lollo_freestyle_train_station/passenger_lane_linkable_raised.mdl

I get of of those funny boxes on my freestyle station. When i try to delete it it crashes.
Some more messages:



[D:/Steam/steamapps/workshop/content/1066780/2451530094/res/scripts/eatglobal_v2_29.lua] (Version 2.29)
eatglobal: init [D:/Steam/steamapps/workshop/content/1066780/2451530094/res/scripts/eatglobal_v2_29.lua] (Version 2.29)
lollo_freestyle_train_station/era_c_invisible_platform_10m.lua not found in res/config/streets but was saved with savegame
lollo_freestyle_train_station/era_c_invisible_platform_20m.lua not found in res/config/streets but was saved with savegame
lollo_freestyle_train_station/era_c_invisible_platform_2_5m.lua not found in res/config/streets but was saved with savegame
lollo_freestyle_train_station/era_c_invisible_platform_5m.lua not found in res/config/streets but was saved with savegame
kanshi_depot.lua not found in res/config/streets but was saved with savegame
kanshi_poleless.lua not found in res/config/streets but was saved with savegame
The following models are missing and will be replaced:
* lollo_freestyle_train_station/passenger_lane_linkable_raised.mdl 6827
* lollo_freestyle_train_station/underpass/underpass_building_w_bottom_10m.mdl 7097
* station/ice_u_pf_all_gleisdreieck.mdl 11857
* lollo_freestyle_train_station/subway/holloway_9_5_8_unconnected.mdl 19152
* lollo_freestyle_train_station/subway/holloway_13_5_8_unconnected.mdl 19320
FillTownCargoTypes: 1.524 ms
No resources are missing!
WARNING: 1 models are missing:
* lollo_freestyle_train_station/passenger_lane_linkable_raised.mdl
Shader reload took : 2.265 ms
eatglobal: init [D:/Steam/steamapps/workshop/content/1066780/2451530094/res/scripts/eatglobal_v2_29.lua] (Version 2.29)
prepare material ubo's: 377.547 ms
Using 216 UBOs, total 0 bytes
eatglobal: init [D:/Steam/steamapps/workshop/content/1066780/2451530094/res/scripts/eatglobal_v2_29.lua] (Version 2.29)
Initial material index generation: 4924.64 ms
error loading dds file: res/textures/models/asset/hessie_roof_metal01_normal.dds
Compression in progress: D:/Steam/steamapps/workshop/content/1066780/2360751025/res/textures/models/vehicle/waggon/PNABRLampMGA.tga => D:/Steam/userdata/152792037/1066780/local/texture_cache/0E67755D0B22104A42245C708E7A564B/PNABRLampMGA.compressed.mm.dds
Compression in progress: D:/Steam/steamapps/workshop/content/1066780/2360751025/res/textures/models/vehicle/waggon/PNALampRust.tga => D:/Steam/userdata/152792037/1066780/local/texture_cache/0E67755D0B22104A42245C708E7A564B/PNALampRust.compressed.mm.dds
C:\GitLab-Runner\builds\1BJoMpBZ\0\ug\urban_games\train_fever\src\Game\ecs\TransportNetworkSystem.cpp:79: bool __cdecl `anonymous-namespace'::IsValidTransition(const struct transport::Edge &,const struct transport::Edge &,struct transport::NodeId): Assertion `person0 == person1' failed.
Attempting to write crash save to "crash_London_Build1_Test_2023-01-22_17-21-32"
available disk space: 496446 MB
[2023-01-22 17:21:32] Saving to file D:/Steam/userdata/152792037/1066780/local/save/crash_London_Build1_Test_2023-01-22_17-21-32.sav
Additional info extracted from the previous state:
Additional info for entity 21595:
components:
struct ecs::component::Name
struct ecs::component::PlayerOwned
struct ecs::component::BoundingVolume
struct ecs::component::ModelInstanceList
struct ecs::component::TransportNetwork
struct ecs::component::Construction
struct ecs::component::BuildCost
struct ecs::component::MaintenanceCost
struct ecs::component::AudioEmitter
lollus  [developer] 22 Jan, 2023 @ 9:11am 
First of all, make sure you have the latest version (1.95).
That model is obsolete so I cleaned it away, perhaps too eagerly. Normally, you would add or remove a module and the station should update it automatically. Can you try that?
Are you on the beta?
Last edited by lollus; 22 Jan, 2023 @ 9:21am
lollus  [developer] 22 Jan, 2023 @ 9:35am 
OK can you please recreate that file and put this inside? Let me know what happens.

local _constants = require('lollo_freestyle_train_station.constants')
local _mdlHelpers = require('lollo_freestyle_train_station.mdlHelpers')

function data()
return {
boundingInfo = _mdlHelpers.getVoidBoundingInfo(),
collider = _mdlHelpers.getVoidCollider(),
lods = {
{
node = {
name = 'RootNode',
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, },
},
static = false,
visibleFrom = 0,
visibleTo = 100,
},
},
metadata = {
transportNetworkProvider = {
laneLists = {
{
linkable = true, -- false, --true,
nodes = {
{
{ 0, 0, _constants.trackCrossingRaise },
{ 1, 0, 0 },
1.5,
},
{
{ 1, 0, 0 },
{ 1, 0, 0 },
1.5,
},
},
transportModes = { 'CARGO', 'PERSON', },
speedLimit = 20,
},
},
runways = { },
terminals = { },
},
},
version = 1
}
end
Cule729 22 Jan, 2023 @ 9:53am 
Hi, i also wanted to say the savegame was from last October so you probably have updated it since. I tried to edit the station but it crashed so i just deleted the whole station. Loaded up again and i did not get the message.
lollus  [developer] 22 Jan, 2023 @ 10:24am 
Never mind, it should never happen, I am going to publish a patch. Thanks.
62bMoose 17 Feb, 2023 @ 1:31pm 
Today's update (17/02/23) has bug?
Cannot configure buildings in cargo station:

Exception type: Configuration error
This error is usually caused by modding. Some game resources contain semantically incorrect data.
Details:
Error message: Required key not found: transf
File name: /Users/x/SteamLibrary/steamapps/workshop/content/1066780/2363493916/res/construction/station/rail/lollo_freestyle_train_station/station.con
Key: game/config/ConstructWithModules/slots/144/transf
Minidump: /Users/x/Library/Application Support/Steam/userdata/72049132/1066780/local/crash_dump/72CF5A41-A848-48F8-A70F-67A6691D9072.dmp
Mod: "Freestyle train station" (*2363493916, 1) (consider removing this mod and contacting the mod author)
In file: /src/Lib/lua/StackConverter.h:35
In function: void ReadRequired(T &, lua::State &, const char *) [T = CMat4f]
lollus  [developer] 17 Feb, 2023 @ 5:41pm 
Thanks, I have published a fix.
62bMoose 18 Feb, 2023 @ 1:53am 
Thank you lollus - this is still the best and most useful mod in TpF2. Many thanks.
< >
Showing 16-30 of 138 comments
Per page: 1530 50