perlin noise adjustments on wst, working better but needs more work
This commit is contained in:
parent
f391ac9fa9
commit
719981ed31
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
**FRACTURED 0.04 **<p>
|
**FRACTURED 0.05 **<p>
|
||||||
[![alt text](http://a.pomf.se/dnhqdj.png "image")](http://a.pomf.se/dnhqdj.png)
|
[![alt text](http://a.pomf.se/dnhqdj.png "image")](http://a.pomf.se/dnhqdj.png)
|
||||||
|
|
||||||
It was with the best of intentions that the great wizard created the world stone. He drained power from the very heart of the earth to make it, and poured much of his own essence into it as well. And the result was a creation of magic so powerful, and so intimately connected to the world, that it could alter the structure of reality itself.
|
It was with the best of intentions that the great wizard created the world stone. He drained power from the very heart of the earth to make it, and poured much of his own essence into it as well. And the result was a creation of magic so powerful, and so intimately connected to the world, that it could alter the structure of reality itself.
|
||||||
@ -107,6 +107,7 @@ and dry dirt from Ethereal (GNU GENERAL PUBLIC LICENSE)
|
|||||||
- - - - - - - - - - - - - - - - - - - - - - - - - - -
|
- - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
**Change Log**<p>
|
**Change Log**<p>
|
||||||
|
0.05 world stone tower in progress, needs much work and perlin noise adjustment<p>
|
||||||
0.04 fracturerift optimization and leak fix by HeroOfTheWinds and<p>
|
0.04 fracturerift optimization and leak fix by HeroOfTheWinds and<p>
|
||||||
thining algorithm choice in orethinning with new exponential algorithm by HeroOfTheWinds<p>
|
thining algorithm choice in orethinning with new exponential algorithm by HeroOfTheWinds<p>
|
||||||
0.03 set static_spawn from within newspawn, suggested and demonstrated by jojoa1997<p>
|
0.03 set static_spawn from within newspawn, suggested and demonstrated by jojoa1997<p>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[b]FRACTURED 0.04 [/b]
|
[b]FRACTURED 0.05 [/b]
|
||||||
|
|
||||||
[url=http://a.pomf.se/dnhqdj.png][img]http://a.pomf.se/dnhqdj.png[/img][/url]
|
[url=http://a.pomf.se/dnhqdj.png][img]http://a.pomf.se/dnhqdj.png[/img][/url]
|
||||||
|
|
||||||
@ -106,6 +106,7 @@ and dry dirt from Ethereal (GNU GENERAL PUBLIC LICENSE)
|
|||||||
- - - - - - - - - - - - - - - - - - - - - - - - - - -
|
- - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
[b]Change Log[/b]
|
[b]Change Log[/b]
|
||||||
|
0.05 world stone tower in progress, needs much work and perlin noise adjustment
|
||||||
0.04 fracturerift optimization and leak fix by HeroOfTheWinds and
|
0.04 fracturerift optimization and leak fix by HeroOfTheWinds and
|
||||||
thining algorithm choice in orethinning with new exponential algorithm by HeroOfTheWinds
|
thining algorithm choice in orethinning with new exponential algorithm by HeroOfTheWinds
|
||||||
0.03 set static_spawn from within newspawn, suggested and demonstrated by jojoa1997
|
0.03 set static_spawn from within newspawn, suggested and demonstrated by jojoa1997
|
||||||
|
@ -40,12 +40,14 @@ local c_air = minetest.get_content_id("air")
|
|||||||
local np_dmg = {
|
local np_dmg = {
|
||||||
offset = 0,
|
offset = 0,
|
||||||
scale = 1,
|
scale = 1,
|
||||||
spread = {x=192, y=512, z=512}, -- squashed 2:1
|
--spread = {x=192, y=512, z=512}, -- squashed 2:1
|
||||||
--spread = {x=200, y=80, z=80},
|
--spread = {x=200, y=80, z=80},
|
||||||
|
spread = {x=80, y=40, z=40},
|
||||||
seed = 133742, --a LEET answer to life, the universe, and everything
|
seed = 133742, --a LEET answer to life, the universe, and everything
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
persist = 0.67
|
persist = 0.67
|
||||||
}
|
}
|
||||||
|
local wst_dmg_lvl=0.4
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -109,20 +111,20 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||||||
--local vi = area:index(x, y, z) -- This accesses the node at a given position
|
--local vi = area:index(x, y, z) -- This accesses the node at a given position
|
||||||
if yzdist==radius then
|
if yzdist==radius then
|
||||||
--if nvals_dmg[nixyz] and nvals_dmg[nixyz] > 0.8 then
|
--if nvals_dmg[nixyz] and nvals_dmg[nixyz] > 0.8 then
|
||||||
if nvals_dmg[nixyz] > 0.6 then
|
if math.abs(nvals_dmg[nixyz]) > wst_dmg_lvl then
|
||||||
data[vi] = c_air
|
data[vi] = c_air
|
||||||
print(" w> vi="..vi.." nvals_dmg["..nixyz.."]="..nvals_dmg[nixyz])
|
--print(" w> vi="..vi.." nvals_dmg["..nixyz.."]="..nvals_dmg[nixyz])
|
||||||
else
|
else
|
||||||
print(" w< vi="..vi.." nvals_dmg["..nixyz.."]="..nvals_dmg[nixyz])
|
--print(" w< vi="..vi.." nvals_dmg["..nixyz.."]="..nvals_dmg[nixyz])
|
||||||
data[vi]=wst_material_wall
|
data[vi]=wst_material_wall
|
||||||
end
|
end
|
||||||
elseif yzdist<radius then
|
elseif yzdist<radius then
|
||||||
if (xdist/wst_floorheight)== math.floor(xdist/wst_floorheight) then
|
if (xdist/wst_floorheight)== math.floor(xdist/wst_floorheight) then
|
||||||
if nvals_dmg[nixyz] > 0.6 then
|
if math.abs(nvals_dmg[nixyz]) > 0.3 then
|
||||||
print(" f> vi="..vi.." nvals_dmg["..nixyz.."]="..nvals_dmg[nixyz])
|
--print(" f> vi="..vi.." nvals_dmg["..nixyz.."]="..nvals_dmg[nixyz])
|
||||||
data[vi] = c_air
|
data[vi] = c_air
|
||||||
else
|
else
|
||||||
print(" f< vi="..vi.." nvals_dmg["..nixyz.."]="..nvals_dmg[nixyz])
|
--print(" f< vi="..vi.." nvals_dmg["..nixyz.."]="..nvals_dmg[nixyz])
|
||||||
data[vi]=wst_material_floor
|
data[vi]=wst_material_floor
|
||||||
end
|
end
|
||||||
end -- if (xdist/wst_floorheight)
|
end -- if (xdist/wst_floorheight)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user