Transport Fever 2

Transport Fever 2

Construction Mover
GordonDry 19. apr. 2023 kl. 12:35
I made track assets with parameters also road snappable, but cannot move them
I made the pillars and buttresses from
https://gtm.steamproxy.vip/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.
< >
Viser 1-11 af 11 kommentarer
lollus  [udvikler] 27. juli 2023 kl. 11:06 
Add a small groundTexture, that should make them moveable.
GordonDry 3. mar. 2024 kl. 13:29 
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  [udvikler] 3. mar. 2024 kl. 15:52 
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 kl. 16:05 
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" } } }
Sidst redigeret af GordonDry; 4. mar. 2024 kl. 16:05
lollus  [udvikler] 5. mar. 2024 kl. 7:49 
Strange. If there are already groundFaces, you don't need to add more. Perhaps that mod plays some tricks with game.getInterface()?
lollus  [udvikler] 5. mar. 2024 kl. 9:32 
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 kl. 10:04 
It's only about the buttress and pillar assets. Those I want to move and cannot.
lollus  [udvikler] 5. mar. 2024 kl. 11:46 
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 kl. 13:43 
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 kl. 13:50 
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.
< >
Viser 1-11 af 11 kommentarer
Per side: 1530 50