Volcano Map Generation

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

Volcano Map Generation

by Jonathan » Fri Apr 26, 2013 13:55

I personally would like to see volcanoes added to the map generation, which I think could be accomplished in the following way:

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
# Map generation attributes.  Currently supported: volcanoes, trees, caves, flat, v6_biome_blend, v6_jungles, dungeons
mg_flags = trees, caves, v6_biome_blend, volcanoes


Also, it would be nice to have lava added at the bottom of the volcano in case I or someone else makes a "volcano eruption mod".

Edit:
If volcanoes are added, maybe add a special type of rock "Volcanic Rock" that can be found inside the volcano. Although, I can't think of a good use for it yet.
Last edited by Jonathan on Fri Apr 26, 2013 14:34, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Apr 26, 2013 13:58

Jonathan wrote:which I think could be accomplished in the following way:

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
# Map generation attributes.  Currently supported: volcanoes, trees, caves, flat, v6_biome_blend, v6_jungles, dungeons
mg_flags = trees, caves, v6_biome_blend, volcanoes

So, you think adding it to the conf file is enough? :-p
Last edited by PilzAdam on Fri Apr 26, 2013 13:58, edited 1 time in total.
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Fri Apr 26, 2013 14:05

PilzAdam wrote:
Jonathan wrote:which I think could be accomplished in the following way:

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
# Map generation attributes.  Currently supported: volcanoes, trees, caves, flat, v6_biome_blend, v6_jungles, dungeons
mg_flags = trees, caves, v6_biome_blend, volcanoes

So, you think adding it to the conf file is enough? :-p


No, lol, what I meant was just showing how it would be nice to turn it on/off (so if a person did not want it they could turn it off). It sure would be nice if that is all we had to do :D
Last edited by Jonathan on Fri Apr 26, 2013 14:06, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
12Me21
Member
 
Posts: 826
Joined: Tue Mar 05, 2013 00:36

by 12Me21 » Fri Apr 26, 2013 15:23

Volcanoes would be awesome, and to erupt them there could be an ABM that adds a lava source on top of all the lava inside the volcano and keeps doing it until the lava reaches a certain height above the volcano, and then the lava stops "rising". To make the lava go away after eruptions, it could turn into cooling lava which could be a falling node and then it would fall back into the volcano and turn into lava.
This is a signature virus. Add me to your signature so that I can multiply.
Don't ever save anything as a JPEG.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Fri Apr 26, 2013 15:48

I had this idea a while ago.

Along with earthquakes (smashes glass) and tidal waves (no idea how to do).
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Fri Apr 26, 2013 15:57

Tidal waves would be this HUGE set of water sources that go away on their own.

Provided they flood the map first.
Last edited by Jordach on Fri Apr 26, 2013 15:58, edited 1 time in total.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
12Me21
Member
 
Posts: 826
Joined: Tue Mar 05, 2013 00:36

by 12Me21 » Fri Apr 26, 2013 19:20

earthquakes happening over water could cause tidal waves

EDIT: and earthquakes could happen more right before volcanoes erupt
Last edited by 12Me21 on Fri Apr 26, 2013 19:21, edited 1 time in total.
This is a signature virus. Add me to your signature so that I can multiply.
Don't ever save anything as a JPEG.
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Mon Apr 29, 2013 16:35

Hybrid Dog wrote:What do you think about this volcano?
http://forum.minetest.net/viewtopic.php?pid=83562#p83562


I was not able to get your lava cooling mod to work (which the map depends on) for me for some reason error below:
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
12:20:36: ERROR[main]: ServerError: LuaError: error: ...bugfixes-win32\bin\..\mods\minetest\lavacooling\init.lua:82: bad argument #1 to 'ipairs' (table expected, got nil)


Used minetest 0.4.6 on Windows 7.
Last edited by Jonathan on Mon Apr 29, 2013 16:35, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Mon Apr 29, 2013 18:48

Hybrid Dog wrote:
Jonathan wrote:
Hybrid Dog wrote:What do you think about this volcano?
http://forum.minetest.net/viewtopic.php?pid=83562#p83562


I was not able to get your lava cooling mod to work (which the map depends on) for me for some reason error below:
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
12:20:36: ERROR[main]: ServerError: LuaError: error: ...bugfixes-win32\bin\..\mods\minetest\lavacooling\init.lua:82: bad argument #1 to 'ipairs' (table expected, got nil)


Used minetest 0.4.6 on Windows 7.
Depends: default, xtrafcts
did you install xtrafcts?


No I didn't. That must be my issue.

Hybrid Dog wrote:I edited the lavacooling mod.
It adds basalt, sounds and an obsidianbrick.

Download: lavacooling
Github: https://github.com/HybridDog/lavacooling
Depends: default, xtrafcts


*facepalm* I should have read the depends lol.

Edit:
The map also seems to require this mod and others:
https://github.com/turbogus/steinheim/tree/master/steel
Last edited by Jonathan on Mon Apr 29, 2013 20:46, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Mon Apr 29, 2013 21:07

Hybrid Dog wrote:What do you think about this volcano?
http://forum.minetest.net/viewtopic.php?pid=83562#p83562


I would like to see the map generator create volcanoes that blend in more naturally with the terrain like:
http://www.destination360.com/central-america/costa-rica/arenal-volcano

Only instead it would be made with nodes of course.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Tue Apr 30, 2013 17:34

All, here is my attempt to show how the volcano mod could work. (Note: This does not create volcanoes, it just deals with how to make the lava rise and fall.) Granted, this would probably need tweaked, or changed significantly, but at least it shows a way of doing it, and gives you something to look at.

Download: https://www.dropbox.com/s/68jppippaah8jt4/volcano.zip

First, place regular lava source nodes (Make sure not temporary lava source nodes) like so:
https://www.dropbox.com/s/4mi22z57uooxbvd/VolcanoStart.png

Then type in the command "/erupt". The volcano will start erupting :D (Might take a little while to get going. Also, I have an abm that has a small chance every hour to make lava erupt).
https://www.dropbox.com/s/ndgu07nu6c3w6qk/VolcanoErupt.png
https://www.dropbox.com/s/9nq3f1sdruww7bm/VolcanoErupt2.png

After a while the lava will eventually harden like so:
https://www.dropbox.com/s/ymn9gr6ps8rd9yk/VolcanoHarden.png

A little while after it hardens, the molten lava will disappear, and it will return to its original state. That way it can erupt at a later time again.

It might be possible to have it create stone, and not ever clog the volcano, but I am not sure how to ensure that a clean way. Also, would we want lava to have a chance of replacing stone, dirt or other materials ?
Last edited by Jonathan on Tue Apr 30, 2013 18:48, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Tue Apr 30, 2013 17:35

Hmm nice.
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Tue Apr 30, 2013 18:36

Hybrid Dog wrote:for me it's too small


I agree, but that was just a volcano I manually created to test the mod. The mod causes the lava to rise and go back to its original state.

Edit: Does anyone think that is how the volcano mod should be done? Any suggestions or concerns?
Last edited by Jonathan on Tue Apr 30, 2013 18:38, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

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

by paramat » Fri May 03, 2013 12:42

I'm thinking it would be good to somehow have lava 'rising' (just adding a column of lava nodes up to the surface) from one of those underground lava resevoirs once you dig down far enough to generate one.
Perhaps i'll get some inspiration to work on this ...
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Fri May 03, 2013 18:58

paramat wrote:I'm thinking it would be good to somehow have lava 'rising' (just adding a column of lava nodes up to the surface) from one of those underground lava resevoirs once you dig down far enough to generate one.
Perhaps i'll get some inspiration to work on this ...


So once a lava pool was generated it would have a chance to replace all the squares above it, and reach the surface?

By the way did you get a chance to look at this mod:
http://forum.minetest.net/viewtopic.php?pid=87371#p87371

I made this mod (Although probably not coded the most efficient) to show how you could make a volcano erupt if it was generated in the map (Also, it would make lava pools have a chance to erupt while you are in a cave :D).

Also, I have seen some of your terrain generation mods, and I am impressed :).
By perseverance the snail reached the ark.
- Charles Spurgeon
 

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

by paramat » Sat May 04, 2013 18:56

Kinda yeah, an underground magma chamber would form a narrow 'conduit' above itself to the surface.
I think i know how to make a perlin generated mountain that slowly grows layer by layer after each eruption.
I saw your mod and thought it cool but haven't tried it out yet ... i'll have a look at your code, i guess your 'erupting lava' would sit at the top of this conduit and after each eruption an extra layer is added to the volcano.
Last edited by paramat on Wed Jul 10, 2013 13:37, edited 1 time in total.
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Mon May 06, 2013 15:01

paramat wrote:Kinda yeah, an underground magma chamber would form a narrow 'conduit' above itself to the surface:

Image

I think i know how to make a perlin generated mountain that slowly grows layer by layer after each eruption.
I saw your mod and thought it cool but haven't tried it out yet ... i'll have a look at your code, i guess your 'erupting lava' would sit at the top of this conduit and after each eruption an extra layer is added to the volcano.


Wow, neat idea! I think your idea is even better. Basically, after an eruption, mine resets back to the original state (unless something was burned).
By perseverance the snail reached the ark.
- Charles Spurgeon
 

prestidigitator
Member
 
Posts: 632
Joined: Thu Feb 21, 2013 23:54

by prestidigitator » Mon May 06, 2013 18:44

Here's another possibility for creating this: introduce magma, as opposed to lava. During an "eruption" (which could be determined based on a noise function that includes both space and time input coordinates) the magma bubbles up, eating away ANY kind of node above it and replacing it with more magma. The chance of replacing the node above can depend on the type of node above and on the built-up heat/pressure (metadata or param2), which increases when the magma doesn't rise and decreases for both the old and new nodes each time it does propagate (perhaps more so when it is propagating into air). When there isn't an "eruption" the magma can cool: to a minimum temperature/pressure value underground, to air if touching nothing but air and magma/lava, and to stone if touching air/magma/lava and any other node types.

But magma would only propagate straight up. To the sides it would create normal lava to replace air or water (or maybe anything that is buildable_to). That plus lava cooling in air should actually be enough to build your own volcano "naturally". The thing you'd have to watch out for is the volcano getting too high, so it might require a few little tweaks.
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Mon May 06, 2013 19:16

prestidigitator wrote:Here's another possibility for creating this: introduce magma, as opposed to lava. During an "eruption" (which could be determined based on a noise function that includes both space and time input coordinates) the magma bubbles up, eating away ANY kind of node above it and replacing it with more magma. The chance of replacing the node above can depend on the type of node above and on the built-up heat/pressure (metadata or param2), which increases when the magma doesn't rise and decreases for both the old and new nodes each time it does propagate (perhaps more so when it is propagating into air). When there isn't an "eruption" the magma can cool: to a minimum temperature/pressure value underground, to air if touching nothing but air and magma/lava, and to stone if touching air/magma/lava and any other node types.

But magma would only propagate straight up. To the sides it would create normal lava to replace air or water (or maybe anything that is buildable_to). That plus lava cooling in air should actually be enough to build your own volcano "naturally". The thing you'd have to watch out for is the volcano getting too high, so it might require a few little tweaks.


That seems like a neat idea as well. Imagine creating a house, and then one day a volcano erupts out of the living room (Talk about being shocked)! It still would be neat though to see volcanoes randomly generated on the map that could also erupt.

If included in the default minetest and/or survival game type, it probably would be good to not include it in the build game type so it does not destroy anything. At least not allow volcanoes to erupt in the build game type so they could still have map generated volcanoes, if desired.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

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

by paramat » Wed Jul 10, 2013 13:30

Hybrid Dog wrote:I used the same way to make one.

That's a beautiful black volcano.
Last edited by paramat on Mon Jul 15, 2013 23:18, edited 1 time in total.
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

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

by paramat » Thu Jul 11, 2013 15:07

So yes this is a mod in development, it has an imaginative name too: 'volcano'. I will be making the volcano vent grow wider as it rises above sea level. Also a particle spawner on top. Any other good ideas?
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Sat Jul 13, 2013 03:50

Looks very nice with those particles.
I hope you can solve the problem with floating volcanoes.

Noob 4 life!
My stuff
 

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

by Chinchow » Sat Jul 13, 2013 04:44

paramat wrote:So yes this is a mod in development, it has an imaginative name too: 'volcano'. I will be making the volcano vent grow wider as it rises above sea level. Also a particle spawner on top. Any other good ideas?
You could have volcanic dust\ash form on the area around the volcano. This ash could be used as a sort of fertilizer for farms.

You could also have pumice or other igneous rocks form around the volcano as nice decorative blocks
Last edited by Chinchow on Sat Jul 13, 2013 04:58, edited 1 time in total.
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Sat Jul 13, 2013 07:33

paramat wrote:Yes as you can see i have a problem with floating volcanos:


(...)

^ 2 particlespawners: lavabombs, rising ash cloud.


The first one looks aweseome! It's great!
 

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

by paramat » Sat Jul 13, 2013 14:23

Thanks for comments :)
Okay will release this soon, when lava cools on top of water a column of obsidian or stone is dropped to the ocean floor, this creates a dense forest of underwater pillars supporting the volcano. The pillars are obsidian or stone depending on whether the top node is obsidian or ash, this is to continue the ash pattern underwater.
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Mon Jul 15, 2013 19:19

Nice volcano though! :)
paramat wrote:Yes as you can see i have a problem with floating volcanos:


Image
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Mon Jul 15, 2013 19:34

Jonathan wrote:Nice volcano though! :)
paramat wrote:Yes as you can see i have a problem with floating volcanos:


Image
Looks good; but the floating problem really needs to be addressed soon.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

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

by paramat » Mon Jul 15, 2013 20:08

Floating problem was fixed in post 29 ;)
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 


Return to Minetest Features

Who is online

Users browsing this forum: Google [Bot] and 6 guests

cron