Cities: Skylines

Cities: Skylines

[DEPRECATED] Tree & Vehicle Props Patch
62 Comments
thekingofcity 23 Dec, 2021 @ 5:09am 
Thanks for the test, I also see a load failure of this trailer in the loading screen mod. I will try 2 when it is ready for stable find it 2 :steamthumbsup:
sway  [author] 21 Dec, 2021 @ 11:27am 
This patch mod is now DEPRECATED. Consider switching to Tree & Vehicle Props 2 . As of today this patch mod still works so I will keep it on the workshop indefinitely, but it probably won't receive future updates.
sway  [author] 19 Dec, 2021 @ 1:00pm 
The name of the trailers are set by the asset creators, so nothing really can be done in this mod or Find It. A workaround is to use the custom tag feature in Find It or search by the asset's workshop ID. In the next updte Find It 2 will show an asset's workshop ID when you put the mouse on the steam icon, so it should make the search easier when you know the ID of the engine but the names of the trailers are unknown

I am able to see 658501603 in my game by searching its workshop ID

https://i.imgur.com/blDrZDl.png
thekingofcity 18 Dec, 2021 @ 7:25am 
I rescan the find it vehicle section and do find some trailers named Trailer0/1/2 Prop. They can't be simply searched by the train name. Maybe it is because of the unique name reason you pointed out? Anyway, I still can't find that particular one. :steamsad: assets id 658501603
sway  [author] 5 Dec, 2021 @ 10:46am 
@thekingofcity
Another possible case is that some asset creators choose to bundle the prop version together with the vehicle version, and this kind of props can appear in any prop category in Find It, depending on the template selected by the asset creators. The game requires every prop to have a unique name so this mod will automatically skip those vehicles for prop conversion
thekingofcity 3 Dec, 2021 @ 5:44am 
Thanks, looks like an asset problem. I could find some trailers but not that particular one.
sway  [author] 2 Dec, 2021 @ 8:09am 
Important message:

Semi-incompatible mod
Extended Managers Library:
If you are using EML, the vehicle props generated by this mod will have unwanted light effects when the game time is in the night cycle. Quistar is planning to implement similar features of this mod into EML and Prop Anarchy.
sway  [author] 29 Nov, 2021 @ 4:08pm 
@thekingofcity as far as I know it worked with vanilla train trailers and some custom trains I subscribed to. Are you able to find vanilla train trailers?
thekingofcity 29 Nov, 2021 @ 6:03am 
This mod works as per my expectation, great work! But I can't find the trailer of my train in find it. Does the mod support trailer or I should look somewhere else?
bunker13 14 Oct, 2021 @ 5:30am 
In fact, this mod you made is really my favorite mod among Cities mods and my favorite mod. because
Vehicles in Vehicle are not actually in props. But it's really nice that it props through this mod. Another thing is that I don't have to subscribe to a separate prop on the asset... it's a mod that makes my computer run smoothly. Although the loading screen mod says the prop is missing, I still like this mod. I hope you will upgrade this mod soon. This mod will probably be one of the top ranked mods in the near future. People still don't know...

*You're a really smart guy, Sway. I know what Cities users need. I like you.
sway  [author] 17 Jun, 2021 @ 11:43am 
@eke_ny
Memory usage may decrease slightly because prop generated by TVP with this patch mod shares full texture with the original vehicle if you are using Loading Screen Mod. Standalone prop only shares partial texture with the original vehicle. However the difference can be minimal and unnoticeable. Not sure about loading time.
eke_ny 14 Jun, 2021 @ 4:32am 
If I disable the prop of a vehicle, and use this mod to create the prop of the vehicle, will loading time and/or memory usage be reduced?
ModZilla 4 Jun, 2021 @ 2:01pm 
Thanks, My +100 mods and 2000 asset city was loaded in a few minutes!
sway  [author] 26 May, 2021 @ 12:11pm 
v1.6 update

- Add a new patch to avoid the duplicate prefab name errors generated by TVP. After this update you shouldn't get any "Tree to Prop/Vehicle to Prop: duplicate prefab name" error when you start the game
sway  [author] 8 May, 2021 @ 9:14am 
@Mbyron26 yes that error is caused by a prop naming issue in the original TVP mod, not this patch mod. It's explained in the description. I'll try to find a way to patch it
Mbyron26 8 May, 2021 @ 8:50am 
@sway Hey, buddy, I mean there's a prop version error,so every time I load the archive I get this error?
sway  [author] 7 May, 2021 @ 5:56pm 
@Mbyron26 do you mean the "Duplicate Prefab Name" error? It isn't caused by this mod
Mbyron26 7 May, 2021 @ 3:02am 
Can you set a prompt to skip an error each time?
LemonsterOG 26 Mar, 2021 @ 2:24pm 
@sway -- Gotcha. I'll just add it to the list. Thanks for getting back to me. :ap_reallyhappy:
sway  [author] 26 Mar, 2021 @ 10:20am 
If it's the "Duplicate Prefab Name" error then it is because the asset creator chose to bundle the prop version together. But it is a harmless error. It just means the TVP mod failed to create a prop with the same name. You can use the custom skipping list to get rid of the error message
LemonsterOG 26 Mar, 2021 @ 6:03am 
@sway -- The Pine Bush Set still has a broken asset message after game load.
AngelHeavenly 26 Mar, 2021 @ 2:10am 
@sway it fixed my problem, thanks!
sway  [author] 25 Mar, 2021 @ 4:26pm 
@AngelHeavenly I added some extra checks in today's update(version 1.5.2). Let me know if you still have the same "An element with the same key already exists in the dictionary." error
AngelHeavenly 18 Mar, 2021 @ 2:21am 
@sway how i understand what i have duplicate entries?
I'm not sure, but i see more entries with:

876878495.TrailerUVZ Atom R1 (4C)0;
876878495.TrailerUVZ Atom R1 (4C)1;
876878495.TrailerUVZ Atom R1 (4C)2;

It?
sway  [author] 17 Mar, 2021 @ 3:33pm 
@AngelHeavenly It's probably not related to the harmony API. Do you have duplicate entries in your TVPropPatchConfig.xml file? Or do you have multiple assets with the same name? I am a bit busy irl but I will add some more name checks in the next update
AngelHeavenly 17 Mar, 2021 @ 2:33am 
Hi autor, i have problem on launch game:

A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —-> System.ArgumentException: An element with the same key already exists in the dictionary.
at System.Collections.Generic.Dictionary`2[System.String,System.Boolean].Add (System.String key, Boolean value) [0x00000] in <filename unknown>:0
at TVPropPatch.Mod.OnEnabled () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception


Maybe you need update your harmony API?
sway  [author] 14 Feb, 2021 @ 3:40am 
@xonedl TVP doesn't work as a local mod for me either.
NameInvalid 13 Feb, 2021 @ 8:38pm 
It appear that TVP and this patch just don't like to be moved to local AppData... had been struggling to figure out why it didn't work for hoursss... turns out they just hate to be moved...
○| ̄|_
Thanks for patch, makes things easier to find. After the disaster with Tree Snapping (position did not retain), finally can resume my work...
sway  [author] 3 Feb, 2021 @ 11:06pm 
v1.5 Update

- Add customizable skipping list. It is now possible to customize the list of trees and vehicles to convert or to skip
sway  [author] 1 Feb, 2021 @ 7:05pm 
v1.4 Update

- Patch the "Remove tree prop sway" issue in TVP. With this patch mod, that option in TVP will only remove sway from custom tree props. The original trees will not be affected

- Add options to skip prop conversion for vanilla vehicles and trees. This patch mod now has its own mod settings page

- Reduce error message logging in TVP

- Update to Harmony 2.0.4 & CitiesHarmony API 1.0.6
Mitchy 8 Dec, 2020 @ 4:09pm 
I realize you're not in control of the primary mod but just some food for thought if you'd be interested in investigating - when you choose to "remove tree prop sway", it stops the sway effect for ALL trees, not just the props. And the prop trees don't respond to the Tree Movement Mod, so they sway all over the damn place. I thought it'd be worth mentioning since I gotta keep restarting the game and changing that one setting for certain video footage. Excellent work regardless, this patch still makes it worth it
Sp3ctre18 6 Dec, 2020 @ 6:06pm 
Awesome!
sway  [author] 5 Nov, 2020 @ 11:37pm 
@BUBAKAR TVP and this patch mod don't do anything after the game is loaded, so my guess is that the issue is caused by other mods or a bug of ultimate eye candy itself. I always used ultimate eye candy when I played the game and I didn't have this issue.
BUBAKAR 5 Nov, 2020 @ 10:59pm 
@sway

Great patch for a great mod! Both of them actually cut my loading time in half compared to vanilla, which is impressive!

Unfortunately it won't allow me to bring up Ultimate Eye Candy with it (SHIFT+U doesn't work when TVP is enabled...) and it seems to mess with other UI elements a bit.

Is it a known issue (overlapping keybinds/code) and is there a fix for it?


Thank you for your work! :steamhappy:
BUBAKAR 5 Nov, 2020 @ 10:56pm 
@sway

Great patch for a great mod! Both of them actually cut my loading time in half, which is impressive!

Unfortunately it won't allow me to bring up Ultimate Eye Candy with it (SHIFT+U doesn't work when TVP is enabled...) and it seems to mess with other UI elements a bit.

Is it a known issue (overlapping keybinds/code) and is there a fix for it?

Thank you for your work! :steamhappy:
Ultra Gravy 4 Nov, 2020 @ 8:51pm 
@sway thanks a bunch - I'll look into it. This mod fix is great btw.
sway  [author] 4 Nov, 2020 @ 7:59pm 
There are no actual files for the generated props. After the .crp file of a vehicle asset is loaded, the TVP mod creates a new prop prefab in-game during the loading screen and borrows the 3d model and the texture from the loaded vehicle asset(so the prop and vehicle share the same resources). The generated prop isn't packaged and stored in a .crp file.

The most popular and straightforward way to achieve your goal is to use Bloody Penguin's Modtools mod: Load the vehicle asset in the asset editor, and then use Modtools to extract the 3d models and texture files. Then you can use another vehicle asset editor template to re-import the files. Some vanilla assets have locked models and they are more tricky to work on.

Ronyx69 made a short tutorial video on this:
https://youtu.be/nzJK77BU2Lg
Ultra Gravy 4 Nov, 2020 @ 7:31pm 
Where do the generated prop files get kept? I'm trying to import the model so I can use a normal car as a bus for driving around a race track. or would this be the wrong way to go about it - is there an easier way to make a "bussified" version of a vanilla car?
Davy Crockett 25 Oct, 2020 @ 9:51am 
Okay, thanks mate
sway  [author] 25 Oct, 2020 @ 9:23am 
@TitleMax The props are still generated by the original TVP mod, not this patch mod. Those props don't show up in the content manager anyway as they're dynamically generated during the loading screen.
Davy Crockett 25 Oct, 2020 @ 7:06am 
Could I go into content manager and disable certain props? I already have props for most of my vehicles and only used this for some of Aries Vehicles. And I don't like to have duplicate props, the clutter gets to my head sometimes.
Captain Underpants 🩲 30 Sep, 2020 @ 10:09am 
Yup. Just confirmed it myself. Thanks for the help! You're a life saver. :D
sway  [author] 30 Sep, 2020 @ 9:59am 
@und3ad The missing button issue is caused by Resize It and/or Airport Roads(confirmed issue), not this mod. kian.zarrin is working on a new UI mod to fix the issue. If the shortcut is not working, there's probably a shortcut conflict between IMT and other mods.
Captain Underpants 🩲 30 Sep, 2020 @ 9:24am 
Weird. I just discovered it kinda breaks Intersection Marking Tool as well (shortcut stops working and button's missing, but it displays existing markings fine). I'll try no-workshop mode and add one mod at a time when I have some time.
sway  [author] 26 Sep, 2020 @ 8:12am 
@und3ad I don't use theme decals so I'm not sure. I checked Elektrix's and Ronyx69's code in both mods and I didn't see any conflict. It might be caused by other mods. I don't really know.
Captain Underpants 🩲 26 Sep, 2020 @ 3:49am 
Tree & Vehicle Props still breaks Theme Decals for me though. Any idea what's causing it?
stephennn_ 13 Sep, 2020 @ 2:52pm 
Without
Custom assets loaded
23617 assets
Loading speed
96.5 assets / second
Custom assets loading time
4:05 minutes:seconds
Total loading time
34:52 minutes:seconds
With original mod 60mins+ (most of the time game crashes)
With this patch
Custom assets loaded
23673 assets
Loading speed
96.0 assets / second
Custom assets loading time
4:07 minutes:seconds
Total loading time
45:22 minutes:seconds
Mitchy 13 Sep, 2020 @ 2:38pm 
well damn, nice work
sway  [author] 13 Sep, 2020 @ 2:28pm 
@Mitch something similar has been added in the beta version of Find It 2. There are two new prop type filter tabs for the tree and vehicle props generated by TVP, so you can check all of them at once.
Mitchy 13 Sep, 2020 @ 1:40pm 
Well this is a game changer like the loading screen mod was when it came out. Suggestion: could all the vehicles and/or trees converted have a tag attached to them so you view all of them at once with Find It? I got a lot of vehicles and I'm not alone, rather than manually search for every model it would be neat if they were tagged with 'converted' or something