Jump to content

Treeguards, Where Are You??


DwerBomb

Recommended Posts

You're doing nothing wrong, it's just bad luck plus low percentage for them appearing (I think is 1% something).

 

I'm in day 220 and only got two treeguards, besides the fact that I too chopped a lot of trees...

Thanks. I am tired of chopping down trees, however. They should add another way to summon them.

Thanks. I am tired of chopping down trees, however. They should add another way to summon them.

 

Agreed! Once on one of my maps I got the event where lots of treeguards were just walking, not offensive against you (unless you attacked them of course). Was very good!!! But now I just have the boring tallbirds one... 

Wow, I consider you lucky!  I get Treeguards so often I set them up to come less often when I make a new world.  Even then, they still pop up a lot and I *don't* chop excessive amounts of trees.  Thank goodness they walk slowly ....

there seems to be a "appear at the worst time" mechanic, one of the devs commented on this point. They will turn up, eventually normally when you don't want them to

 

seems like my statement held true :^P

I found them! And killed them. And you know when?? When I said: "I won't find any treeguard, better put my log suit in the camp". Fortunatelly I killed all of them.

You're doing nothing wrong, it's just bad luck plus low percentage for them appearing (I think is 1% something).

 

I'm in day 220 and only got two treeguards, besides the fact that I too chopped a lot of trees...

I got a treeguard on day 2 on my current world. UNluckily I had to beat it with my fists. I was really wuite impressed with myself for taking no damage and killing it only with my fists and no armour :D

they have a 1% chance after you get your first log suit and spear, but the first few days have a massive chance of one spawning, especially when you are desperately trying to get logs for a fire as night is falling.

 

This is false. There is nothing to suggest that a log suit and spear have any influence on Treeguard spawn rates, and unless you customized the world and set Treeguards to "Always" you are guaranteed to NOT get one in the first 5 days.

 

If you're trying to spread bogus playing tips as a joke, there's a whole thread for that.

=Smidge=

↑As you said, it has nothing to do with spears, log suits, or "worst times."

 

The real rules are: By default there is a 1 in 75 chance of a treeguards trying to spawn every time a tree is chopped down after, by default, the 3rd day, if there is no tree around when a treeguard tries to spawn nothing happens, but the number of trees around does not make it more likely.

After 30 days up to 2 can spawn at once and after 80 days up to 3 can spawn at once.

There is nothing more to it then that unless world gen modifiers or Mods are used.

If you are curious, the code that causes treeguards to spawn is in <Don't Starve folder>\data\scripts\prefabs\evergreens.lua

In the function chop_down_tree which executes when a tree is chopped down, specifically these lines

local days_survived = GetClock().numcyclesif days_survived >= TUNING.LEIF_MIN_DAY then    if math.random() <= TUNING.LEIF_PERCENT_CHANCE then

TUNING.LEIF_MIN_DAY = 3 unless you use a world gen modifier. So if it is after the 3rd day the next line is run.

math.random() equals a number between 0 and 1 and TUNING.LEIF_PERCENT_CHANCE = 1/75 (Hence the 1 in 75 chance or 0.01333 repeating if you want to be exact)

So if math.random() comes up 0.135119 then that is NOT less then or equal to 0.01333 so nothing happens, but when math.random() is less then or equal to 0.01333 the number of days is check to see how many can be spawned then for each treeguard that can be spawned if there are trees near by one is picked and all sorts stats for the treeguard are decided based on the property of the tree and the tree is replaced with a treeguard.

For myself I made a simple tuning mod that changes TUNING.LEIF_PERCENT_CHANCE = 1/50 or 0.02 so they are slightly more likely to spawn, but if you think you are hard enough set it to equal 1, Mwahaha.

I hope this helped people understand, and it was not too boring.

↑As you said, it has nothing to do with spears, log suits, or "worst times."

 

The real rules are: By default there is a 1 in 75 chance of a treeguards trying to spawn every time a tree is chopped down after, by default, the 3rd day, if there is no tree around when a treeguard tries to spawn nothing happens, but the number of trees around does not make it more likely.

After 30 days up to 2 can spawn at once and after 80 days up to 3 can spawn at once.

There is nothing more to it then that unless world gen modifiers or Mods are used.

If you are curious, the code that causes treeguards to spawn is in <Don't Starve folder>\data\scripts\prefabs\evergreens.lua

In the function chop_down_tree which executes when a tree is chopped down, specifically these lines

local days_survived = GetClock().numcyclesif days_survived >= TUNING.LEIF_MIN_DAY then    if math.random() <= TUNING.LEIF_PERCENT_CHANCE then

TUNING.LEIF_MIN_DAY = 3 unless you use a world gen modifier. So if it is after the 3rd day the next line is run.

math.random() equals a number between 0 and 1 and TUNING.LEIF_PERCENT_CHANCE = 1/75 (Hence the 1 in 75 chance or 0.01333 repeating if you want to be exact)

So if math.random() comes up 0.135119 then that is NOT less then or equal to 0.01333 so nothing happens, but when math.random() is less then or equal to 0.01333 the number of days is check to see how many can be spawned then for each treeguard that can be spawned if there are trees near by one is picked and all sorts stats for the treeguard are decided based on the property of the tree and the tree is replaced with a treeguard.

For myself I made a simple tuning mod that changes TUNING.LEIF_PERCENT_CHANCE = 1/50 or 0.02 so they are slightly more likely to spawn, but if you think you are hard enough set it to equal 1, Mwahaha.

I hope this helped people understand, and it was not too boring.

 

rubbish, we all know that they spawn when you are most vunerable!.

 

that was a joke.

If anyone thinks there should be an easier way to summon treeguards when you want to, my Magic Horns mod has an item that can cause all the trees on screen to turn to treeguards... angry treeguards.  It does cost 6 living logs in the recipe and needs the shadow manipulator so you have to kill at least two the old fashion way first but it has ten uses so you will always have steady supply of living logs.

 

Or you could try my More Plantables mod which has a feature to plant one living log for one neutral treeguard.

 

Or why not both!

 

(/shamless self promotion)

↑As you said, it has nothing to do with spears, log suits, or "worst times."

 

The real rules are: By default there is a 1 in 75 chance of a treeguards trying to spawn every time a tree is chopped down after, by default, the 3rd day, if there is no tree around when a treeguard tries to spawn nothing happens, but the number of trees around does not make it more likely.

After 30 days up to 2 can spawn at once and after 80 days up to 3 can spawn at once.

There is nothing more to it then that unless world gen modifiers or Mods are used.

If you are curious, the code that causes treeguards to spawn is in <Don't Starve folder>\data\scripts\prefabs\evergreens.lua

In the function chop_down_tree which executes when a tree is chopped down, specifically these lines

local days_survived = GetClock().numcyclesif days_survived >= TUNING.LEIF_MIN_DAY then    if math.random() <= TUNING.LEIF_PERCENT_CHANCE then

TUNING.LEIF_MIN_DAY = 3 unless you use a world gen modifier. So if it is after the 3rd day the next line is run.

math.random() equals a number between 0 and 1 and TUNING.LEIF_PERCENT_CHANCE = 1/75 (Hence the 1 in 75 chance or 0.01333 repeating if you want to be exact)

So if math.random() comes up 0.135119 then that is NOT less then or equal to 0.01333 so nothing happens, but when math.random() is less then or equal to 0.01333 the number of days is check to see how many can be spawned then for each treeguard that can be spawned if there are trees near by one is picked and all sorts stats for the treeguard are decided based on the property of the tree and the tree is replaced with a treeguard.

For myself I made a simple tuning mod that changes TUNING.LEIF_PERCENT_CHANCE = 1/50 or 0.02 so they are slightly more likely to spawn, but if you think you are hard enough set it to equal 1, Mwahaha.

I hope this helped people understand, and it was not too boring.

 

 

...

 

 

He was jocking...

They should add another way to summon them.

If you're looking for living logs (which i assume you are) there's a mod called frankenlogs that makes it where if you put logs next to a lighting rod, when they strike it they turn into living logs, extremely helpful do to NEVER being able to find treeguards :(

Whoa whoa whoa, was there a recent hotfix? I was having a terrible time spawning these guys and chopped down 160 trees yesterday with pigs to only find two small treeguards.

 

 

I only cut down around 80 and the treeguards are spawning all over the place now.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...