Cities: Skylines

Cities: Skylines

703 ratings
Adaptive Prop Visibility Distance
 
Rate  
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
0.692 MB
Feb 16, 2016 @ 4:28am
Nov 13, 2016 @ 11:56pm
7 Change Notes ( view )

Subscribe to download
Adaptive Prop Visibility Distance

Subscribed
Unsubscribe
In 1 collection by BloodyPenguin
Penguin's Eye Candy
28 items
Description
Prevents large props (like planes, containers etc.) from disappearing on zooming out. Adjusts LOD distance for trees depending on their size.

The larger is prop/tree, the further it is visible! For small props visibility distances should remain the same as in vanilla. FPS hit shouldn't be that much because only very large props are affected.

Also, in vanilla game all tree models get replaced with LODs at the same distance. This mod fixes that and now tree LOD distance depends on tree size. That fixes pixelated LODs of large trees like Siberian Pine by MrMaison. That may also increase FPS if lots or small trees (like bushes) are used (because they get replaced with LODs earlier).

This mod works for both standalone props (i.e. placed with More Beautification) and for props that are parts of park assets.

This mod provides an options entry where you can play with LOD distances for trees and props.
Formulas for those sliders:
For trees:
lod_distance ~ (lodfactormultiplier * triangle_area + distance_offset) * lod_distance_multiplier
For props:
render_distance ~ lodfactormultiplier * triangle_area + distance_offset
lod_distance: render_distance * lod_distance_multiplier

where triangle_area is how large tree/prop is.

This mod should be compatible with all other mods, including LOD Toggler.

GitHub repository[github.com]

Latest update:
UPDATE 6 (11/14/2016)
Fixed: Added fallback options for trees/props if distance can't be calculated

Feel free to comment

Note: if you have any errors/exceptions, please, don't paste them or output_log.txt into comments. Use pastebin, dropbox or whatever.

If you like this mod and/or want to support me you can donate here:
[www.paypal.com]
You don't have a PayPal account? You can use link in 'Don't have a PayPal account?' section at the bottom of donation page to donate using your credit card information.
< >
221 Comments
Anonymous Gamer Apr 15 @ 8:47am 
Glad this is compatible with tree LOD fix, i was very curious :) thanks BP
BloodyPenguin  [author] Apr 8 @ 1:08pm 
@Ale Haim Like I said multiple times here, this mod treats trees in the same way as props and is not responsible for quality of tree LOD's because it only controls the distance when the main model gets replaced by a LOD. If you need to improve actual tree LOD quality, use this mod by TPB: https://steamcommunity.com/sharedfiles/filedetails/?id=1349895184
Ale Haim Mar 29 @ 10:12am 
I would really want the tree lod part fixed as i cant watch the sh*tty low lod treemodels when zooming out just a little. plz fix :)
Th3_Jok3r_BR Mar 27 @ 6:00am 
my trees at distance are horrible, I think was the last update, and same happens at highways too (change textures at distance)
hehehemann Mar 20 @ 10:22pm 
A reset button on the option would be useful :)
BloodyPenguin  [author] Mar 15 @ 11:38am 
@Eilif Private/incognito browsing to help you ;)
Eilif Mar 15 @ 5:33am 
I unsubscribed all my workshop items and reinstalled the game. And then subscribed the assets and mods i wanted again. It helped.
Anyway, thanks for your mods, the game wouldnt be half as good without them. I wanted to donate, but PayPal is to hard for me. It wont let me donate without using account as it thinks i have one. I cant remember i ever had one. And unlock password to the unknown account cant be done without answering safety questions who i dont know answer upon or reciving safety code on text to a phone number i dont have.
deeheks Mar 13 @ 10:13am 
That's what I have under <Options> in AdaptivePropVisibilityDistance.xml

<LodFactorMultiplierProps>163</LodFactorMultiplierProps>
<DistanceOffsetProps>1</DistanceOffsetProps>
<LodDistanceMultiplierProps>0.35</LodDistanceMultiplierProps>
<FallbackRenderDistanceProps>1000</FallbackRenderDistanceProps>
<LodFactorMultiplierTrees>573</LodFactorMultiplierTrees>
<DistanceOffsetTrees>1</DistanceOffsetTrees>
<LodDistanceMultiplierTrees>0.05</LodDistanceMultiplierTrees>
<FallbackLodFactorMultiplierTrees>1</FallbackLodFactorMultiplierTrees>

Which line is bugging?
deeheks Mar 13 @ 10:10am 
Hey BP,
Our players' hell don't end there... On windows at least, mods setting xlm files are spread in 2 locations: some in Steam\steamapps\common\Cities_Skylines and some in AppData\Local\Colossal Order\Cities_Skylines.

Why should this be. The launcher would have a single xml loaded into it and a section FOR the launcher to declare incompatibilities and dependancies. A non registered mod could not be added and would need supported by the mod devs.

Who would pay for this... please?
Eilif Mar 13 @ 6:13am 
Sorry, this is maybe a silly question. But from what i can read, is the reason for the bad LOD, the trees config files? And the solution to this is to delete those files?