[Mod] Moon mapgen [0.17] [moon]

Dorje
Member
 
Posts: 109
Joined: Sun Oct 04, 2015 21:19
In-game: gryphon + MajesticBird

Re: [WIP][MOD] Moon mapgen

by Dorje » Tue Oct 13, 2015 15:49

I have seen UjEdwin do it on a server...
idk how...
Give me some EXTREME HARDCORE xD

i have to say this sad thing viewtopic.php?f=3&t=13458&p=195719#p195719
 

Dorje
Member
 
Posts: 109
Joined: Sun Oct 04, 2015 21:19
In-game: gryphon + MajesticBird

Re: [WIP][MOD] Moon mapgen

by Dorje » Tue Oct 13, 2015 15:50

oh wait...
He didnt do gravity...

He did a flying with no priv thing :/
Give me some EXTREME HARDCORE xD

i have to say this sad thing viewtopic.php?f=3&t=13458&p=195719#p195719
 

T3kW4ffl3
Member
 
Posts: 16
Joined: Thu Oct 08, 2015 20:36
GitHub: n0taD1m3
IRC: Uhm
In-game: TekWaffle

Re: [WIP][MOD] Moon mapgen

by T3kW4ffl3 » Tue Oct 13, 2015 16:00

Couldn't you just say
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
set_physics_override({
         gravity = 0 -- or 0.1/0.01
})

EDIT: This would only work with flat not round
Last edited by T3kW4ffl3 on Tue Oct 13, 2015 16:03, edited 1 time in total.
Stay Toast
つಠ益ಠ༽つ # (ʘ言ʘ╬) -"WAFFLE!"
╰〳 ಠ 益 ಠೃ 〵╯ RAISE YOUR DONGERS
 

arpruss
Member
 
Posts: 39
Joined: Sat Sep 26, 2015 14:01
GitHub: arpruss

Re: [WIP][MOD] Moon mapgen

by arpruss » Tue Oct 13, 2015 16:03

T3kW4ffl3 wrote:Couldn't you just say
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
set_physics_override({
         gravity = 0 -- or 0.1/0.01
})


Yeah, but what one would really like for a round moon would be gravity pulling one to the center of it, no matter where one is.
 

T3kW4ffl3
Member
 
Posts: 16
Joined: Thu Oct 08, 2015 20:36
GitHub: n0taD1m3
IRC: Uhm
In-game: TekWaffle

Re: [WIP][MOD] Moon mapgen

by T3kW4ffl3 » Tue Oct 13, 2015 16:04

Yah I just edited my post
Stay Toast
つಠ益ಠ༽つ # (ʘ言ʘ╬) -"WAFFLE!"
╰〳 ಠ 益 ಠೃ 〵╯ RAISE YOUR DONGERS
 

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

Re: [WIP][MOD] Moon mapgen

by Hybrid Dog » Tue Oct 13, 2015 16:05

arpruss wrote:Yeah, but what one would really like for a round moon would be gravity pulling one to the center of it, no matter where one is.

you could attach the player to an object, but you would need to wait for the server to move if it's lagging
 

Dorje
Member
 
Posts: 109
Joined: Sun Oct 04, 2015 21:19
In-game: gryphon + MajesticBird

Re: [WIP][MOD] Moon mapgen

by Dorje » Tue Oct 13, 2015 16:07

.
Last edited by Dorje on Tue Oct 13, 2015 16:09, edited 1 time in total.
Give me some EXTREME HARDCORE xD

i have to say this sad thing viewtopic.php?f=3&t=13458&p=195719#p195719
 

Dorje
Member
 
Posts: 109
Joined: Sun Oct 04, 2015 21:19
In-game: gryphon + MajesticBird

Re: [WIP][MOD] Moon mapgen

by Dorje » Tue Oct 13, 2015 16:07

u could make a command called moon mode?
And it changes gravity?


There r 100x better ways than mine xD
Give me some EXTREME HARDCORE xD

i have to say this sad thing viewtopic.php?f=3&t=13458&p=195719#p195719
 

arpruss
Member
 
Posts: 39
Joined: Sat Sep 26, 2015 14:01
GitHub: arpruss

Re: [WIP][MOD] Moon mapgen

by arpruss » Tue Oct 13, 2015 16:34

I just posted a new version (0.09). It turns out that I had done land scaling wrong, which was why I had to put in the vertical exaggeration. The new version has as the default scale 150 meters per node, and the default vertical exaggeration factor of 1 (so no vertical exaggeration). If you load the new version over old worlds, you'll probably get weird stuff.

In other words, the new version is a lot more realistic.
 

arpruss
Member
 
Posts: 39
Joined: Sat Sep 26, 2015 14:01
GitHub: arpruss

Re: [WIP][MOD] Moon mapgen

by arpruss » Wed Oct 14, 2015 00:51

And I added a sphere mode, which makes a round moon. Just set projection = sphere in the config file. Remember, it's a really big sphere. If you set land_node_meters to 150, the moon is about 23000 nodes in diameter.

I tried reversing gravity when on the underside, but jumping doesn't work unless you've got the ground under your feet, so it really didn't accomplish much. I do turn on the flying privilege, though, automatically.

Image
Attachments
screenshot_20151014_014905.png
screenshot_20151014_014905.png (454.12 KiB) Viewed 4086 times
 

Dorje
Member
 
Posts: 109
Joined: Sun Oct 04, 2015 21:19
In-game: gryphon + MajesticBird

Re: [WIP][MOD] Moon mapgen

by Dorje » Wed Oct 14, 2015 09:30

wow the moon looks great but maybe u could add something called moon rock and use that instead of stone?
It would be cooler i think
Give me some EXTREME HARDCORE xD

i have to say this sad thing viewtopic.php?f=3&t=13458&p=195719#p195719
 

User avatar
Ferk
Member
 
Posts: 330
Joined: Tue Aug 18, 2015 17:18
GitHub: Ferk

Re: [WIP][MOD] Moon mapgen

by Ferk » Wed Oct 14, 2015 09:58

arpruss wrote:I tried reversing gravity when on the underside, but jumping doesn't work unless you've got the ground under your feet, so it really didn't accomplish much. I do turn on the flying privilege, though, automatically.


It might be too crazy of a workaround, but a way that this could be accomplished is having 2 separate moons that are reversed, in totally far apart coordinates.

Then you would teleport the player to the corresponding position on the upside-down copy of the moon as soon as he goes to the other side (or when he inputs a command to turn around).

You could even make 6 moons for each of the faces of a cube and then you would have all the rotations in increments of 90 degrees in every direction for each axis

Not an optimal solution, though. Since I guess teleporting would be disorienting and all the new chunks would have to be generated unless you force load them. You might have to rotate the skybox as well.

Probably not worth it. It should be enough to just let the flat-mode projection generation wrap-around by generating the other side at the limits of the terrain projection data. Then the flat moon will be generated indefinitely with repeating terrain, without strange cuts in the poles.

But it would be awesome if the Minetest engine had an API for the player character and camera to rotate properly in all directions. This is not the only mod that could benefit from that. Having better camera control has been a feature request for a while now.
{ ☠ Dungeontest ☠ , ᗧ••myarcade•• }
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [WIP][MOD] Moon mapgen

by Don » Wed Oct 14, 2015 12:49

If you want the player to teleport to the other side to make it look like the moon is round then here is a mod that does it.
https://github.com/DonBatman/worldedge
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
 

User avatar
GJH105775
Member
 
Posts: 106
Joined: Thu Sep 27, 2012 16:11

Re: [WIP][MOD] Moon mapgen

by GJH105775 » Sat Oct 17, 2015 01:28

Don wrote:If you want the player to teleport to the other side to make it look like the moon is round then here is a mod that does it.
https://github.com/DonBatman/worldedge


Probably the best option.
 

arpruss
Member
 
Posts: 39
Joined: Sat Sep 26, 2015 14:01
GitHub: arpruss

Re: [WIP][MOD] Moon mapgen

by arpruss » Sat Oct 17, 2015 14:25

0.11 released:
- major bug fix: in previous versions the moon was rotated by 180 degrees so /goto worked wrong
- /goto now supports many features other than craters; e.g., /goto apollo 11 or /goto mare tranquillitatis or /goto mons bradley
- apparently seamless teleport-joining of near and farside in equaldistance and orthographic projection modes (note: currently, your geographic heading is liable to get turned around on teleport)
 

User avatar
Ferk
Member
 
Posts: 330
Joined: Tue Aug 18, 2015 17:18
GitHub: Ferk

Re: [WIP][MOD] Moon mapgen

by Ferk » Mon Oct 19, 2015 21:16

I noticed you also finally decided to add lunar rock for dark and bright sides. Cool.
Though at this moment doing /goto 0 180 seems to crash
{ ☠ Dungeontest ☠ , ᗧ••myarcade•• }
 

arpruss
Member
 
Posts: 39
Joined: Sat Sep 26, 2015 14:01
GitHub: arpruss

Re: [WIP][MOD] Moon mapgen

by arpruss » Tue Oct 20, 2015 00:21

I just released a new version that uses NASA moon reflectance data to vary the terrain stone from dark (e.g., /goto mare tranq) to very bright (e.g., /goto aristarchus).

Image
 

arpruss
Member
 
Posts: 39
Joined: Sat Sep 26, 2015 14:01
GitHub: arpruss

Re: [WIP][MOD] Moon mapgen

by arpruss » Tue Oct 20, 2015 00:22

Ferk wrote:I noticed you also finally decided to add lunar rock for dark and bright sides. Cool.
Though at this moment doing /goto 0 180 seems to crash


Yeah, you caught the one point on the surface of the moon that was affected by that bug. Thanks for the catch. Fixed in 0.12.
 

arpruss
Member
 
Posts: 39
Joined: Sat Sep 26, 2015 14:01
GitHub: arpruss

Re: [WIP][MOD] Moon mapgen

by arpruss » Tue Oct 20, 2015 00:46

I also added the albedo variation to projection=sphere mode.

Image

For the screenshot, I did land_node_meters = 15000 and projection = sphere in settings.conf.
 

Dorje
Member
 
Posts: 109
Joined: Sun Oct 04, 2015 21:19
In-game: gryphon + MajesticBird

Re: [WIP][MOD] Moon mapgen

by Dorje » Tue Oct 20, 2015 05:52

arpruss wrote:
Image



WOW! that is really cool looking! :-)
Last edited by Dorje on Tue Oct 20, 2015 09:09, edited 1 time in total.
Give me some EXTREME HARDCORE xD

i have to say this sad thing viewtopic.php?f=3&t=13458&p=195719#p195719
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

Re: [WIP][MOD] Moon mapgen

by twoelk » Tue Oct 20, 2015 08:43

??
I'm impressed
and baffled
how on earth did you do that?

oh - you didn't

you did it on the moon!

cool
 

arpruss
Member
 
Posts: 39
Joined: Sat Sep 26, 2015 14:01
GitHub: arpruss

Re: [WIP][MOD] Moon mapgen

by arpruss » Tue Oct 20, 2015 15:21

twoelk wrote:??
I'm impressed
and baffled
how on earth did you do that?

oh - you didn't

you did it on the moon!


:-)

Seriously, there is a ton of free public domain data available from NASA and USGS that makes it possible to do these things. My daughter suggests I do something like this for earth.
 

User avatar
Ferk
Member
 
Posts: 330
Joined: Tue Aug 18, 2015 17:18
GitHub: Ferk

Re: [WIP][MOD] Moon mapgen

by Ferk » Tue Oct 20, 2015 15:36

arpruss wrote:My daughter suggests I do something like this for earth.


That would be pretty cool! if accurate enough it could give a pretty illustrative idea of the size of each continent, etc. since each node would have a determined scale.. the moon is 0.273 earths in size.. so if you had a 150m/node resolution for the Moon, that would be about 550m/node for the Earth. That's a pretty amazing scale for the whole planet, less than 1 km! It would be possible to even pinpoint the location of a city. That's pretty amazing.

You can make a non-flowing non-renewable liquid so that it stays in place in the globe.
{ ☠ Dungeontest ☠ , ᗧ••myarcade•• }
 

User avatar
GJH105775
Member
 
Posts: 106
Joined: Thu Sep 27, 2012 16:11

Re: [WIP][MOD] Moon mapgen

by GJH105775 » Tue Oct 20, 2015 17:21

That would also be quite a project hahaha.
 

Dorje
Member
 
Posts: 109
Joined: Sun Oct 04, 2015 21:19
In-game: gryphon + MajesticBird

Re: [WIP][MOD] Moon mapgen

by Dorje » Wed Oct 21, 2015 14:47

Sorry ... viewtopic.php?f=3&t=13458
im leaving the server so I can't see this mod at full state D:
Give me some EXTREME HARDCORE xD

i have to say this sad thing viewtopic.php?f=3&t=13458&p=195719#p195719
 

User avatar
GJH105775
Member
 
Posts: 106
Joined: Thu Sep 27, 2012 16:11

Re: [WIP][MOD] Moon mapgen

by GJH105775 » Sat Oct 24, 2015 20:35

Eh, you can't just leave hahaha. I have been long gone and keep coming back just to look around.
Check out my mod xtrablocks, has some different types of marble that you can build with or mine at different depths

I am not here regularly as I just kind of pop in and out. If you want to find me I'll be on quadcopterforum.com helping with multirotor builds and spending other's money haha.

http://i10.photobucket.com/albums/a119/ ... hicons.jpg
 

arpruss
Member
 
Posts: 39
Joined: Sat Sep 26, 2015 14:01
GitHub: arpruss

Re: [WIP][MOD] Moon mapgen

by arpruss » Sun Oct 25, 2015 05:56

Just released 0.16: I reduced the number of moon:moonstoneXXX blocks in order to speed up initial media downloads if you want to run this on a server. Instead, I now dither the blocks. Hard to say what looks better.

Image
Last edited by arpruss on Mon Oct 26, 2015 00:50, edited 1 time in total.
 

Dorje
Member
 
Posts: 109
Joined: Sun Oct 04, 2015 21:19
In-game: gryphon + MajesticBird

Re: [WIP][MOD] Moon mapgen

by Dorje » Sun Oct 25, 2015 07:42

GJH105775 wrote:Eh, you can't just leave hahaha. I have been long gone and keep coming back just to look around.


I will be looking around but not testing much.
Or playing.
Give me some EXTREME HARDCORE xD

i have to say this sad thing viewtopic.php?f=3&t=13458&p=195719#p195719
 

arpruss
Member
 
Posts: 39
Joined: Sat Sep 26, 2015 14:01
GitHub: arpruss

Re: [Mod] Moon mapgen [0.17] [moon]

by arpruss » Tue Dec 08, 2015 15:05

0.17: Fix for /goto on Linux (and maybe Windows).
 

User avatar
Andrey01
Member
 
Posts: 431
Joined: Wed Oct 19, 2016 15:18
In-game: Andrey01

Re: [Mod] Moon mapgen [0.17] [moon]

by Andrey01 » Tue Nov 29, 2016 13:47

First version of mod looks like stone world what was default in old versions
 

Previous

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 33 guests

cron