Transport Fever 2

Transport Fever 2

Italian FS Assets - SET Mura & Gallerie
GordonDry 11 May, 2021 @ 10:47am
Make them track snapable with parameters?
Offsets etc.
< >
Showing 1-11 of 11 comments
Lenza  [developer] 12 Apr, 2022 @ 1:54am 
Nope lol
sorry I don't see that coming, I'm out of the modding world since lockdowns ended, luckily.
Plus, I've created them with the free placement in mind, even where no tracks are layed.
Last edited by Lenza; 12 Apr, 2022 @ 1:55am
lollus 5 Feb, 2023 @ 9:24am 
I have made a few changes to this fundamental mod to make it snap and to adjust it with the Construction Mover. The repo is here: github.com/lolluslollus/lollo_lenz_italian_fs_assets_2271119528_1/
Feel free to use it.
GordonDry 5 Feb, 2023 @ 10:27am 
I'll give it a test.
GordonDry 6 Feb, 2023 @ 2:10am 
Looking good.
GordonDry 6 Feb, 2023 @ 2:12am 
btw @lollus can I place those on top with the same patched functionality?
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2476963699
lollus 6 Feb, 2023 @ 2:16am 
You can probably make the same changes there. Why don't you download Visual Studio Code and Github Desktop and try your hand at it? Once you got past the initial hurdles, the sky is the limit.
GordonDry 6 Feb, 2023 @ 2:33am 
I compared a few of the .con and don't know how to decide when it's for example
transf = transfUtilUG.mul(constructionHelpers.idTransf(), transfUtilUG.transl({x = 0, y = 2.5, z = 0})),
and when it's
transf = transfUtilUG.mul(constructionHelpers.idTransf(), transfUtilUG.rotZTransl(-math.pi / 2, {x = 0, y = -2.5, z = 0})),
Are those all variants or is there even more?
lollus 6 Feb, 2023 @ 2:52am 
Some models are rotated 90 deg and most need a y offset of 2.5 m (half the track width).
Different models may require different settings, you have to check them one by one. The good news is, you don't need to restart the game coz it picks up your changes at once, when you edit constructions.

The dummy groundFaces tell the game that this is a proper construction as opposed to a plain asset, so the "select" event will fire, so the Construction Mover will work.

You also need
type = 'ASSET_TRACK',
so the constructions snap to the tracks.
GordonDry 6 Feb, 2023 @ 4:21am 
Thank you very much.
lollus 6 Feb, 2023 @ 4:29am 
Yet another mod I didn't know I needed :-)
< >
Showing 1-11 of 11 comments
Per page: 1530 50