Cities: Skylines

Cities: Skylines

1,392 个评价
Tree Control 1.0.1
4
2
2
3
   
奖励
收藏
已收藏
取消收藏
Mod
文件大小
发表于
更新日期
310.826 KB
2023 年 4 月 10 日 下午 11:51
5 月 11 日 下午 9:23
22 项改动说明 ( 查看 )

订阅以下载
Tree Control 1.0.1

描述


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
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 you can also 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, first 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. The limit you set will be applied when you load the save (restart the game first if you've already loaded the save).



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 these mods 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]
851 条留言
BluePaintball 9 月 29 日 下午 9:10 
Got it, I will later test it and let you know, thanks, man
algernon  [作者] 9 月 29 日 上午 1:06 
@BluePaintball A lot of those are not editor-safe. Again, most mods AREN'T editor-safe.

You should NOT be using the same mods in the editor that you use for playing the game.
BluePaintball 9 月 28 日 下午 5:05 
Perhaps I enabled too many mods?

ACME
Advanced vehicle options
Big city (25 tile)
BOB
Custom effect loader
Find it!
Harmony 2.2.2-0
Hide it!
LSM
Lumina
ModTools
Move it!
Patch loader mod v2.2.0
PLay it!
Realtime
Render it!
RICO revisited 2.5.6
Skip intro
Skyve
Surface painter
visibility control
Prop control 1.0.1
unlimited money (vanilla)
unlock all (vanilla)

and Tree control
algernon  [作者] 9 月 28 日 下午 4:07 
@BluePaintball And you've made sure that ALL your mods that you're using in the asset editor are editor-safe (most mods AREN'T safe for use in the editor)?
algernon  [作者] 9 月 28 日 下午 4:06 
@Zuel You've stated that you're sure it's this mod, but what you've posted doesn't show that. Please share the FULL methodology and logs that you used to come to this conclusion.
BluePaintball 9 月 28 日 上午 10:32 
I tried, and it doesn't seem to have an effect in the asset editor
Zuel 9 月 28 日 上午 7:56 
@algernon Sorry for not sharing the complete output but reading the output I am extremely sure it's caused by Tree Control
98,547ms | Tree Control: expanded data CustomDeserialize.
98,547ms | Tree Control: found expanded tree data.
98,549ms | Tree Control: found extended data version 0.
98,549ms | Tree Control: reading expanded tree data length 1310720.
99,153ms | Starter.Awake() called.
99,406ms | Tree Control: creating tree scaling data array of size 2097152.
99,409ms | Tree Control: creating new anarchy flag data array of size 32768.
99,410ms | Tree Control: found anarchy flags.
99,410ms | Tree Control: deserializing tree anarchy data.
99,411ms | Tree Control: found scaling data.
99,412ms | Tree Control: deserializing tree scaling data.
99,461ms | Tree Control: found snapping data.
99,462ms | Tree Control: deserializing tree snapping data.
99,491ms | Simulation error: Array index is out of range.
The rest are same the output I posted previously
algernon  [作者] 9 月 28 日 上午 12:03 
@BluePaintball Have you enabled tree snapping?
BluePaintball 9 月 27 日 下午 10:47 
Btw, I found that there's no issue in-game, but doesn't work in the asset editor
BluePaintball 9 月 27 日 下午 10:37 
How do you disable trees from being forced to follow terrain? Changing height with Move it does not work; it always resets to 60. I'm having trouble trying to place trees on the roof of a building.