Cities: Skylines

Cities: Skylines

682 ratings
TrailerVariation Loader
File Size
4.608 KB
Oct 30, 2018 @ 9:02am
Nov 20, 2023 @ 10:42am
7 Change Notes ( view )

Subscribe to download
TrailerVariation Loader

In 1 collection by Acc3ss Violation
Acc3ss' Mods
7 items
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[]
Acc3ss Violation  [author] Apr 21 @ 7:20am 
@BierPizzaChips Yes, this is required for some assets to load properly
BierPizzaChips Apr 14 @ 11:59pm 
Sorry for my potentially stupid question: Do i still need this mod if having "Random Train Trailers 2.4.1" active? (No issue with both active at my end, just curious if i the combo is required at all.)
Mini Feb 10 @ 9:49am 
urrently, there appears to be an issue with this mod. Although no errors are shown, new trains fail to spawn. Existing trains from previous saves operate normally until reaching the map edge and despawning as usual. However, no new trains emerge, whether from the map edge or any cargo/train station. This problem persists across multiple trains, regardless of whether this mod is a requirement or not. Additionally, there are no conflicting mods reported by Skyve that could be causing this issue. Happy to help with error logs if needed :)
Acc3ss Violation  [author] Jan 28 @ 3:59am 
Not much that can break in this mod, it still works fine
Prokilller8888 Jan 26 @ 10:37am 
Does this still work in 2024?
Morisaki0001 Nov 21, 2023 @ 6:49am 
All errors were resolved and I was able to change the number of train cars.
Thank you so much for the swift response. I really appreciate it.
Acc3ss Violation  [author] Nov 20, 2023 @ 10:44am 
It should be fixed now hopefully. Unsubscribe and resubscribe to this mod to be sure you get the changes and then try again.
Morisaki0001 Nov 19, 2023 @ 10:41pm 
In the Content Manager, ”MOD_ERROR[MultiImplementation]: 0” is displayed at 1552053911.

and in Debugging output,

Multiple lUserMod Implementations for mod 1552053911. Only one lUserMod is accepted per mod. C:\Users\[User name]\AppDatalLocalColossal Order\Cities_Skylines\Addons\Mods\1552053911[15520539110.dil,TrallerVariationLoadero.all)
Assembly 'C:\Users\[User name]\AppDatalLocalIColossalOrder\Cities_Skyllnes\Addons\Mods11552053911\552053911.dll' compiled successfully
No source files found: 2040656402
No source files found: 800820816
No source files found: AmbientSounds Tuner

is displayed.
Acc3ss Violation  [author] Nov 19, 2023 @ 2:20am 
That depends, what's the error?
Morisaki0001 Nov 19, 2023 @ 1:07am 
I tried to change the number of train cars by using Extended Asset Editor without Industries but TrailerVariation Loader indicates an error.
Is there a solution?