add mod 'galaxybox'
this is basicly a workaround since creating and calculating proper tiles from an own choosen image takes too long atm
12
mods/galaxybox/README.txt
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
Galaxy Skybox
|
||||||
|
Version 1.0.0
|
||||||
|
|
||||||
|
A mod for Minetest.
|
||||||
|
|
||||||
|
This mod adds a simple skybox showing a galaxy.
|
||||||
|
|
||||||
|
|
||||||
|
License of skybox textures:
|
||||||
|
CC-BY and CC-BY-SA - From hackcraft.de <http://hackcraft.de/>.
|
||||||
|
|
||||||
|
License of everything else: WTFPL
|
1
mods/galaxybox/description.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Adds a simple galaxy skybox.
|
17
mods/galaxybox/init.lua
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
minetest.register_on_joinplayer(function(player)
|
||||||
|
minetest.after(0,function()
|
||||||
|
player:set_sky(
|
||||||
|
{r=0x13, g=0x01, b=0x24},
|
||||||
|
"skybox",
|
||||||
|
{
|
||||||
|
"galaxybox_1.png^[transform6",
|
||||||
|
"galaxybox_2.png",
|
||||||
|
"galaxybox_3.png^[transform7",
|
||||||
|
"galaxybox_4.png^[transform1",
|
||||||
|
"galaxybox_5.png^[transform4",
|
||||||
|
"galaxybox_6.png",
|
||||||
|
}
|
||||||
|
)
|
||||||
|
--player:override_day_night_ratio(0.15)
|
||||||
|
end)
|
||||||
|
end)
|
BIN
mods/galaxybox/screenshot.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
mods/galaxybox/textures/galaxybox_1.png
Normal file
After Width: | Height: | Size: 333 KiB |
BIN
mods/galaxybox/textures/galaxybox_2.png
Normal file
After Width: | Height: | Size: 315 KiB |
BIN
mods/galaxybox/textures/galaxybox_3.png
Normal file
After Width: | Height: | Size: 314 KiB |
BIN
mods/galaxybox/textures/galaxybox_4.png
Normal file
After Width: | Height: | Size: 351 KiB |
BIN
mods/galaxybox/textures/galaxybox_5.png
Normal file
After Width: | Height: | Size: 303 KiB |
BIN
mods/galaxybox/textures/galaxybox_6.png
Normal file
After Width: | Height: | Size: 349 KiB |