Howto let nodes "spread" from spawn_by?

User avatar
Milan*
Member
 
Posts: 203
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant

Howto let nodes "spread" from spawn_by?

by Milan* » Sat Dec 10, 2016 20:34

Hi folks,

i have a "problem" so i hope this is the correct category. :)

I've added a node as decoration with a spawn_by flag since i wanna have it beside forests.
I played with noise_params similar to the mtg mushrooms too but i didn't got rid of the following problem:
The node does only appear beside the spawn_by node but i wanna let is spread a bit to all sides/into the next biome if possible.

If it is possible, i would be very happy to get help here! <3
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Howto let nodes "spread" from spawn_by?

by paramat » Sun Dec 11, 2016 01:13

'spawn by' only works for immediate neighbours within a radius of 1 node. It was designed for, for example, papyrus growing on grass that is within 1 node of water (as in mgv6).
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

Re: Howto let nodes "spread" from spawn_by?

by twoelk » Sun Dec 11, 2016 10:37

seems you need two strategies. one for the initial placing and one for spreading colonies near these first pioneers. The pioneers might only spawn on certain nodes in certain biomes while the colonies might spread into other places just excluding certain nodes or biomes.

but then again,
you're probably doin' that allready
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 34 guests

cron