Sky Underground

Post Reply
samuelellis
New member
Posts: 1
Joined: Mon Sep 11, 2023 01:40

Sky Underground

by samuelellis » Post

I'm trying to create a world under ground where someone can't really tell that they are under ground. I'm creating it so that you can only get to it if you have a portal. Any idea how to build a sky that looks like the minetest sky? I know that they will bonk their head if they go too high but it is for affect.

Thank You!

rob123
Member
Posts: 110
Joined: Wed Mar 03, 2021 07:15
GitHub: qwerty123a2
In-game: joe and joergeg

Re: Sky Underground

by rob123 » Post

samuelellis wrote:
Mon Sep 11, 2023 01:41
I'm trying to create a world under ground where someone can't really tell that they are under ground. I'm creating it so that you can only get to it if you have a portal. Any idea how to build a sky that looks like the minetest sky? I know that they will bonk their head if they go too high but it is for affect.

Thank You!
Can't. No api for creating skys. You can change the sky, but not where it is visible.
If my post says something, it is a opinion and not fact unless i say something

User avatar
Faustawk
Member
Posts: 26
Joined: Mon Jun 05, 2023 23:49
In-game: Faustawk

Re: Sky Underground

by Faustawk » Post

samuelellis wrote:
Mon Sep 11, 2023 01:41
I'm trying to create a world under ground where someone can't really tell that they are under ground. I'm creating it so that you can only get to it if you have a portal. Any idea how to build a sky that looks like the minetest sky? I know that they will bonk their head if they go too high but it is for affect.

Thank You!
If create a node with a drawtype that doesn't handle transparency, then make the bottom face fully transparent you will be able to see through any nodes directly above it. This will allow players to see objects (caves, entities, etc.) above the ceiling, but if you make sure there is a solid layer of nodes that's at least as thick as the block transfer distance, that won't be an issue.

One problem is that when underground, looking in any sort of downward angle will make the sky disappear, so the illusion won't be perfect.

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: Sky Underground

by Festus1965 » Post

If your (under-)ground is far enough (free space air) to the overlay new ground, then you might not see anything.
I remember, I have some Gardens in 1.000 Nodes altitude, = 1.000 over the main surface and I don't see them, and the sky looks same. If it is still like this after all that updates, not sure...
MTG ...
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

Red_King_Cyclops
Member
Posts: 324
Joined: Sun Jun 16, 2019 20:17
Location: x=123, y=120, z=534

Re: Sky Underground

by Red_King_Cyclops » Post

samuelellis wrote:
Mon Sep 11, 2023 01:41
I'm trying to create a world under ground where someone can't really tell that they are under ground. I'm creating it so that you can only get to it if you have a portal. Any idea how to build a sky that looks like the minetest sky? I know that they will bonk their head if they go too high but it is for affect.

Thank You!
I'm currently working on a modpack, and I've already developed a API (using functions from climate_api) for creating skies at different heights. It will be some time before I release that API, but you can investigate climate_api now. There's a mod for climate_api called regional_weather, and one of the things it does is make the sky become pitch black when you head underground. The technique the mod uses for changing the sky (registering a weather effect) isn't as effective as what I'm currently using in my unreleased mod, but you can still try it.
https://content.minetest.net/packages/T ... l_weather/
Currently working on new mods.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest