Tree Control 1.0

If you liked this item, please rate it up on Steam Workshop page.

Authors: algernon, Chamëleon TBN

Last revision: 6 Dec, 2023 at 05:46 UTC (14)

File size: 297.98 KB

On Steam Workshop

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 hights above/below terrain and automatically snap to buildings)
  • Tree scaling (change the scale of any tree on placement)
  • Random tree rotation (so trees aren’t always facing the same direction)
  • Tree movement control (controlling how much the trees sway in the wind)
  • Forestry resource locking (toggle in options panel)
  • 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…)

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

To apply tree scaling, use the assigned keys – by 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 a little differently to those of previous mods, to avoid some of the issues that those mods had.

Unlike previous mods, 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 visibile if built over).

With the 0.9.9 update to this mod, 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 – note that this is currently EXPERIMENTAL. 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]