Time is in a 24 hour format. 600 means 6 in the morning 1200 is noon, 2400 or 0 is midnight.
A while ago I responded to a request for an "Age of Darkness" Mod that I hacked together real quick, I actually enjoyed the challenge it presented and I was asked for an update to it, so I went ahead and did that. It is compatible with the change sky mod, and I may add more features to it later, including an options GUI for it.
The first thing you want to do is find a tree, trust me.
This looks awesome. Is it possible to make the sky different colors too? Like red or green?
It kind of depends on what you are expecting. Cloud colors can currently be changed by coloring the clouds.png in minecraft.jar but gets blended with some functions of time of day. This mod works by having the various different calls to the time of day checks to return a -1. I also disabled the call to the draw lists that handle the horizons, disabled the draw lists for stars, and setting the clear-color to black. Since college started back up I probably wont have the time to make a fancy user interface like the previous skymod but if someone is willing to do it, I'm willing to help point them in the direction of the various functions that handle drawing the sky (It is pretty spread out and I did not experiment very much with it)
OK, thanks for explaining that to me. A gui that would allow you to change the color would be great. Maybe that will happen one day. I wish you the best with your college studies.
It kind of depends on what you are expecting. Cloud colors can currently be changed by coloring the clouds.png in minecraft.jar but gets blended with some functions of time of day. This mod works by having the various different calls to the time of day checks to return a -1. I also disabled the call to the draw lists that handle the horizons, disabled the draw lists for stars, and setting the clear-color to black. Since college started back up I probably wont have the time to make a fancy user interface like the previous skymod but if someone is willing to do it, I'm willing to help point them in the direction of the various functions that handle drawing the sky (It is pretty spread out and I did not experiment very much with it)
Strebler... if you don't get this message then I will email you... but I am curious into giving your mod a GUI.
The only issue is, if there's a lot of coding involved... as I can imagine is the case, I will have to learn java.
(UGGHHH.)
Anyway, tell me what you know and let's talk about this. Many people could benefit from a usable mod/application to change the environment values... I know I could.
By the by... is there any way to simply change the values of a beta minecraft map manually? Like text editing?
Strebler... if you don't get this message then I will email you... but I am curious into giving your mod a GUI.
The only issue is, if there's a lot of coding involved... as I can imagine is the case, I will have to learn java.
(UGGHHH.)
Anyway, tell me what you know and let's talk about this. Many people could benefit from a usable mod/application to change the environment values... I know I could.
By the by... is there any way to simply change the values of a beta minecraft map manually? Like text editing?
Minecraft maps are compressed in someway I believe so its probably not as simple as just text editing. There is a program out there for editing maps called MCEdit that is pretty fun to use.
A gui for my mod would probably be best to do through an added option when you go to the options screen. There would be a decent amount of coding I would imagine, and it would probably be best taking advantage of how java handles its classes. I code almost exclusively in C++ and doing mods for minecraft is my first time trying out anything java.
Strebler... if you don't get this message then I will email you... but I am curious into giving your mod a GUI.
The only issue is, if there's a lot of coding involved... as I can imagine is the case, I will have to learn java.
(UGGHHH.)
Anyway, tell me what you know and let's talk about this. Many people could benefit from a usable mod/application to change the environment values... I know I could.
By the by... is there any way to simply change the values of a beta minecraft map manually? Like text editing?
Minecraft maps are compressed in someway I believe so its probably not as simple as just text editing. There is a program out there for editing maps called MCEdit that is pretty fun to use.
A gui for my mod would probably be best to do through an added option when you go to the options screen. There would be a decent amount of coding I would imagine, and it would probably be best taking advantage of how java handles its classes. I code almost exclusively in C++ and doing mods for minecraft is my first time trying out anything java.
Strebler... if you don't get this message then I will email you... but I am curious into giving your mod a GUI.
The only issue is, if there's a lot of coding involved... as I can imagine is the case, I will have to learn java.
(UGGHHH.)
Anyway, tell me what you know and let's talk about this. Many people could benefit from a usable mod/application to change the environment values... I know I could.
By the by... is there any way to simply change the values of a beta minecraft map manually? Like text editing?
Minecraft maps are compressed in someway I believe so its probably not as simple as just text editing. There is a program out there for editing maps called MCEdit that is pretty fun to use.
A gui for my mod would probably be best to do through an added option when you go to the options screen. There would be a decent amount of coding I would imagine, and it would probably be best taking advantage of how java handles its classes. I code almost exclusively in C++ and doing mods for minecraft is my first time trying out anything java.
Darn... then this really is a whole lot more complicated then I first imagined.
Personally, I think that world environment properties should be implemented as customizable in the Minecraft application itself.
Minecraft is all about creation, right? ... So, why should we have to go through all this work to mod the worlds just to change the color. Just like texture packs, I think environments and seasons should also be editable.
Heck... what if you wanted two moons???!!
It would really be cool if Notch made that possible.
Every time that someone on the support forums doesn't say anything after I tell them a possible solution, I assume that they are having too much fun enjoying their fixed Minecraft to reply.
Heh, I typed in min and let the spellchecker choose a word, didn't even re-read my sentence, once music blocks are out I will make that a new mod, have all the creepers do a dance and blow up if the right sequence of notes are played.
Heh, I typed in min and let the spellchecker choose a word, didn't even re-read my sentence, once music blocks are out I will make that a new mod, have all the creepers do a dance and blow up if the right sequence of notes are played.
LOL. Nice. I'd love to see that.
If you had time to make that, though... Its certain you'd have plenty of time to make an extremely bare-bones basic program to change world environment colors, right???
Strebler... here's my question... What did you do to make this mod? What program did you use to tell minecraft to set all the default environment settings to -1? Was it java? And if so, does the mod set up the Minecraft app's defaults with these instructions... or the beta level.dat files themselves?
I know that you can simply change these settings on a classic level using the NBT Forge program. (viewtopic.php?f=25&t=6382)
So why can't you do the same thing for a alpha/beta level?
Heh, I typed in min and let the spellchecker choose a word, didn't even re-read my sentence, once music blocks are out I will make that a new mod, have all the creepers do a dance and blow up if the right sequence of notes are played.
LOL. Nice. I'd love to see that.
If you had time to make that, though... Its certain you'd have plenty of time to make an extremely bare-bones basic program to change world environment colors, right???
Strebler... here's my question... What did you do to make this mod? What program did you use to tell minecraft to set all the default environment settings to -1? Was it java? And if so, does the mod set up the Minecraft app's defaults with these instructions... or the beta level.dat files themselves?
I know that you can simply change these settings on a classic level using the NBT Forge program. (viewtopic.php?f=25&t=6382)
So why can't you do the same thing for a alpha/beta level?
Prepare for a wall of text!
I looked through the code and looked for areas where moon.png/sun.png/cloud.png were called, I knew that there would have to be a way to calculate where those were placed. Near to the moon/sun code I found an openGL drawlist call, which had the list for how the stars are drawn. (stars are randomly scattered rectangles of various sizes of which I could change, along with number of stars or even the pattern of how the stars are drawn)
Anyway, I found a few other functions that also had a call to the function that determined how the position is determined (position is a calculation based on the time of the world 0 being sunrise 6000 being noon, and so on, I replaced this with code that found out the hour of the clock and multiplied it by 1000 and added minutes in the hour to it, this change in code became the realtime mod). Mucking around with the other formulas gave me lighter/darker clouds, fog, and most of the sky. Changing the value to -1 gave both the fog and the clouds a dark black, setting it to 0 gave an odd blue/gray color to the fog and a light gray cloud (of early morning). Changing it to an even smaller number made fog thicker, and no big change to the clouds. The horizon is drawn using a drawlist call that smooths out the transition from horizon to sky, I simply deleted those drawlist calls. After that I was left with a constant color that was left on the horizon. I realized that this must be the glClearColor that is set so I looked for that function call and set it to be black.
None of these things were really that hard for me to do and only took me an hour or two of looking around the code to find. Since this was just changing a few lines of code and not an actual program on my part it was very easy and not time consuming on my end. If I were to make a program that allows all of this without modding the code directly I wouldn't even know where to begin.
I could probably find out where the functions I changed got called at, look through that code to determine where the final color call for the sky/fog is at and modify it there, and create some way to change it when you go to the options menu, but that would take me a lot of time to do and I hate making interfaces because that is a lot of effort since the only thing I wanted was a black sky to start with.
As a side note, if you change clouds.png by drawing pictures on it and set your render to fast that will change your sky.
Time Mod and Change Sky Gui 1.1.0 v1.00
Time is in a 24 hour format. 600 means 6 in the morning 1200 is noon, 2400 or 0 is midnight.
A while ago I responded to a request for an "Age of Darkness" Mod that I hacked together real quick, I actually enjoyed the challenge it presented and I was asked for an update to it, so I went ahead and did that. It is compatible with the change sky mod, and I may add more features to it later, including an options GUI for it.
The first thing you want to do is find a tree, trust me.
Link to the original thread.
Age of Darkness 1.8.1 v1.0
If you want to motivate me... donate using paypal! (I am poor and in college) </sob_story>:
Copyright:
It kind of depends on what you are expecting. Cloud colors can currently be changed by coloring the clouds.png in minecraft.jar but gets blended with some functions of time of day. This mod works by having the various different calls to the time of day checks to return a -1. I also disabled the call to the draw lists that handle the horizons, disabled the draw lists for stars, and setting the clear-color to black. Since college started back up I probably wont have the time to make a fancy user interface like the previous skymod but if someone is willing to do it, I'm willing to help point them in the direction of the various functions that handle drawing the sky (It is pretty spread out and I did not experiment very much with it)
Strebler... if you don't get this message then I will email you... but I am curious into giving your mod a GUI.
The only issue is, if there's a lot of coding involved... as I can imagine is the case, I will have to learn java.
(UGGHHH.)
Anyway, tell me what you know and let's talk about this. Many people could benefit from a usable mod/application to change the environment values... I know I could.
By the by... is there any way to simply change the values of a beta minecraft map manually? Like text editing?
Minecraft maps are compressed in someway I believe so its probably not as simple as just text editing. There is a program out there for editing maps called MCEdit that is pretty fun to use.
A gui for my mod would probably be best to do through an added option when you go to the options screen. There would be a decent amount of coding I would imagine, and it would probably be best taking advantage of how java handles its classes. I code almost exclusively in C++ and doing mods for minecraft is my first time trying out anything java.
Minecraft maps are compressed in someway I believe so its probably not as simple as just text editing. There is a program out there for editing maps called MCEdit that is pretty fun to use.
A gui for my mod would probably be best to do through an added option when you go to the options screen. There would be a decent amount of coding I would imagine, and it would probably be best taking advantage of how java handles its classes. I code almost exclusively in C++ and doing mods for minecraft is my first time trying out anything java.
Minecraft maps are compressed in someway I believe so its probably not as simple as just text editing. There is a program out there for editing maps called MCEdit that is pretty fun to use.
A gui for my mod would probably be best to do through an added option when you go to the options screen. There would be a decent amount of coding I would imagine, and it would probably be best taking advantage of how java handles its classes. I code almost exclusively in C++ and doing mods for minecraft is my first time trying out anything java.
Darn... then this really is a whole lot more complicated then I first imagined.
Personally, I think that world environment properties should be implemented as customizable in the Minecraft application itself.
Minecraft is all about creation, right? ... So, why should we have to go through all this work to mod the worlds just to change the color. Just like texture packs, I think environments and seasons should also be editable.
Heck... what if you wanted two moons???!!
It would really be cool if Notch made that possible.
http://en.wikipedia.org/wiki/Minuet
Wow. I said 4 pronouns in a confusingly weird sentence...
Heh, I typed in min and let the spellchecker choose a word, didn't even re-read my sentence, once music blocks are out I will make that a new mod, have all the creepers do a dance and blow up if the right sequence of notes are played.
LOL. Nice. I'd love to see that.
If you had time to make that, though... Its certain you'd have plenty of time to make an extremely bare-bones basic program to change world environment colors, right???
Strebler... here's my question... What did you do to make this mod? What program did you use to tell minecraft to set all the default environment settings to -1? Was it java? And if so, does the mod set up the Minecraft app's defaults with these instructions... or the beta level.dat files themselves?
I know that you can simply change these settings on a classic level using the NBT Forge program. (viewtopic.php?f=25&t=6382)
So why can't you do the same thing for a alpha/beta level?
Prepare for a wall of text!
I looked through the code and looked for areas where moon.png/sun.png/cloud.png were called, I knew that there would have to be a way to calculate where those were placed. Near to the moon/sun code I found an openGL drawlist call, which had the list for how the stars are drawn. (stars are randomly scattered rectangles of various sizes of which I could change, along with number of stars or even the pattern of how the stars are drawn)
Anyway, I found a few other functions that also had a call to the function that determined how the position is determined (position is a calculation based on the time of the world 0 being sunrise 6000 being noon, and so on, I replaced this with code that found out the hour of the clock and multiplied it by 1000 and added minutes in the hour to it, this change in code became the realtime mod). Mucking around with the other formulas gave me lighter/darker clouds, fog, and most of the sky. Changing the value to -1 gave both the fog and the clouds a dark black, setting it to 0 gave an odd blue/gray color to the fog and a light gray cloud (of early morning). Changing it to an even smaller number made fog thicker, and no big change to the clouds. The horizon is drawn using a drawlist call that smooths out the transition from horizon to sky, I simply deleted those drawlist calls. After that I was left with a constant color that was left on the horizon. I realized that this must be the glClearColor that is set so I looked for that function call and set it to be black.
None of these things were really that hard for me to do and only took me an hour or two of looking around the code to find. Since this was just changing a few lines of code and not an actual program on my part it was very easy and not time consuming on my end. If I were to make a program that allows all of this without modding the code directly I wouldn't even know where to begin.
I could probably find out where the functions I changed got called at, look through that code to determine where the final color call for the sky/fog is at and modify it there, and create some way to change it when you go to the options menu, but that would take me a lot of time to do and I hate making interfaces because that is a lot of effort since the only thing I wanted was a black sky to start with.
As a side note, if you change clouds.png by drawing pictures on it and set your render to fast that will change your sky.