Transport Fever 2

Transport Fever 2

Construction Mover
GordonDry 19 Apr, 2023 @ 12:35pm
I made track assets with parameters also road snappable, but cannot move them
I made the pillars and buttresses from
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2128272632
also road snappable by adding
snapping = { rail = true, road = true, },
to the .cons and now they snap to roads, but they neither open the parameters window when clicking anymore nor they're moveable.

Especially the issue with the parameters window is weird.
< >
Showing 1-11 of 11 comments
lollus  [developer] 27 Jul, 2023 @ 11:06am 
Add a small groundTexture, that should make them moveable.
GordonDry 3 Mar, 2024 @ 1:29pm 
I'm late, but I still don't know how to do that.
I was on hiatus for a few months and now I want to fix this, but no avail yet.
lollus  [developer] 3 Mar, 2024 @ 3:52pm 
You don't need it anymore, Construction Mover does it for you now.
If you want to do it by hand, add
groundFaces = {
{
face = {
{0.1, -0.1, 0.0, 1.0},
{0.1, 0.1, 0.0, 1.0},
{-0.1, 0.1, 0.0, 1.0},
{-0.1, -0.1, 0.0, 1.0},
},
modes = {
{
type = 'FILL',
key = 'shared/asphalt_01.gtex.lua' --'shared/gravel_03.gtex.lua'
}
}
},
}
to the data, which updateFn() puts out.
GordonDry 4 Mar, 2024 @ 4:05pm 
Still no avail.

The cons already got
result.groundFaces[#result.groundFaces + 1] = { face = { {1, -2, 0}, {1, 2, 0}, {-1, 2, 0}, {-1, -2, 0} }, modes = { { type = "FILL", key = "none" } } }
which I changed to this
result.groundFaces[#result.groundFaces + 1] = { face = { {0.1, -0.1, 0.0, 1.0}, {0.1, 0.1, 0.0, 1.0}, {-0.1, 0.1, 0.0, 1.0}, {-0.1, -0.1, 0.0, 1.0} }, modes = { { type = "FILL", key = "shared/asphalt_01.gtex.lua" } } }
Last edited by GordonDry; 4 Mar, 2024 @ 4:05pm
lollus  [developer] 5 Mar, 2024 @ 7:49am 
Strange. If there are already groundFaces, you don't need to add more. Perhaps that mod plays some tricks with game.getInterface()?
lollus  [developer] 5 Mar, 2024 @ 9:32am 
I checked it, those are bridges and bridges cannot be moved. Pillars and buttresses probably can because they are normal constructions, but just those two.
GordonDry 5 Mar, 2024 @ 10:04am 
It's only about the buttress and pillar assets. Those I want to move and cannot.
lollus  [developer] 5 Mar, 2024 @ 11:46am 
I can, it must be something little and stupid that escaped you. I did not change the mod, I only used the Con Mover with the new parameter on,
GordonDry 5 Mar, 2024 @ 1:43pm 
Darn. Some mod is indeed wrecking my game, I also have other issues:
Some industry mods with integrated stations - like Rail & Track industries or the 5-in-1 industries from hugedragonyk - have no "configure" button anymore when in the map editor and no "station icon" anymore when in game.
Perhaps those issues are related somehow.

The problem is that the stdout.txt does not provide anything useful:
https://www.dropbox.com/scl/fi/mp9546vfexcvo0dw0yorj/stdout-2024050301.zip?rlkey=bhuj1qn3sfuea6hmo0z0oui7w&dl=1
GordonDry 9 Mar, 2024 @ 1:50pm 
If I snap attach any of those at a railroad track it works with no issues, fyi.
The issue only occurs when I snap attach to a road.
< >
Showing 1-11 of 11 comments
Per page: 1530 50