0 of 0

File information

Last updated

Original upload

Created by

Quistar

Uploaded by

QuistarX

Virus scan

Safe to use

About this mod

Tree Anarchy (AKA Unlimited Trees: Reboot)

Requirements
Permissions and credits
Tree Anarchy (AKA Unlimited Trees: Reboot) is a complete rewrite of the original Unlimited Trees Mod, taking out code bloats, fixing bugs, and streamlining the serialization process. The concept of the framework is almost the same as the original mod, and I wouldn't have been able to write this code this fast without the original Unlimited Trees mod. Appreciation goes to: Knighth BloodyPenguin DRen72


New in version 1.0.3
  • Bug fix to IntegratedDeserialize. The injected code was given the wrong variable address. This happened while I was half awake writing the codes, and wrote LDLOC_0 which should have been LDLOC_1. Sorry folks for the inconvenience
  • Added French localization
  • Bugfixes and performance enhancements (Please view changelog for details)

Reasons why I rewrote the codes:
  • To fix the issue of Tree Snapping functionality in original Unlimited Trees mod
  • I did not want to use Tree and Vehicle Prop mod, which creates even more props than my system can handle
  • To fix the performance issues with the original mod
  • To fix the ULOD incompatibility problems with the original mod
  • To fix the forestry natural resources not being created issues.
  • To use Harmony patch instead of Detours
  • To increase optimization because I have a slow PC

    What this mod provides:
  • You can plant more than 262144 trees, with the limit adjusted by a slider like the old mod
  • Loading of old Unlimited Trees mod saved games/maps (Important! to read some issues)
  • Tree Snapping is provided in this mod.
  • Resizing trees beyond the game limit
  • Random Tree rotation is provided in this mod.
  • Lock Forestry function is provided in this mod

    Why re-write Tree Snapping mod and Random Tree rotation mod?
    • I took a different approach to realize the tree snapping functionality, by utilizing what CO has already built-in to the framework.
    • Random Tree Rotation and its variants adds a Eular Math function in the rendering function for each tree, so the more trees you have on your screen, the slower the rendering is. My method is to pre-calculate the Eular Quaternions from 0~360 degrees, and to have Render Instance call these static values between 0~360. Tree swaying factor can now be adjusted during runtime.
    • Lock Forestry is a different story, and since it has to do with trees and it was just a few lines of codes, and I didn't want to load another mod when a few lines would solve my problem, which can prevent me loading another mod saving some system resources

    Most importantly, the reason why I wrote these functions all into one mod, is that its pretty obvious all these functions are related to trees, and a lot of them involve patching the same method calls within the CO framework. Writing them into one mod simplifies dependency issues, whereas if I had written them independently, I would have had to deal with all the dependency spaghetti issues, which would likely result in a poorly designed mod. Simple is best! and ensures that I can optimize the codes in a controlled environment.

    This mod requires:


    This mod is incompatible with:

    With the recent added tree resizing functionality, All variations of Random Tree Rotation are no longer compatible!! Please read discussion page for details. Please use the built-in random tree rotation

    If you wish to contribute in translating this mod to your native language, please reference my CrowdIn site to see how. Your contribution will be greatly appreciated!

    I was only able to find time to write this mod, because I was in quarantine. Now that I'm working full-time again, I'd appreciate it if people can contribute to make this mod better. Please reference my Github page and see how.
    GitHub Page

    This mod creates a new game save format incompatible with the old Unlimited Trees Mod. As of version 0.9.7, saving format of this mod will be considered stable.

    Many thanks to Chameleon who has spent many hours testing this mod out during development phase. And also thanks to him for the German localization.
    Many thanks to Quboid for working on MoveIt to bring better tree snapping behavior

    For the many folks who have helped translate this mod, I really appreciate their efforts and I'd like to acknowledge them here: