Transport Fever 2

Transport Fever 2

Construction Mover
GordonDry 2023 年 4 月 19 日 下午 12:35
I made track assets with parameters also road snappable, but cannot move them
I made the pillars and buttresses from
https://psteamcommunity.yuanyoumao.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.
< >
正在显示第 1 - 11 条,共 11 条留言
lollus  [开发者] 2023 年 7 月 27 日 上午 11:06 
Add a small groundTexture, that should make them moveable.
GordonDry 2024 年 3 月 3 日 下午 1: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  [开发者] 2024 年 3 月 3 日 下午 3: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 2024 年 3 月 4 日 下午 4: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" } } }
最后由 GordonDry 编辑于; 2024 年 3 月 4 日 下午 4:05
lollus  [开发者] 2024 年 3 月 5 日 上午 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  [开发者] 2024 年 3 月 5 日 上午 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 2024 年 3 月 5 日 上午 10:04 
It's only about the buttress and pillar assets. Those I want to move and cannot.
lollus  [开发者] 2024 年 3 月 5 日 上午 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 2024 年 3 月 5 日 下午 1: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 2024 年 3 月 9 日 下午 1: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.
< >
正在显示第 1 - 11 条,共 11 条留言
每页显示数: 1530 50