[Mod] More Trees! [git][moretrees]

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Thu Jan 17, 2013 00:17

jojoa1997 wrote:Here are my ideas for spawning trees and some new trees

oaks-on plains a couple per 100 blocks

sequoias-near water but height spawn=20-40

palm-obvious

jungle-same

conifer-same

pine-above 30

birch-above 40

avatar-anywhere, like the giant tree from avatar, one per world, 100 blocks tall*30 blocks wide

underground trees-trees that spawn in caves(really really rare)


Why would birch trees be so high up?
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Thu Jan 17, 2013 00:20

birch is in cold
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Thu Jan 17, 2013 01:09

Since moretrees uses plantlife for its biome controls, then if birch trees require colder temperatures, they should rely on the temperature map in plantlife, rather than just elevation. The temperature map is derived from SPlizard's snow mod, btw.

Trees should use the elevation, temperature, and the general "likely to grow plants here" controls, and nearness to water or sand (or both, e.g. beaches) should also be considered. All of these can be combined to produce unique biomes.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Thu Jan 17, 2013 02:04

VanessaE wrote:Well then it's their fault if they're too lazy to also search for "depend". I am not gonna dumb-down my work just for some lazy schmuck who doesn't care to learn a little. :-)


Thank you. Those of us that DO actually read topics before installing something we would otherwise know nothing about appreciate you not dumbing it down.

VanessaE wrote:Since moretrees uses plantlife for its biome controls, then if birch trees require colder temperatures, they should rely on the temperature map in plantlife, rather than just elevation. The temperature map is derived from SPlizard's snow mod, btw.

Trees should use the elevation, temperature, and the general "likely to grow plants here" controls, and nearness to water or sand (or both, e.g. beaches) should also be considered. All of these can be combined to produce unique biomes.


That all sounds great, but it leaves me with a question.

How is temperature defined in Minetest?
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Thu Jan 17, 2013 02:22

In the snow mod, it's Perlin noise-based. Since snow needs freezing ground in order to stick, I figured the edge of a snow biome is 0°C.

I started with those values in plantlife and then from there, I normalized the coldest temperature to be -25°C (about -13°F) and extended the range the other way as well. This is the resulting range I came up with:

https://github.com/VanessaE/plantlife/blob/master/API.txt#L509

(See other, earlier parts of the file for the main API info)

So I figure, if you set the temperature limits for a given plant to be some pair of values in the above perlin scale, you're basically saying "this plant needs a temperature of X to grow", in addition to the other controls.

The plantlife mod simply checks these various controls before spawning something, in effect creating active biomes.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Thu Jan 17, 2013 17:15

How is progress on this mod as of late? It is sad that this mod doesn't get as much attention as it deserves.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Thu Jan 17, 2013 18:25

Actually I've been working on it periodically. RBA and I are working together intermittently to put together a full suite of trees. There will be a new update soon that adds the rest. With a little luck, it'll be in a few days.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Thu Jan 17, 2013 20:42

I think that you should be able to change temps slightly with torches or fires (not the default one but more like a camp fire) so that we could have tree farms in the mountains.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12

by Spots » Thu Jan 17, 2013 21:24

think you are talking about smudge pot ( http://en.wikipedia.org/wiki/Smudge_pot ) that might be handy for farming mod also maybe use it to warm and area slightly and speed up the growth rate a tad
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Thu Jan 17, 2013 21:38

Torches affecting local temperature sounds like a good idea, but I'll have to give some thought as to how to make that work. Patches welcome. :D
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

queensbury
 

by queensbury » Fri Jan 18, 2013 17:02

Image

Every time it tries to spawn a sapling I get this error message. What does it mean?
 

Final
 

by Final » Sat Jan 19, 2013 01:35

queensbury wrote:Every time it tries to spawn a sapling I get this error message. What does it mean?


Getting the very same thing.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
02:31:52: ERROR[main]: ServerError: LuaError: error: ...-0.4.4-win32\bin\..\mods
\minetest\moretrees\init.lua:235: attempt to call method 'spawn_tree' (a nil val
ue)
02:31:52: ERROR[main]: stack traceback:

Installed mods:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
3dforniture\
farming\
farming_plus\
gems\
moreores\
moretrees\
plantlife\
sethome\
throwing\
vines\
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09

by RAPHAEL » Sat Jan 19, 2013 03:58

VanessaE wrote:"half an hour" is why you never saw any trees. They grow very slowly - it takes an hour or more before you start seeing them, and they only appear in certain areas.


I have had the mod installed and running now for 6 hours and although there is a ton of saplings, none have grown into trees that I can see of. How long does it take for these new trees to grow?
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sat Jan 19, 2013 04:05

Final wrote:
queensbury wrote:Every time it tries to spawn a sapling I get this error message. What does it mean?


Getting the very same thing.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
02:31:52: ERROR[main]: ServerError: LuaError: error: ...-0.4.4-win32\bin\..\mods
\minetest\moretrees\init.lua:235: attempt to call method 'spawn_tree' (a nil val
ue)
02:31:52: ERROR[main]: stack traceback:

Installed mods:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
3dforniture\
farming\
farming_plus\
gems\
moreores\
moretrees\
plantlife\
sethome\
throwing\
vines\

You need to use the latest version from git.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Sat Jan 19, 2013 10:08

Inocudom wrote:How is progress on this mod as of late? It is sad that this mod doesn't get as much attention as it deserves.


Yes, moretrees is awesome, but it makes sense that it isn't getting much attention. I doesn't run on stable Minetest, after all. I imagine many of the developer types are using the unstable version, but I think most people are using stable Minetest. When stable Minetest catches up though, I'm sure this will be well worth the wait.
 

queensbury
New member
 
Posts: 9
Joined: Sat Jan 19, 2013 12:21

by queensbury » Sat Jan 19, 2013 12:23

kaeza wrote:
Final wrote:
queensbury wrote:Every time it tries to spawn a sapling I get this error message. What does it mean?


Getting the very same thing.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
02:31:52: ERROR[main]: ServerError: LuaError: error: ...-0.4.4-win32\bin\..\mods
\minetest\moretrees\init.lua:235: attempt to call method 'spawn_tree' (a nil val
ue)
02:31:52: ERROR[main]: stack traceback:

Installed mods:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
3dforniture\
farming\
farming_plus\
gems\
moreores\
moretrees\
plantlife\
sethome\
throwing\
vines\

You need to use the latest version from git.


How come it still does it then when I have downloaded the latest one then?
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Sat Jan 19, 2013 15:05

queensbury wrote:How come it still does it then when I have downloaded the latest one then?


Did you also download the latest plantlife on which moretrees depends?

RAPHAEL wrote:
VanessaE wrote:"half an hour" is why you never saw any trees. They grow very slowly - it takes an hour or more before you start seeing them, and they only appear in certain areas.


I have had the mod installed and running now for 6 hours and although there is a ton of saplings, none have grown into trees that I can see of. How long does it take for these new trees to grow?


It took me 2 1/2 minetest days to get 2 jungletrees. Maybe you can change some values to make them grow faster.

Is there a way to 'hide' the sapplings? I think it's in the jungletree code, because when I installed that mod, I saw all those sapplings for the first time.
 

Final
 

by Final » Sat Jan 19, 2013 18:18

Topywo wrote:
queensbury wrote:How come it still does it then when I have downloaded the latest one then?


Did you also download the latest plantlife on which moretrees depends?


I did; both latest plantlife and moretrees directly from GitHub. Still getting that error. Could it have to do with me using Windows…? :v
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Sat Jan 19, 2013 19:01

Final wrote:I did; both latest plantlife and moretrees directly from GitHub. Still getting that error. Could it have to do with me using Windows…? :v


Idk, I don't use windows for minetest. Do you use the latest 0.4.4 version?
http://forum.minetest.net/viewtopic.php?pid=64743#p64743
or
http://forum.minetest.net/viewtopic.php?pid=59985#p59985
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sat Jan 19, 2013 19:34

2013-01-19: Big update! All trees are generated at map-generation time. If you plant a sapling, it will grow eventually into a tree via an ABM. You MUST update your copy of plantlife to match.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

Final
 

by Final » Sat Jan 19, 2013 19:49

Topywo wrote:
Final wrote:I did; both latest plantlife and moretrees directly from GitHub. Still getting that error. Could it have to do with me using Windows…? :v


Idk, I don't use windows for minetest. Do you use the latest 0.4.4 version?
http://forum.minetest.net/viewtopic.php?pid=64743#p64743
or
http://forum.minetest.net/viewtopic.php?pid=59985#p59985


That seems to have fixed it, or rather, it hasn’t crashed yet using xyz’s build – Sfan5’s crashed upon startup, possibly because the server is a separate entity.
Thanks for all the help and continued work on these mods! :)
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09

by RAPHAEL » Sat Jan 19, 2013 20:16

I will be installing the update but it has seriously been about 21 hours since install of this mod and still just saplings everywhere and no new trees :( I thought for sure by now it would have sprouted at least a few new trees.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Mon Jan 21, 2013 04:12

2013-01-20: Merged in my even_more_trees branch. This mod now produces about a dozen types of trees, all biome-restricted.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Chinchow
Member
 
Posts: 683
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Mon Jan 21, 2013 08:44

Wait are the branches round? Please let them be square. Is it possible to code in my own trees just for myself? Good work I love tree variations. Are they all made with normal tree? Could there be hollow trees for living in?
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Mon Jan 21, 2013 09:15

VanessaE wrote:If you plant a sapling, it will grow eventually into a tree via an ABM, but only if planted on the same surface that the tree would normally generate on (e.g. sand for palms, dirt with grass for the others, for now).


That "feature" is one of the annoying things about saplings in Minecraft. Just saying.

Other than that, this keeps getting better! Keep up the great work!
 

queensbury
New member
 
Posts: 9
Joined: Sat Jan 19, 2013 12:21

by queensbury » Mon Jan 21, 2013 10:06

Whenever I start up the game I get this error:

Image

I have downloaded and installed all the latest versions of minetest, plantlife and moretrees from the first posts of your topics and from the minetest website. It still doesn't work.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Mon Jan 21, 2013 10:15

queensbury wrote:Whenever I start up the game I get this error:

Image

I have downloaded and installed all the latest versions of minetest, plantlife and moretrees from the first posts of your topics and from the minetest website. It still doesn't work.

You need to compile latest development version or use one of sfan5's or xyz's Minetest builds for Windows.
EDIT: It seems your 'Latest' is not latest enough :)
Last edited by kaeza on Mon Jan 21, 2013 10:16, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
Chinchow
Member
 
Posts: 683
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Mon Jan 21, 2013 10:20

B-but are the other builds stable and do they have everything the current 4.4 has
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Mon Jan 21, 2013 10:27

Chinchow wrote:B-but are the other builds stable and do they have everything the current 4.4 has

Development versions are to be considered pretty stable, but not thoroughly tested yet. If you go only for "stable" versions you will miss a lot of fun stuff :)
Last edited by kaeza on Mon Jan 21, 2013 10:28, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Mon Jan 21, 2013 12:33

Chinchow wrote:B-but are the other builds stable and do they have everything the current 4.4 has

use xyz's build cause that is purely github. as in it is just the github version and nothing else is added.
Last edited by jojoa1997 on Mon Jan 21, 2013 13:30, edited 1 time in total.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 22 guests

cron