[Mod][WIP] Skybox Extended [skybox_extended]

User avatar
emperor_genshin
Member
 
Posts: 38
Joined: Tue Dec 22, 2015 05:04
Location: Cyberspace
IRC: Emperor_Genshin - Genshin
In-game: Emperor_Genshin - Genshin

[Mod][WIP] Skybox Extended [skybox_extended]

by emperor_genshin » Tue Dec 22, 2015 10:22

Greetings Minetest Community!

This mod adds a simple coded interchangeable skybox which adds Space to a regular minetest world, adding certain realism when going into higher altitudes.


    When on earth
    Image

    When in space (Currently activates at Y = 1000)
    Image

    Screenshots were taken from one of my WIP servers, please focus on the skybox changes instead of the other things that are shown in these images.


NOTE: This mod is still work in progress, would like volunteers to help me test this mod entirely.

If you have any further Ideas for this mod feel free to share them here.

NOTE: I've tested this on one of my public minetest servers during my spare time, so far it works very well.
The skybox images that I was using as a placeholder to test the mod is from Xonotic, please give credit to Cuinn Herrick if you are using his images.

Credits: Kudos to Amaz for helping me adding a check timer code and paramat for reviewing the code.

Source Code License: WTFPL

Dependencies: None

Requires: Minetest 0.4.11 or Higher

Version: 0.2

    Version:0.1: First Release
    Version:0.2: Added Fixes + Check Timer

    TODO: Make generated debree for space.

Repository: https://notabug.org/Genshin/skybox_extended
Last edited by emperor_genshin on Mon Sep 02, 2019 20:33, edited 22 times in total.
I'm just a individual who likes to make impressive things. | Current Advanced Bosses Test: https://www.youtube.com/watch?v=nOjLGty2qW8
 

User avatar
fessmK
Member
 
Posts: 49
Joined: Wed Sep 25, 2013 15:56
Location: Your RAM

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by fessmK » Tue Dec 22, 2015 14:41

Nice idea. You should upload the skybox images if you can. Also, make the stars more detailed, and see if you can make a second skybox with improved stars appear at night.
 

User avatar
emperor_genshin
Member
 
Posts: 38
Joined: Tue Dec 22, 2015 05:04
Location: Cyberspace
IRC: Emperor_Genshin - Genshin
In-game: Emperor_Genshin - Genshin

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by emperor_genshin » Tue Dec 22, 2015 17:32

Thank you, I'll see what I can do with the skybox images. :)

fessmK wrote:Nice idea. You should upload the skybox images if you can. Also, make the stars more detailed, and see if you can make a second skybox with improved stars appear at night.


Side note: may be adding space vaccum feature on this mod later on as well, incluiding random space debree like asteroids and such to generate.
I'm just a individual who likes to make impressive things. | Current Advanced Bosses Test: https://www.youtube.com/watch?v=nOjLGty2qW8
 

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

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by paramat » Wed Dec 23, 2015 05:14

'local space = ' and 'local spaceskybox = ' should be before 'register globalstep' for speed.
Also globalstep is 10 times per second, there's no need to check the y's of all players that often, add a timer or use random to check less often, once every few seconds is enough.
 

User avatar
emperor_genshin
Member
 
Posts: 38
Joined: Tue Dec 22, 2015 05:04
Location: Cyberspace
IRC: Emperor_Genshin - Genshin
In-game: Emperor_Genshin - Genshin

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by emperor_genshin » Wed Dec 23, 2015 06:02

Thank you paramat, will make sure to fix that as soon as possible.

paramat wrote:'local space = ' and 'local spaceskybox = ' should be before 'register globalstep' for speed.
Also globalstep is 10 times per second, there's no need to check the y's of all players that often, add a timer or use random to check less often, once every few seconds is enough.
I'm just a individual who likes to make impressive things. | Current Advanced Bosses Test: https://www.youtube.com/watch?v=nOjLGty2qW8
 

User avatar
DS-minetest
Member
 
Posts: 1112
Joined: Thu Jun 19, 2014 19:49
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
GitHub: DS-Minetest
In-game: DS

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by DS-minetest » Sun Dec 27, 2015 20:23

i like it, i always wanted such of mod
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
davidthecreator
Member
 
Posts: 316
Joined: Mon Aug 18, 2014 19:48
Location: Lithuania
GitHub: daviddoesminetest
In-game: DavidDoesMinetest
 

User avatar
Napiophelios
Member
 
Posts: 982
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by Napiophelios » Sat Jan 02, 2016 21:36

This is pretty neat for space fans.
Maybe you could expand it for several ranges:
One for space
one for surface levels
one for underground
and one for the Nether

I experimented with the underground range a little.
If you rearrange the values for -200 and use solid black textures;
caves are completely dark without any "blueskies" showing in open areas.
Image Image



regsky.png
(241.35 KiB) Not downloaded yet
skyext.png
(213.12 KiB) Not downloaded yet
 

User avatar
emperor_genshin
Member
 
Posts: 38
Joined: Tue Dec 22, 2015 05:04
Location: Cyberspace
IRC: Emperor_Genshin - Genshin
In-game: Emperor_Genshin - Genshin

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by emperor_genshin » Sun Jan 03, 2016 03:43

Already done that ;)

You could give it a try on minetest server snet1.thesentinelempire.com/30015

Also, great work with the experiment Napiophelios :)

Napiophelios wrote:This is pretty neat for space fans.
Maybe you could expand it for several ranges:
One for space
one for surface levels
one for underground
and one for the Nether

I experimented with the underground range a little.
If you rearrange the values for -200 and use solid black textures;
caves are completely dark without any "blueskies" showing in open areas.
Image Image



regsky.png
skyext.png


Edit: I still may need to work on this server before releasing it to the Public Server List.

Hmm, maybe I'll add that addition to the official mod, I just need more time to think about it feel free to help me decide, would this be a necessary addition? :)
I'm just a individual who likes to make impressive things. | Current Advanced Bosses Test: https://www.youtube.com/watch?v=nOjLGty2qW8
 

User avatar
DI3HARD139
Member
 
Posts: 154
Joined: Sat Oct 18, 2014 21:04
GitHub: DI3HARD139
IRC: DI3HARD139
In-game: DI3HARD139 DI3HARD139_

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by DI3HARD139 » Fri Jan 08, 2016 01:13

I'll help with the testing if you'd like. Both in Server and SP environments (Heavily and lightly modded).
 

User avatar
emperor_genshin
Member
 
Posts: 38
Joined: Tue Dec 22, 2015 05:04
Location: Cyberspace
IRC: Emperor_Genshin - Genshin
In-game: Emperor_Genshin - Genshin

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by emperor_genshin » Fri Jan 08, 2016 01:52

Sure, that would be great. :)

DI3HARD139 wrote:I'll help with the testing if you'd like. Both in Server and SP environments (Heavily and lightly modded).
I'm just a individual who likes to make impressive things. | Current Advanced Bosses Test: https://www.youtube.com/watch?v=nOjLGty2qW8
 

User avatar
DS-minetest
Member
 
Posts: 1112
Joined: Thu Jun 19, 2014 19:49
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
GitHub: DS-Minetest
In-game: DS

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by DS-minetest » Mon Feb 22, 2016 18:14

TailsTheFoxDoes MT wrote:*deleted*

just copy the code in a init.lua and make textures


@emperor_genshin: can i get those textures from ur screenshots
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
DI3HARD139
Member
 
Posts: 154
Joined: Sat Oct 18, 2014 21:04
GitHub: DI3HARD139
IRC: DI3HARD139
In-game: DI3HARD139 DI3HARD139_
 

User avatar
emperor_genshin
Member
 
Posts: 38
Joined: Tue Dec 22, 2015 05:04
Location: Cyberspace
IRC: Emperor_Genshin - Genshin
In-game: Emperor_Genshin - Genshin

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by emperor_genshin » Sat Feb 27, 2016 19:27

The Skybox textures I used as a placeholder for this mod are from Xonotic, if you want them click this link bellow.

http://opengameart.org/content/xonotic-skyboxes

The skybox textures that you are looking for is called "polluted_earth".

DS-minetest wrote:
TailsTheFoxDoes MT wrote:*deleted*

just copy the code in a init.lua and make textures


@emperor_genshin: can i get those textures from ur screenshots


DI3HARD139 wrote:I second DS-minetest's request.


NOTE: You may want to convert these files to .png for minetest.

As a side note I will work on my own skybox textures soon.
I'm just a individual who likes to make impressive things. | Current Advanced Bosses Test: https://www.youtube.com/watch?v=nOjLGty2qW8
 

User avatar
DS-minetest
Member
 
Posts: 1112
Joined: Thu Jun 19, 2014 19:49
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
GitHub: DS-Minetest
In-game: DS

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by DS-minetest » Sun Feb 28, 2016 08:03

emperor_genshin wrote:The Skybox textures I used as a placeholder for this mod are from Xonotic, if you want them click this link bellow.

http://opengameart.org/content/xonotic-skyboxes

The skybox textures that you are looking for is called "polluted_earth".

DS-minetest wrote:
TailsTheFoxDoes MT wrote:*deleted*

just copy the code in a init.lua and make textures


@emperor_genshin: can i get those textures from ur screenshots


DI3HARD139 wrote:I second DS-minetest's request.


NOTE: You may want to convert these files to .png for minetest.

As a side note I will work on my own skybox textures soon.


thx

(TailsTheFoxDoes MT's post disappeared)
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
emperor_genshin
Member
 
Posts: 38
Joined: Tue Dec 22, 2015 05:04
Location: Cyberspace
IRC: Emperor_Genshin - Genshin
In-game: Emperor_Genshin - Genshin

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by emperor_genshin » Fri Jun 03, 2016 23:55

Would be great if Minetest's skybox feature had a Fade-In/Fade-Out function when applying a change to the skybox. =/
I'm just a individual who likes to make impressive things. | Current Advanced Bosses Test: https://www.youtube.com/watch?v=nOjLGty2qW8
 

User avatar
DI3HARD139
Member
 
Posts: 154
Joined: Sat Oct 18, 2014 21:04
GitHub: DI3HARD139
IRC: DI3HARD139
In-game: DI3HARD139 DI3HARD139_

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by DI3HARD139 » Tue Jun 21, 2016 03:52

I agree with that. I was playing around with some skybox textures. Namely Outer space ones and currently have 3 layers. One at 10k, 2nd at 20k and 3rd at 30k. Kind of annoying how it just jumps between textures.
 

User avatar
emperor_genshin
Member
 
Posts: 38
Joined: Tue Dec 22, 2015 05:04
Location: Cyberspace
IRC: Emperor_Genshin - Genshin
In-game: Emperor_Genshin - Genshin

Re: [Mod][WIP] Skybox Extended [skybox_extended]

by emperor_genshin » Mon Sep 02, 2019 20:28

Added Repository Link
I'm just a individual who likes to make impressive things. | Current Advanced Bosses Test: https://www.youtube.com/watch?v=nOjLGty2qW8
 


Return to WIP Mods



Who is online

Users browsing this forum: Majestic-12 [Bot] and 3 guests