Cities: Skylines

Cities: Skylines

1,181 ratings
Tree Control 1.0
4
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
305.311 KB
10 Apr, 2023 @ 11:51pm
5 Dec, 2023 @ 9:46pm
21 Change Notes ( view )

Subscribe to download
Tree Control 1.0

Description


A lightweight alternative to Tree Anarchy, with an emphasis on stability and reliability.
Provides:
  • Optional expanded tree limit (the default game limit is 262 144; this mod can expand that to over 2 million)
  • Tree Anarchy (Alt-A to toggle by default)
  • Tree snapping (change tree heights above/below terrain and automatically snap to buildings)
  • Tree scaling (change the scale of any tree on placement)
  • Random tree rotation (trees don't always face the same direction)
  • Tree movement control (controlling how much the trees sway in the wind)
  • Forestry resource locking (toggle in options panel)
  • Optional Tree LOD fix (increasing the detail and resolution of tree LODs, from game default (0.5K texture resolution), through 'Medium' (1K), 'High' (2K), 'Ultra' (4K), and 'Insane' (8K, for those with the hardware that can take it...)

Includes Move It! integration to change the scaling and elevation of existing trees.

To apply tree scaling, use the assigned keys - default comma (,) and period (.) - to increase or decrease the selected tree's size. This can be done when the tree is selected with the tree tool before placing it, or after the tree has been placed by using Move It (including support for selections of multiple trees at a time).

Move It limitations when copying:
  • The preview of the new trees will appear at their original size until placed, at which point they'll inherit the scales of the trees they've been copied from.
  • Changing the scaling of trees will not work while copying with Move It. Instead, you can rescale the trees once they've been placed.
These are limitations with they way Move It works.



User interface
A string of three buttons will be placed near the bottom-left of the screen, just to the left of where the road tool mode buttons appear; these show the current state of (and can be used to toggle):
  • Tree snapping (trees will snap to buildings when placed);
  • Tree anarchy (trees ignore collision and won't be hidden by networks and buildings); and
  • Lock forestry (changes in tree placement won't affect the map's forestry resource).
Right-click on any button and drag it to change where they appear. Their position can be reset in the options panel, where there are also options to change the button backgrounds to transparent, or to hide the buttons entirely.



How anarchy works
Anarchy with Tree Control works differently to those of previous mods, to avoid some of the issues that those mods had.

Tree Control tracks anarchy per individual tree; when the 'anarchy' setting is enabled and a tree is created (or has a road or building placed over it), that tree will be marked as "having anarchy" and from that point on will behave accordingly (it'll remain visible if built over).

Anarchy will be removed from these trees IF tree anarchy is set to off, AND either the network tool or the building tool is being used. So if you're placing buildings or networks then anarchy should work in practice like you're used to with previous mods.

If you want to place trees on roads, you'll need to disable the game's road tree replacement tool by using the BOB mod's option to do so.


More trees
See the mod's options panel for the ability to increase the game's tree limit. As with all limit-enhancing mods, this option should only be activated when you actually need it (especially until it's confirmed as being stable).



Incompatible mods




The functions of all those mods are included in this mod.

NOTE: This mod will attempt read any existing data from the above mods, including Unlimited Trees and Tree Anarchy - but see the note below regarding Tree Anarchy data.

However, most of the mods listed turned out to have some issues, so in some cases it may not be possible to accurately convert the data. When it encounters invalid data this mod will make it's "best guess" as to what was intended, but it won't always get it right - so be sure to check your trees to make sure that everything's how you want it to be (and use Move It to adjust where required).

READING OF TREE ANARCHY DATA IS NOW EXPERIMENTALLY SUPPORTED. However, due to the number of saves out there with corrupted Tree Anarchy data, this option is disabled by default. To load a save with Tree Anarchy data, deselect the "Ignore Tree Anarchy mod data" option in the mod's options panel (be sure to deselect it if you experience any issues loading saves previously made with Tree Anarchy).

Also be sure to set the tree limit in this mod to be equal to or greater than the tree limit used with Tree Anarchy BEFORE loading the save.



Troubleshooting
Make sure you're using the latest version of this mod (0.9.5).

Trees showing through roads and buildings on load? Check the options in this mod's options panel.

Any other issue? I can't help without your output log; put it on a filesharing site such as paste.ee (note that sites other thatn paste.ee may be blocked by the content filter) and then post the link below, including a clear and complete description of your problem (and also stating if that save had been used with Tree Anarchy).

[discord.gg]



Meta
This mod uses Harmony[github.com] version 2.2 by Andreas Pardeike via the Cities Harmony mod by boformer.

Doesn't alter any savefile structure, and saves its data separately to core game data. Can be safely removed at any time (any trees outside of the normal vanilla tree limit will be lost, and any snapped trees will reset to terrain height).

Safe for editor use.



Source code
[github.com].


Translations
[crowdin.com].
Please leave a message below if you'd like me to add another language on CrowdIn.


[ko-fi.com]
[paypal.me]
754 Comments
algernon  [author] 1 hour ago 
@Therealmapa Ah, yes, that would do it. For the old ones, try selecting and exporting them with Move It, then deleting, then re-importing. Hopefully that will work.

For the read-only folder, you might be better off selecting all the folders within it and setting them to read-only rather than the 255710 folder itself, as that may cause issues with subscribing to new mods.
Therealmapa 6 hours ago 
@algernon I realized I had "ignore tree anarchy mod data" enabled. After testing, newly placed trees aren't disappearing, but old ones remain invisible and moving them doesn't help. If there's no easy fix, I can replace them. Regarding the Steam download issue, I did a Skyve package cleanup and set the "255710" folder to read-only. Just checking if this is all i need to do to fix it for good. (The read-only box changes to a - symbol when reopened instead of a checkmark. not sure if it matters.)
algernon  [author] 8 hours ago 
@Therealmapa Re: the file, that's because you're using a full Skyve log report (which is zipped), not the output log on its own (which is just a text file). No worries, it just means you can't use paste.ee (which works for output logs, but not Skyve archives).

Re: the trees being hidden, does that happen when you start a new map for testing?
algernon  [author] 8 hours ago 
@Therealmapa The issue is that Steam isn't going to redownload them again without prompting.

The best way to deal with the Workshop bugs is to use Skyve, which can help force downloads and/or copy files to local directories to prevent Steam deleting. You can also set your downloaded folders to read-only on your filesystem to stop them being deleted.

As for any missing assets in your city: unfortunately, if you've saved without them, then you've lost that instance.
Therealmapa 12 hours ago 
and is there anything i can do to make the assets appear again when steam redownloads them? or fix that issue in general?
Therealmapa 12 hours ago 
@algernon lmk if this works better, the log file was already zipped when i got them from skyve. https://ufile.io/21sk5wp0
also i meant hidden by other objects. i can see where the trees were placed with move it but no matter where i move them, they don't appear again (tree anarchy off or on)
algernon  [author] 14 hours ago 
@Therealmapa The assets disappearing from the city would be because the Steam Workshop is buggy and will sometimes randomly delete items from your computer even though you're still subscribed to them.

The log you posted is invalid - did you try to zip it? If so, use something other than paste.ee (which is for raw text).

While you repost, can you also more clearly define 'disappear' - hidden by other objects, or something else?
Therealmapa 20 Dec @ 3:08am 
this mod works good, but trees placed with anarchy disappear every time i load my save. i thought turning the setting that enables anarchy on load would fix it, but it didnt work. heres the output log https://paste.ee/p/2FXHj#s=0 (this is unrelated btw but rarely, some of my assets disappear from my city if you know a fix)
Ganimedes 12 Dec @ 5:24pm 
going to the discord then :)
algernon  [author] 12 Dec @ 2:28pm 
@Ganimedes I don't know what would trigger that other than a mod conflict or patching error; I'd need to see your output log for any clues.