[Mod] Skycolor [0.2]

User avatar
xeranas
Member
 
Posts: 99
Joined: Fri Feb 05, 2016 11:06
GitHub: xeranas

[Mod] Skycolor [0.2]

by xeranas » Sat Oct 22, 2016 21:14

Minetest utility mod to help manage sky color. Mod makes smooth transition between users given base sky colors.

Mod dependencies: <none>
Download and details on: https://github.com/xeranas/skycolor
Licensing:
- Code: MIT
Tested on: Minetest 0.4.14

Expected to be configured by other mods. Minimal requirements is color set and activation.
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
skycolor.add_layer(
    "my-color-layer-name",
    {{r=0, g=0, b=0},
    {r=83, g=14, b=83},
    {r=0, g=0, b=0}},
    true -- force update flag
)
skycolor.active = true
Last edited by xeranas on Sat Nov 12, 2016 20:35, edited 1 time in total.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Skycolor

by azekill_DIABLO » Sun Oct 23, 2016 16:54

yes yes yes yes yes yes and yes
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
TheReaperKing
Member
 
Posts: 493
Joined: Sun Nov 22, 2015 21:36

Re: [Mod] Skycolor

by TheReaperKing » Sun Oct 23, 2016 17:07

This seems like it'd be neat for storms and maybe even eventually stormclouds!
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com

Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com

Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Skycolor

by azekill_DIABLO » Sun Oct 23, 2016 18:29

will this be added to weather pack???
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
xeranas
Member
 
Posts: 99
Joined: Fri Feb 05, 2016 11:06
GitHub: xeranas

Re: [Mod] Skycolor [0.2]

by xeranas » Sat Nov 12, 2016 21:14

Skycolor was update to support multiple sky color definitions. E.g. if your worlds sky is green then some temporal event sets sky red and after its over sky come back to green. Thats actual main point of mod to help manage such changes.

azekill_DIABLO wrote:will this be added to weather pack???

Yes, its already updated. However due strange minetest behavior (unpredictable rgb colors) when getting 'regular' type sky colors weather pack cannot take advantage of smooth transition on weather initialization. However once weather initialized it sky color should change according day time.

Please note that api was changed. I update description.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 5 guests

cron