Cities: Skylines

Cities: Skylines

281 ratings
TrailerVariation Loader
Rate  
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
0.005 MB
Oct 30, 2018 @ 9:02am
1 Change Note ( view )

Subscribe to download
TrailerVariation Loader

Subscribed
Unsubscribe
In 1 collection by Acc3ss Violation
Acc3ss' Mods
6 items
Description
Allows the use of variations for custom vehicle assets, like truck trailers and cargo wagons. Think empty vs. loaded log trucks. This mod is required for end users (and asset creators) that want to use custom assets using this feature.

Submesh variation masks are a way to use different submeshes for different cargo loads, be it full or empty. You can see this in action in game on the cargo train since the Industries patch. Unfortunately the game doesn't support custom assets that use these masks: they simply don't get saved or loaded, leading to all submeshes appearing at once.

For end users
If an asset lists this as a requirement, just sub to this and the asset will work.

For asset creators
Assets saved with Extended Asset Editor will automatically be set up correctly for use with this mod as of version 0.4.10, so no need to run scripts to configure them for use with this mod. Just edit the submeshes' variation masks, save them (with that mod's save button!) and they will work with this mod!
NOTE: You CAN NOT use things like the additive shader on any submesh that has a non-zero variation mask! If the mask is 0 you're fine though.

Credits and stuff
Based on Ronyx69's mods like Additive Shader
Mod source on github[gist.github.com]
< >
26 Comments
leonpeonleon Apr 28 @ 4:03am 
I love how it adds new types of train trailers :D
標小黑 Jun 12, 2019 @ 4:44pm 
I dont know can use the masks 1, just to change the vanilla has
Thank you very much !
Acc3ss Violation  [author] Jun 12, 2019 @ 11:52am 
Masks 1 and 2 can be used for the general goods submeshes, here's the full list:
1 Other
2 Other Empty
4 Animal Products
8 Grain
16 Logs
32 Empty Logs
64 Oil Products
128 Ore
256 Empty Ore

I'm not sure if there is a proper way to hide the main mesh, but if you need it you can always create an invisible mesh (with the wheels at the right location) by just making the entire thing transparent using the alpha texture.
標小黑 Jun 11, 2019 @ 6:21pm 
Because main mesh wont disappear, it can only design as trailer frame
Does it mean that there is no way to set up the custom trailer with general goods ?
Acc3ss Violation  [author] Feb 26, 2019 @ 10:13am 
The DLC is not needed.
Hindi Feb 25, 2019 @ 1:55pm 
Does it also work wihout Industries DLC?
Acc3ss Violation  [author] Jan 15, 2019 @ 1:25am 
I don't think so since the trailer length is the same for all variations, so even if you made a small invisible trailer variation it would take up the same space in traffic.
toxicity Jan 14, 2019 @ 2:15pm 
Would this be useful for making semi's trailers disappear once they're empty? Really ridiculous to have the traffic backups that I do just because there are two dozen trucks with empty trailers each light cycle. Would be nice to see JUST tractors returning to their home.
meapcity Nov 3, 2018 @ 8:06pm 
can someone do a YouTube tutorial on how to make custom trains with custom cars I'm stamped yes I read the tutorials
Acc3ss Violation  [author] Nov 1, 2018 @ 9:32am 
@aubergine18 Those use another trick I believe, it doesn't actually depend on the actual amount of cargo, just on if the truck is delivering goods somewhere or if it is going back to its 'home' factory. Similar end result, different methods.