questions about singlenode mapgen

User avatar
RHR
Member
 
Posts: 214
Joined: Mon Jan 27, 2014 20:07
GitHub: RHRhino

questions about singlenode mapgen

by RHR » Sun Feb 01, 2015 16:49

1) How long are nodes like sand or dropped items falling in singlenode mapgen? Infinite or are they removed after a certain time?
2) How far does flowing water/lava fall? Infinite?
3) Is there a diffence between air nodes and other nodes if they get saved?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: questions about singlenode mapgen

by Krock » Sun Feb 01, 2015 16:56

RHR wrote:1) How long are nodes like sand or dropped items falling in singlenode mapgen? Infinite or are they removed after a certain time?
2) How far does flowing water/lava fall? Infinite?
3) Is there a diffence between air nodes and other nodes if they get saved?

1) https://github.com/minetest/minetest/bl ... ty.lua#L16
2) Until it reaches the ground; maximal 64k nodes
3) air is saved - ignore isn't
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
RHR
Member
 
Posts: 214
Joined: Mon Jan 27, 2014 20:07
GitHub: RHRhino

Re: questions about singlenode mapgen

by RHR » Sun Feb 01, 2015 16:58

thx that was fast :D
@3) what is the difference of air and ignore?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: questions about singlenode mapgen

by Krock » Sun Feb 01, 2015 17:00

RHR wrote:thx that was fast :D
@3) what is the difference of air and ignore?

@3) you can walk through air and replace it with another node. ignore is solid and used to stop you walking into not loaded areas
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
RHR
Member
 
Posts: 214
Joined: Mon Jan 27, 2014 20:07
GitHub: RHRhino

Re: questions about singlenode mapgen

by RHR » Sun Feb 01, 2015 17:02

Ok! Thank you very much! :)
 

User avatar
TG-MyinaWD
Member
 
Posts: 355
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .

Re: questions about singlenode mapgen

by TG-MyinaWD » Thu Feb 05, 2015 05:21

I have questions about singlenode myself.

Why do nyan cats spawn for? Isn't it supposed be nothing? and why some areas are darker then others?

That all I got really.
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: questions about singlenode mapgen

by Wuzzy » Thu Feb 05, 2015 05:48

Nyan Cats are spawned by the mod “default” of minetest_game, not by the map generator itself.

I cannot answer the other question. Maybe because of a bug? lol
 

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

Re: questions about singlenode mapgen

by paramat » Thu Feb 05, 2015 08:54

Cats are spawned because they're cool, and transcend all dimensions.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: questions about singlenode mapgen

by Hybrid Dog » Sat Feb 07, 2015 20:23

And it's not possible to trace the meows of the mapgen by overriding default.make_nyancat. l tried it and still don't know the reason.
 

User avatar
RHR
Member
 
Posts: 214
Joined: Mon Jan 27, 2014 20:07
GitHub: RHRhino

Re: questions about singlenode mapgen

by RHR » Thu Feb 19, 2015 12:53

Another question:
Is is possible to force the mapgen/game not to replace ignore nodes with air? In other words: Is it possible to force a area to keep unloaded like the sky above the cloud layer?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: questions about singlenode mapgen

by Krock » Thu Feb 19, 2015 16:57

Once an area is generated, it doesn't matter how it's filled.
The sky above cloud layer is loaded like any other block.
You can use a new function to delete a specific mapblock
https://github.com/minetest/minetest/bl ... s.lua#L406
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: questions about singlenode mapgen

by Wuzzy » Thu Feb 19, 2015 17:43

Krock wrote:
RHR wrote:1) How long are nodes like sand or dropped items falling in singlenode mapgen? Infinite or are they removed after a certain time?

1) https://github.com/minetest/minetest/bl ... ty.lua#L16

Doesn't item_entity_ttl only limit the time for item entities only? So I guess this does not apply to falling nodes, because they are not item entities. Right?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: questions about singlenode mapgen

by Krock » Thu Feb 19, 2015 17:52

Wuzzy wrote:Doesn't item_entity_ttl only limit the time for item entities only? So I guess this does not apply to falling nodes, because they are not item entities. Right?

I thought he meant dropped stacks which fall down.
It would require an addition of 4 - 8 lines of code to add a maximal age for falling nodes.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 25 guests

cron