Changing sky color with 'get_sky()'.

Post Reply
User avatar
Scarecrowman
Member
Posts: 40
Joined: Sun Nov 19, 2017 14:48
In-game: Scarecrowman
Location: The Ranch, S4, on a secure government computer...

Changing sky color with 'get_sky()'.

by Scarecrowman » Post

Heads up. Noob-posting.

Has anyone tried to utilize the 'get_sky()' word in any mods they've built or edits of the default subgame?
I'm trying to change the sky color for my texture pack, but I'm having trouble knowing where to start.

I'm new to the Lua programming language as well as Minetest. Be kind, my kung-fu is weak.
"Those who dream by day are cognizant of many things that escape those who only dream at night..."
-EDGAR ALLAN POE

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Changing sky color with 'get_sky()'.

by sofar » Post

Maybe the best thing is just to play with the `skybox` mod I made. It has most of the code, and you can use it with a command, or from another mod - as it has a simple API.

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: Changing sky color with 'get_sky()'.

by GamingAssociation39 » Post

Let me know what you've got when done because I'm having the same issue.
Jesus Is Lord and Savior!!!

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests