Just wondering if someone could give me a little info about absheight. I tried googling it but couldn't find a good explaination.
I am working on a mapgen and wondering what the flag does.
absheight
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: absheight
Do you mean the 'absvalue' noise flag?
Re: absheight
In the default mod mapgen.lua there is a line
flags = absheight,
flags = absheight,
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
- srifqi
- Member
- Posts: 570
- Joined: Sat Jun 28, 2014 04:31
- GitHub: srifqi
- IRC: srifqi
- In-game: srifqi
- Location: Indonesia
Re: absheight
Do you mean, at minetest.register_ore() ?
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: absheight
https://github.com/minetest/minetest/bl ... i.txt#L730
Line 730. Something i didn't know about, so i learned something =)
Line 730. Something i didn't know about, so i learned something =)
Re: absheight
I read that but but it doesn't explain what it is. Does it mean that the ore can be above y=0?paramat wrote:https://github.com/minetest/minetest/bl ... i.txt#L730
Line 730. Something i didn't know about, so i learned something =)
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
- Calinou
- Moderator
- Posts: 3169
- Joined: Mon Aug 01, 2011 14:26
- GitHub: Calinou
- IRC: Calinou
- In-game: Calinou
- Location: Troyes, France
- Contact:
Re: absheight
Example: you register an ore which spawns from Y = -256 to Y = -240 with flag "absheight". It will also generate from Y = 240 to Y = 256, which is the absolute value.
Re: absheight
OK. Thank you. Now I get it.Calinou wrote:Example: you register an ore which spawns from Y = -256 to Y = -240 with flag "absheight". It will also generate from Y = 240 to Y = 256, which is the absolute value.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
Who is online
Users browsing this forum: No registered users and 16 guests