[mod] Crater MG [cratermg] [mapgen]

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

[mod] Crater MG [cratermg] [mapgen]

by Pyrollo » Fri Sep 21, 2018 08:59

I've always found there was missing a mapgen for mars / moon / space subgames.

This is an mapgen for planet surface with craters. It can use default nodes or be adapted to other materials.

Image

Dependancies: default

License: LGPL v2.1

Download or browse code


Don't use this mod on any server!

It is in a very experimental stage of development.

Test it

To test Crater MG:
  • create a new world
  • select minetest_gane game
  • choose single node map generator
  • enable cratermg mod
And explore lunar landcape !

Map sample
+ Spoiler
Attachments
cratermap.png
(203.8 KiB) Not downloaded yet
screenshot.jpg
(565.46 KiB) Not downloaded yet
Last edited by Pyrollo on Tue Nov 05, 2019 08:05, edited 5 times in total.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

User avatar
Lone_Wolf
Member
 
Posts: 2193
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf
 

User avatar
DrFrankenstone
Member
 
Posts: 110
Joined: Tue May 24, 2016 05:36
Location: Melbourne, Australia
GitHub: treer
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Pyrollo » Fri Sep 21, 2018 15:38

A sample map (1px = 1node):
Image
Attachments
crater.map.png
(276.95 KiB) Not downloaded yet
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad
 

User avatar
paramat
Developer
 
Posts: 3443
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by paramat » Fri Sep 21, 2018 22:08

Looks good and clever work to have large multi-mapchunk craters complete on mapgen.
 

unknown
New member
 
Posts: 8
Joined: Thu Sep 20, 2018 14:59
GitHub: alex-unknown
In-game: unknown

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by unknown » Sat Oct 06, 2018 21:08

I thougt about programming a new space mod. This looks like a solid basis :) But I have no idea where to put the maps of different planets in the sky (or underground).

It could be funny working with spherical planets but it's not possible to implement aslant gravity on players without attaching every player to an entity :(
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Pyrollo » Mon Oct 08, 2018 07:25

I guess Minetest is not ready yet for spherical planets. Common way to have multiple worlds/planets is to stack them in thousands nodes height layers with unbreakable node between them (bedrocks).

For now cratermg is not mature enough to use as a mapgen. Many things are missing (caves and minerals at least). I'm working on a new version of crater generation. Once done, the main task will be to make cratermg an usable mapgen for space subgames.

I'm focussing on map computation but I lack time for creating proper nodes for dust, rock, sédiments and so on. If you work on that I'd be very pleased to use someone else's nodes.

There is already an interresting spacial subgame : Mars Survive. One of my plans is to integrate cratermg to this subgame.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

BuckarooBanzay
Member
 
Posts: 305
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by BuckarooBanzay » Fri Nov 16, 2018 10:59

I added some issues/comments to your repo:

I think it would be cool if this mapgen can used as an addition to the current terrain just in a higher altitude...

I did the same with my mapgens but they are primitive compared to yours:
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Pyrollo » Fri Nov 16, 2018 12:28

BuckarooBanzay wrote:I did the same with my mapgens but they are primitive compared to yours:


Yes ! These are good examples; I was wondering how it worked for stacking worlds.

Some settings are existing in config.lua (surface height) since the last version. I'll improve that :)
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

User avatar
Lord_Vlad
Member
 
Posts: 112
Joined: Thu Jul 20, 2017 07:58

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Lord_Vlad » Thu Nov 22, 2018 05:01

Am I the only one feeling like we need some kind of craters in the normal mapgen ? Like if you where on earth and some meteor hit the place a long time ago.
 

User avatar
voxelproof
Member
 
Posts: 901
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by voxelproof » Thu Nov 22, 2018 14:23

Lord_Vlad wrote:Am I the only one feeling like we need some kind of craters in the normal mapgen ? Like if you where on earth and some meteor hit the place a long time ago.


No, you're not :) But aside from old, eroded and rather scarce impact craters in earth-like environments it would be fantastic to apply this mod to generate large volcanoes. Needed an additional type of mountain generation (most probably in valleys mg) which would create large, roughly symmetric mountain made of obsidian and with a deep crater set on top of it (filled with lava-source nodes of course).
Game is the essence of life; therefore every good game makes life better.
 

Sokomine
Member
 
Posts: 3886
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Sokomine » Thu Jan 03, 2019 12:18

Especially the overview map looks very nice and convincing. Hopefully this mod will be worked on and included in one of the space games. The surface may not be particulary practical for building something, but ores could be accessible more easily this way. Surface-mining instead of digging down all that much.
A list of my mods can be found here.
 

Red_King_Cyclops
Member
 
Posts: 266
Joined: Sun Jun 16, 2019 20:17
Location: Earth

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Red_King_Cyclops » Mon Jun 17, 2019 16:30

This mod looks promising, but for me it doesn't work. I suspect it's because I'm using an outdated version, so what version was this mod intended for?
Last edited by Red_King_Cyclops on Thu Jun 20, 2019 11:51, edited 1 time in total.
My best mods: space_travel, time_travel, and rocket.
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Pyrollo » Mon Jun 17, 2019 20:41

You should update your version. CraterMG is developped using MT5 but it could be compatible with older version (but no effort will be done to make it work).

Can you be more precise about what does not work ? It could help you and me.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

Red_King_Cyclops
Member
 
Posts: 266
Joined: Sun Jun 16, 2019 20:17
Location: Earth

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Red_King_Cyclops » Tue Jun 18, 2019 18:13

Pyrollo wrote:You should update your version. CraterMG is developped using MT5 but it could be compatible with older version (but no effort will be done to make it work).

Can you be more precise about what does not work ? It could help you and me.


I was using version 0.4.16., since updating to 5.0 does not work for me. While testing a new world with this mod, the game would crash the moment I would hit the ground. For some reason the sky is pink.
Last edited by Red_King_Cyclops on Thu Jun 20, 2019 11:51, edited 1 time in total.
My best mods: space_travel, time_travel, and rocket.
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Pyrollo » Wed Jun 19, 2019 10:46

Can you post your debug.txt corresponding to this crash ?

The pink sky (supposed to be orange) is provided by CraterMG mod ambiance setting.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

Chem871
Member
 
Posts: 937
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Dwaba_Kukai

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Chem871 » Wed Jun 19, 2019 14:33

Does this mod in any way affect the generation of caverns?
What is SCP-055 again? I forgot.
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Pyrollo » Wed Jun 19, 2019 15:16

Yes it does. It is an entire mapgen.

Next step will be to integrate it with mods mixing mapgens at different levels.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

Red_King_Cyclops
Member
 
Posts: 266
Joined: Sun Jun 16, 2019 20:17
Location: Earth

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Red_King_Cyclops » Wed Jun 19, 2019 15:57

Pyrollo wrote:Can you post your debug.txt corresponding to this crash ?

The pink sky (supposed to be orange) is provided by CraterMG mod ambiance setting.


The sky looks like a combination of pink and orange. The error message I received was several lines long, but this should be the most important part of the error message:
Code: Select all
attempt to call method 'get_2d_map_flat' (a nil value)
Last edited by Red_King_Cyclops on Thu Jun 20, 2019 11:51, edited 1 time in total.
My best mods: space_travel, time_travel, and rocket.
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Pyrollo » Thu Jun 20, 2019 06:00

Thanks, this is a version issue. You have to update, it won't be fixed (no support of outdated versions can be expected).
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

CalebJ
Member
 
Posts: 168
Joined: Sat Dec 29, 2018 19:21
Location: Tunnelers' Abyss
GitHub: KaylebJay
IRC: KaylebJay
In-game: CalebJ

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by CalebJ » Fri Jun 21, 2019 13:47

+1 Very realistic, good work.
If you want realism, you're in the wrong place. Get off your mobile.
 

Red_King_Cyclops
Member
 
Posts: 266
Joined: Sun Jun 16, 2019 20:17
Location: Earth

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Red_King_Cyclops » Mon Jun 24, 2019 00:23

Pyrollo wrote:Thanks, this is a version issue. You have to update, it won't be fixed (no support of outdated versions can be expected).

I updated Minetest to the latest version. Now when I play the mod, I spawn in stone and I do not know why.
My best mods: space_travel, time_travel, and rocket.
 

Red_King_Cyclops
Member
 
Posts: 266
Joined: Sun Jun 16, 2019 20:17
Location: Earth

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Red_King_Cyclops » Sat Jun 29, 2019 10:40

Red_King_Cyclops wrote:
Pyrollo wrote:Thanks, this is a version issue. You have to update, it won't be fixed (no support of outdated versions can be expected).

I updated Minetest to the latest version. Now when I play the mod, I spawn in stone and I do not know why.

There isn't a good reason why I am spawning in stone. The mapgen is singlenode, the version is 5.0.1, and the game is minetest_game. I use noclip and fly to try to escape the stone, but the stone seems to fill the entire map.
My best mods: space_travel, time_travel, and rocket.
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [mod] Crater MG [cratermg] [experimental] [mapgen]

by Pyrollo » Sat Jun 29, 2019 10:55

Red_King_Cyclops wrote:There isn't a good reason why I am spawning in stone. The mapgen is singlenode, the version is 5.0.1, and the game is minetest_game. I use noclip and fly to try to escape the stone, but the stone seems to fill the entire map.


Can you :
- post coordinates where you spawn;
- post the map seed;

Also, try to teleport at 0 500 0, you should be in air. If not, this may be a problem with installation.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

Next

Return to WIP Mods



Who is online

Users browsing this forum: MSN [Bot] and 7 guests