Closed matshou closed 4 years ago
The temperature should decrease depending upon the number of blocks directly above the player.
e.g. Check above players Y level + 2 to Y=256. For every 3 blocks above the player, reduce temp. value by 5°C.
This is to simulate the temperature decreasing when the player is underground or in a cave/structure.
Am I right to assume that these temperature values are calibrated for the desert biome?
Pretty much, yes.
(btw I would like to catch up on the main feature developments on the 10th if possible over voice chat if that's ok with you.)
Does this mean that temperature feature will only work in deserts?
After reading this post on Reddit it would seem that Minecraft already does have a temperature system where each biome is assigned a constant temperature value used to color foliage.
btw I would like to catch up on the main feature developments on the 10th if possible over voice chat if that's ok with you.
Not much to catch up at the moment, I am currently working on this feature and am in general informing you of my progress regularly. As you've seen a day or so ago in a live-stream I did me and Rellit found out how the GUI is being drawn on the screen and were able to draw a purple xp bar in place of the vanilla one.
Now that the GUI system has been researched I will focus on implementing the temperature system in the next two days in which I will hopefully have an early system ready.
Ah, sorry I misinterpreted.
The temp. values are based upon the temperature range that occurs in real life deserts.
Our temperature system should be kept separate.
I would like to discuss a shadow/ray detection system to help implement a mechanic where shade/caves are able to provide relief by reducing the temperature.
That's a great idea! Let's move this discussion in #24
A temperature
> 45°C
will slightly blur the players vision and cause nausea; given there are no blocks above the player providing protection from the sun.A temperature
> 55°C
will reduce the player's current health by20
every half hour (Minecraft Time - MT).A temperature
< 4°C
will gradually reduce the player's movement speed; and will reduce their health by10
every half hour (MT) .See #4 to understand the day/night cycle implementation
This temperature system should (for now) only operate when the player enters a Desert biome specifically.