Cities: Skylines

Cities: Skylines

352 ratings
Random Tree Rotation for Natural Disasters
 
Rate  
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
0.008 MB
Jan 15, 2017 @ 6:17am
1 Change Note ( view )

Subscribe to download
Random Tree Rotation for Natural Disasters

Subscribed
Unsubscribe
Description
Hey all,

many of you may have noticed that ever since the release of Natural Disasters (C:SL version 1.6) Boformer's Random Tree Rotation mod no longer worked properly: trees disappeared when viewed from certain angles, and textures were flickering wildly. And as we all know, when trees disappear and textures flicker, you're gonna have a bad time!
So I decided to take a peek in the mod's source code, and it turned out that the fix was a very simple one: one of the methods called by the mod was renamed by CO, which lead to the erratic behavior described above. After fixing the method call, the mod seems to be working as new again.

Full credit for the mod obviously goes to Boformer: all I did was renaming one method, a 'feat' a Chimp with a laptop and Visual Studio probably could have pulled off just as well :P


So if rotating trees is your thing, sub now and enjoy!!!




NOTE 1: I initially fixed the code solely for my own amusement, but since this is such a popular (and for many players vital) mod, I felt I had to share the fun with you guys. I haven't tested the mod on anything but my own computer with my own mod collection, so I cannot guarantee the fix will work for everyone. This means that usage is at your own risk.

NOTE 2: this mod is as-is. Feel free to try it out, but I am not offering support except for the most critical of errors. Nor am I going to add or change any functionality - after all, this is and will always remain Boformer's work.

NOTE 3: probably needless to say, but if you're going to use this mod, un-sub from the original version, or in the very least disable it in-game (if you haven't done so already).

NOTE 4: unfortunately, for various players this mod is still causing vanilla trees to flicker wildly when zooming out. I'm not actively trying to fix this issue, because this mod doesn't really have my priority, but any bit of info is still welcome, as it may bring me closer to a solution. In other words, this mod is currently put on ice, but it's not completely abandoned!


PRO-TIP
If you want to use this mod and get rid of the tree flickering, I suggest having a look at Prop it Up!
This mod is not solving the flickering itself, but it allows you to replace every vanilla tree in your city with Workshop trees in just a few clicks. Unlike vanilla trees, Workshop trees don't suffer from the flickering problem, so see this as a work-around for the flickering issue. As an additional bonus, replacing all vanilla trees with Workshop trees makes your city look infinitely better!

Another mod that lets you replace vanilla trees is TPB's Vanilla Trees Remover.
< >
103 Comments
Şnorkl℮ Jan 26 @ 2:55am 
the reason the trees flicker isnt because of switching between lods from what I can see. Im getting the flickering, its because certain trees have variants they switch between when placed. So one tree might have different sizes and it also has different shades of leaves it can possibly spawn with, so when u put that tree down 10 times in a row some are dark and some are light. Whats happening is that when viewed at a distance its constantly flickering through the different versions of the tree that can spawn when u place it, and because some have lighter leaves than others, it seems to flicker between dark and light. Thats whats going on, its not flickering between a low detail distance model and an up close model.

Dunno if thats helpful but just throwing it out there in case it helps.
Chris Lefont Dec 24, 2018 @ 7:01pm 
Finwickle thanks for the info, the other does have newer update than this one
DragonWolf5589 Oct 17, 2018 @ 1:50pm 
thanks finwickle, its been bugging me for a while this one! (I wish steam had a thing to say which versions they are compatible with, theres a LOT that never work anymore and its getting messy on the site.
Finwickle Aug 5, 2018 @ 11:24am 
baronjutter Jun 16, 2018 @ 12:38pm 
I was always told that the flickering only happened with vanilla trees, but it seems any workshop tree attached to a building does it too. Used a tree-replacer mod but any lot-based tree will flicker. Such an odd problem. Random rotation should be part of the vanilla game!
Matt Mar 21, 2018 @ 1:27pm 
Haven't bothered with this mod as it seems to be broken as fuck. It's obviously a case of another line of code being changed in an update that Judazzz was unable to find
mvietori Aug 30, 2017 @ 9:48pm 
Had to unsubscribe. Tree flickering too annoying.
John Wayne Aug 8, 2017 @ 4:21pm 
I just had the exact same problem that martin_raccoon experienced. I use Loading Screen Mod too.
martin_raccoon Jul 1, 2017 @ 2:44pm 
OK, so I just resubscribed to this AND loading screen mod. It seems to work for now.
martin_raccoon Jul 1, 2017 @ 2:20pm 
For some reason every prop and tree started flickering to me. All of the cars are gone. I looked it up on Alphabets search engine and found it was most likely this mod (like the old one especially, but also this), so I unsubbed but the problem still persists. I know that you don't download mods without risks, so i just thought I'd let you know about these problems for _potential_ work, and yes, I read the notes ;)