SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

Salty´s Falling Trees

SBy SaltyWater

Makes trees fall physically and interact with environment when chopped down.

Description

image

Pet the floppa to buy me a coffee!

 

Falling Trees

TIMBEEEEER

imageCheck the commands section below to enable/disable certain featuresimage

imageRegarding <span style="text-decoration: underline;">stick drops</span> please read Q&amp;A sectionimage

image

Domino effect:

A falling tree can make others stumble.

imageRed woods can and will fry your pc. Be carefulimage

image

&nbsp;

And interact with structures:

image

Careful around your house!

A falling tree can interact with structures on its path made of the following materials:

  • Glass - destroy
  • Ceramic - stumble
  • Cloth - destroy
  • Brick - stumble
  • Wood - stumble
  • Leaves - destroy
  • Plant - destroy
  • Ice - destroy
  • Snow - destroy

&nbsp;

Falling trees do not affect:

  • Soil,
  • Stone,
  • Sand,
  • Gravel

&nbsp;

Compatibility with:

image&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;image

For the full lumberjack experience

Configs:

ConfigLib support.

Commands:

/ftplace (true/false) - This is enabled by default and will make it so logs and leaves blocks are placed on impact, this also removes the vanilla logic that calculates the axe damage based on the tree weight. Set this to false if you want everything to get dropped on impact instead, this also reverts back the vanilla durability logic.&nbsp;

/ftplace leaves (true/false) - This is enabled by default and will make it so leaves blocks are placed on impact. If you want only logs to be placed, set the above command to true, and this one to false.

/ftdomino (true/false) - Enabled by default, if set to false falling trees do not interact with environment.

/ftfall forward|backwards|random - Decides the direction of the falling choped tree.

/ftdamage &lt;number&gt; - Sets the damage of the falling logs. 4 by default

Q&amp;A:

  1. <span style="text-decoration: line-through;">Yes I can make the leaves fall with the logs, what I can't right now is make the falling entity leaves get the same tint as the current season, I'm working on that! ;)</span> I worked on that ^^
  2. <span style="text-decoration: underline;">Regarding sticks - </span>Vanilla sets a chance for the branchy leaves to drop sticks when chopping down a tree, not realistic with the whole tree falling down. <span style="text-decoration: underline;">Falling trees skips this</span>. If set to drop it will on floor impact call the vanilla drop of everything in that tree, this means every branchy leaves in a tree will produce a stick. If set to place, it will fall and place the leaves and branchy leaves that you'll have to harvest manually. Both are more realistic than vanilla so I do not intend to change this behavior.

&nbsp;

RoadMap:

&nbsp;

<span style="text-decoration: line-through;">Add a config to make log blocks placed when falling to the ground instead of dropping. (I'd need to remove axe durability mult for tree chop)
Make leaves fall with the trees.
Domino effect: If a falling log touches a tree log it triggers that tree to fall. (considering, performance impact needs to be taken in consideration)</span>
<span style="text-decoration: line-through;">Falling logs hurt entities.</span>
<span style="text-decoration: line-through;">The tree falls to random directions</span>.

&nbsp;

check out my other mods here:image

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.