Transport Fever 2

Transport Fever 2

Create your own game world!
Give your game a personal touch and change it to your liking. Create, share and install mods. Customize the game with new landscapes, vehicles, stations, assets and more.
Help with modding longer trucks.
As the title, im attempting to create road trains using vanilla assets (for now). As a test, i used the Cascadia, since it was one of the simplest articulated truck mdl's.

For the most part they run well. I fixed the lights and bounding in the model editor, and made sure the fake bogies were in the correct places. Civilian cars pull up behind them and wait, or overtake without issue for the most part;

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3431493365

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3431493179

but there are occasions where someone thinks they're Vin Diesel;

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3431493704

or another vehicle drives into the trailer;

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3431493817

These don't happen on open roads between towns, but it's annoying to see in denser traffic and in cities. Adjusting the bounding and collisions have had little effect on solving this :steamsad:

It seems like the issue is that once the "tractor" unit has turned on a junction, or passed a set of traffic lights, it turns the indicators off pre-maturely, so the vehicles behind think the whole truck has already moved past. Once they're out on the open road again, things go back to working correctly, and they all stop behind one another.

The bounding box is the correct size, judging by other vanilla models, and the collision box, from what i've seen is for assets..? and changing it makes no difference.

I double checked the fake bogies, the positions of the trailers, the model alignment... im out of idea's at this point. :steamsad:

What am i missing here? Or am i just trying to do something that will never work...?
< >
Showing 1-5 of 5 comments
This is a baller mod idea btw!! :steamhappy:

Might be game limitation... Even vanilla passenger cars drive into/thru each other, especially at multi-lane intersections. This "grew" in the last Fall update that adding overtaking.

Also it's similar to cargotram mods, which have similar problems. Lotsa screenshots here:
https://imgur.com/a/ZTc7na6

But you might try creeping the code for vanilla and mod multi-unit trams to see if there is a difference. I don't recall seeing collisions with this one (but maybe just haven't noticed it yet):
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1958235092
Originally posted by RadiKyle:
This is a baller mod idea btw!! :steamhappy:

Might be game limitation... Even vanilla passenger cars drive into/thru each other, especially at multi-lane intersections. This "grew" in the last Fall update that adding overtaking.

Also it's similar to cargotram mods, which have similar problems. Lotsa screenshots here:
https://imgur.com/a/ZTc7na6

But you might try creeping the code for vanilla and mod multi-unit trams to see if there is a difference. I don't recall seeing collisions with this one (but maybe just haven't noticed it yet):
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1958235092

i remember using that cargo tram mod before.. Trams might be a good place to start, good shout! :steamhappy: (Why didn't i think of that?)
Originally posted by Liquid Inc:
i remember using that cargo tram mod before.. Trams might be a good place to start, good shout! :steamhappy: (Why didn't i think of that?)

I haven't looked inside vehicle mods much so just guessing that the code is similar between articulated road vehicles and trams. But probably a lot more info on that in the modding wiki.

A nice thing about the mod above is multiple Buy menu variants of each vehicle with different numbers of "trailers", so can see how the code varies between single- and multi-unit.
Jones 37 22 Feb @ 11:22pm 
I had the same issue with my Scania set. It can be solved, you have to place the truck and its trailers so, that the origin in the Modeleditor is exactly in the middle of the truck consist.
Originally posted by Jones:
I had the same issue with my Scania set. It can be solved, you have to place the truck and its trailers so, that the origin in the Modeleditor is exactly in the middle of the truck consist.

That was it! :steamthumbsup:

I moved the truck forward, reset the bounding and fake bogie locations for both the 2 and 3 trailer versions, and both are now working!
I'll keep running them for a while to make sure, but then i'll have a go at switching trailer types. (and perhaps doing the same for the 359)

Thanks Jones!
< >
Showing 1-5 of 5 comments
Per page: 1530 50