[Mod] TreeCapitator [treecapitator]

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

mintpick wrote:
Hybrid Dog wrote:thanks, I added it but disabled it by default because the sound was also played if a single trunk block was dug
I moved "sound_play" call to "if tree_found then" section. It is fixed sound playing when individual nodes of wood is mined, but when there is at least one another wood node above one mined it still fires the sound.
EDIT:
Ok, finally fixed it by moving "sound_play" call to "if leaf_found then" section.
l added it manually because yesterday I made some changes to the mod.
https://github.com/HybridDog/treecapita ... f50d24845b

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
fireglow
Member
Posts: 93
Joined: Fri Mar 28, 2014 11:36
IRC: fireglow
In-game: fireglow
Location: Germany

Re: [Mod] TreeCapitator [treecapitator]

by fireglow » Post

Hi, nice mod, I like it.
I have a suggestion for improvement:
Could you make it so that node breakers from the mesecon mod also trigger the whole tree to be destroyed?
That would make the mod suitable for automated tree farms.

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

fireglow wrote:Hi, nice mod, I like it.
thanks
I have a suggestion for improvement:
Could you make it so that node breakers from the mesecon mod
the node breakers are from pipeworks I think
also trigger the whole tree to be destroyed?
That would make the mod suitable for automated tree farms.
it already works, I just tested it, but thanks for the idea

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
fireglow
Member
Posts: 93
Joined: Fri Mar 28, 2014 11:36
IRC: fireglow
In-game: fireglow
Location: Germany

Re: [Mod] TreeCapitator [treecapitator]

by fireglow » Post

Hybrid Dog wrote: it already works, I just tested it, but thanks for the idea
It didn't in my earlier tests, I'll try again...

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

fireglow wrote:
Hybrid Dog wrote: it already works, I just tested it, but thanks for the idea
It didn't in my earlier tests, I'll try again...
maybe you need the newest version of pipeworks

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
fireglow
Member
Posts: 93
Joined: Fri Mar 28, 2014 11:36
IRC: fireglow
In-game: fireglow
Location: Germany

Re: [Mod] TreeCapitator [treecapitator]

by fireglow » Post

Hybrid Dog wrote:
fireglow wrote:
Hybrid Dog wrote: it already works, I just tested it, but thanks for the idea
It didn't in my earlier tests, I'll try again...
maybe you need the newest version of pipeworks
It's all on latest git

User avatar
fireglow
Member
Posts: 93
Joined: Fri Mar 28, 2014 11:36
IRC: fireglow
In-game: fireglow
Location: Germany

Re: [Mod] TreeCapitator [treecapitator]

by fireglow » Post

Okay, more testing done.
It doesn't seem to work on default:pinetree,
and the default:tree nodes that grow from farming_plus:cocoa_sapling and farming_plus:banana_sapling

Edit:
If you plan on supporting farming_plus, the mod should probably also collect farming_plus:cocoa and farming_plus:banana

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

fireglow wrote:Okay, more testing done.
It doesn't seem to work on default:pinetree,
and the default:tree nodes that grow from farming_plus:cocoa_sapling and farming_plus:banana_sapling

Edit:
If you plan on supporting farming_plus, the mod should probably also collect farming_plus:cocoa and farming_plus:banana
I need to add more trees, it's on the todo list https://github.com/HybridDog/treecapitator
Pinetrees are added by the snow mod, aren't they?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
12Me21
Member
Posts: 873
Joined: Tue Mar 05, 2013 00:36
GitHub: 12Me21
Location: (Ignore all of my posts before 2018)

Re: [Mod] TreeCapitator [treecapitator]

by 12Me21 » Post

Hybrid Dog wrote:
fireglow wrote:Okay, more testing done.
It doesn't seem to work on default:pinetree,
and the default:tree nodes that grow from farming_plus:cocoa_sapling and farming_plus:banana_sapling

Edit:
If you plan on supporting farming_plus, the mod should probably also collect farming_plus:cocoa and farming_plus:banana
I need to add more trees, it's on the todo list https://github.com/HybridDog/treecapitator
Pinetrees are added by the snow mod, aren't they?
Nope, they're somehow default now!

(I swear, when I downloaded the new version, It didn't have pinetrees, but now it does somehow??)

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

12Me21 wrote:
Hybrid Dog wrote:
fireglow wrote:Okay, more testing done.
It doesn't seem to work on default:pinetree,
and the default:tree nodes that grow from farming_plus:cocoa_sapling and farming_plus:banana_sapling

Edit:
If you plan on supporting farming_plus, the mod should probably also collect farming_plus:cocoa and farming_plus:banana
I need to add more trees, it's on the todo list https://github.com/HybridDog/treecapitator
Pinetrees are added by the snow mod, aren't they?
Nope, they're somehow default now!

(I swear, when I downloaded the new version, It didn't have pinetrees, but now it does somehow??)
The nodes are in default, is the tree spawning function there, too?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
fireglow
Member
Posts: 93
Joined: Fri Mar 28, 2014 11:36
IRC: fireglow
In-game: fireglow
Location: Germany

Re: [Mod] TreeCapitator [treecapitator]

by fireglow » Post


User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

fireglow wrote:That's in trees.lua:223
https://github.com/minetest/minetest_ga ... s.lua#L223
ok, thanks

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

l added the two trees from farming_plus.

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
fireglow
Member
Posts: 93
Joined: Fri Mar 28, 2014 11:36
IRC: fireglow
In-game: fireglow
Location: Germany

Re: [Mod] TreeCapitator [treecapitator]

by fireglow » Post

Niice, you even added pinetrees, very cool. Thank you! :-)

amadin
Member
Posts: 549
Joined: Tue Jun 16, 2015 16:23

Re: [Mod] TreeCapitator [treecapitator]

by amadin » Post

Deleted - i already found answer for my question.
It will be good if you add trees for "Ethereal" mod.

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

if someone tells the maximum size of trees and their amount of tree nodes, leaves, etc. l could add them l think

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

amadin
Member
Posts: 549
Joined: Tue Jun 16, 2015 16:23

Re: [Mod] TreeCapitator [treecapitator]

by amadin » Post

How to set timeout before fade the tree trunk?

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

amadin wrote:How to set timeout before fade the tree trunk?
do you mean destroying the tree after a specific delay after digging a trunk node?

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

amadin
Member
Posts: 549
Joined: Tue Jun 16, 2015 16:23

Re: [Mod] TreeCapitator [treecapitator]

by amadin » Post

Hybrid Dog wrote:
amadin wrote:How to set timeout before fade the tree trunk?
do you mean destroying the tree after a specific delay after digging a trunk node?
Yes.

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

amadin wrote:
Hybrid Dog wrote:
amadin wrote:How to set timeout before fade the tree trunk?
do you mean destroying the tree after a specific delay after digging a trunk node?
Yes.
l added it to the settings.
https://github.com/HybridDog/treecapita ... it.lua#L11

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
narrnika
Member
Posts: 23
Joined: Tue Jul 07, 2015 06:34
GitHub: narrnika
In-game: narrnika
Location: RUS

Re: [Mod] TreeCapitator [treecapitator]

by narrnika » Post

Hello.
What have I done wrong?
Mods treecapitator, moretrees, plants_lib installed and on.
In treecapitator/init.lua moretrees_support = true.
But trees from moretrees are not destroyed or destroyed not completely.
I was trying to expand the description, for example

Code: Select all

treecapitator.register_tree({
		trees = {"moretrees:acacia_trunk"},
		leaves = {"moretrees:acacia_leaves"},
		range = 10,
		height = 10,
		max_nodes = 122,
		num_trunks_min = 0,
		num_trunks_max = 22,
		num_leaves_min = 0,
		num_leaves_max = 100,
		type = "moretrees",
	})	
instead default

Code: Select all

	treecapitator.register_tree({
		trees = {"moretrees:acacia_trunk"},
		leaves = {"moretrees:acacia_leaves"},
		range = 10,
	})
but it didn't help.
I'm sorry, my english - is google-translate.

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] TreeCapitator [treecapitator]

by Hybrid Dog » Post

narrnika wrote:Hello.
What have I done wrong?
Mods treecapitator, moretrees, plants_lib installed and on.
In treecapitator/init.lua moretrees_support = true.
But trees from moretrees are not destroyed or destroyed not completely.
I was trying to expand the description, for example

Code: Select all

treecapitator.register_tree({
		trees = {"moretrees:acacia_trunk"},
		leaves = {"moretrees:acacia_leaves"},
		range = 10,
		height = 10,
		max_nodes = 122,
		num_trunks_min = 0,
		num_trunks_max = 22,
		num_leaves_min = 0,
		num_leaves_max = 100,
		type = "moretrees",
	})	
instead default

Code: Select all

	treecapitator.register_tree({
		trees = {"moretrees:acacia_trunk"},
		leaves = {"moretrees:acacia_leaves"},
		range = 10,
	})
but it didn't help.
the moretrees support is currently fairly experimental and l don't know myself where l did mistakes
https://github.com/HybridDog/treecapita ... a#L281-331
https://github.com/HybridDog/treecapita ... a#L175-211

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

milkymaidy
Member
Posts: 32
Joined: Sun Jul 12, 2015 06:27
In-game: Dave

Re: [Mod] TreeCapitator [treecapitator]

by milkymaidy » Post

[Hello.
What have I done wrong?
Mods treecapitator, moretrees, plants_lib installed and on.
In treecapitator/init.lua moretrees_support = false
But trees from moretrees are not destroyed or destroyed not completely.
I was trying to expand the description, for example

Code: Select all

treecapitator.register_tree({
		trees = {"moretrees:acacia_trunk"},
		leaves = {"moretrees:acacia_leaves"},
		range = 10,
		height = 10,
		max_nodes = 122,
		num_trunks_min = 0,
		num_trunks_max = 22,
		num_leaves_min = 0,
		num_leaves_max = 100,
		type = "moretrees",
	})	
instead default

Code: Select all

	treecapitator.register_tree({
		trees = {"moretrees:acacia_trunk"},
		leaves = {"moretrees:acacia_leaves"},
		range = 10,
	})
but it didn't help.[/quote]
treecapitator.register_tree({
trees = {"moretrees:acacia_trunk"},
leaves = {"moretres:acacia_leaves"},
range = 10,
height = 10,
max_nodes = 122,
num_trunks_min = 0,
num_trunks_max = 22,
num_leaves_min = 0,
num_leaves_max = 100,
type = "moretrees",
})

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: [closed] TreeCapitator [treecapitator]

by TheReaperKing » Post

It seems this mod has gotten updates not too long ago, I am wondering, why was the link to it removed in the original post? Was something "better" created? Here is the github page if anyone is looking for it:
https://github.com/HybridDog/treecapitator
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

zeonicore
New member
Posts: 2
Joined: Tue Aug 16, 2016 16:33

Re: [closed] TreeCapitator [treecapitator]

by zeonicore » Post

TheReaperKing wrote:It seems this mod has gotten updates not too long ago, I am wondering, why was the link to it removed in the original post? Was something "better" created? Here is the github page if anyone is looking for it:
https://github.com/HybridDog/treecapitator
I'd also like to know. It's still being updated, so why was it removed? Is there a major bug or anything?

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests