Page 1 of 1

Temperature.

PostPosted: Sat Apr 04, 2015 11:25
by ABJ
Could we have temperature again in Minetest? It would add depth to the game. I know it used to be there and was removed so I am asking it to be returned. Can you do this? Or is it too CPUI?

Re: Temperature.

PostPosted: Sat Apr 04, 2015 11:30
by riff
sounds cool maybe ice could have a ABM for if you walk on it for too long or maybe when you lose health from falling off stuff it hurts 20% more at night than at day also you could add seasons but snow could not be in the default game because it would take up to much CPU, maybe we could work on this as a mod, I know a bit of lua do you? we could test it on my server

Re: Temperature.

PostPosted: Sat Apr 04, 2015 12:30
by ABJ
riff wrote:sounds cool maybe ice could have a ABM for if you walk on it for too long or maybe when you lose health from falling off stuff it hurts 20% more at night than at day also you could add seasons but snow could not be in the default game because it would take up to much CPU, maybe we could work on this as a mod, I know a bit of lua do you? we could test it on my server

I don't know lua, sadly. But if you (or someone else) could teach me, I will definitely help :) I'm very eager to mod MT.

Re: Temperature.

PostPosted: Sat Apr 04, 2015 12:59
by riff
ABJ wrote:
riff wrote:sounds cool maybe ice could have a ABM for if you walk on it for too long or maybe when you lose health from falling off stuff it hurts 20% more at night than at day also you could add seasons but snow could not be in the default game because it would take up to much CPU, maybe we could work on this as a mod, I know a bit of lua do you? we could test it on my server

I don't know lua, sadly. But if you (or someone else) could teach me, I will definitely help :) I'm very eager to mod MT.

yeah, do you know any other languages and have you tried the tutorial

Re: Temperature.

PostPosted: Sat Apr 04, 2015 18:17
by rubenwardy
This is, obviously, the best tutorial and guide to learning to mod:

http://rubenwardy.com/minetest_modding_book/

Re: Temperature.

PostPosted: Sat Apr 04, 2015 19:00
by paramat
Dynamic temperature was removed but every mapgen has a per-node temperature for locating biomes.

Re: Temperature.

PostPosted: Sun Apr 05, 2015 16:03
by ABJ
paramat wrote:Dynamic temperature was removed but every mapgen has a per-node temperature for locating biomes.

That's what I'm talking about. I'm talking about bringing back freezing water and melting ice and lava turning to obsidian etc

Re: Temperature.

PostPosted: Sun Apr 05, 2015 16:04
by ABJ
rubenwardy wrote:This is, obviously, the best tutorial and guide to learning to mod:

http://rubenwardy.com/minetest_modding_book/

You have a website? Yaaaay :D

Re: Temperature.

PostPosted: Sun Apr 05, 2015 16:55
by ABJ
Thanks rubenwardy now I've made my first node :D it's little more than a diamond that's been slimed :P

Re: Temperature.

PostPosted: Wed Apr 08, 2015 14:19
by Gael de Sailly
paramat wrote:every mapgen has a per-node temperature for locating biomes.

Weather : we need normalizations !
That's a big issue in Minetest.

Re: Temperature.

PostPosted: Wed Apr 08, 2015 14:57
by 12Me21
ABJ wrote:Thanks rubenwardy now I've made my first node :D it's little more than a diamond that's been slimed :P

can we see the code? (and textures?)

Re: Temperature.

PostPosted: Wed Apr 08, 2015 15:55
by ABJ
12Me21 wrote:
ABJ wrote:Thanks rubenwardy now I've made my first node :D it's little more than a diamond that's been slimed :P

can we see the code? (and textures?)

As for the code..........
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
minetest.register_node("basic_node:diamond", {
   description = "Alien Diamond",
   tiles = {"mymod_diamond.png"},
   is_ground_content = true,
   groups = {cracky=3, stone=1}
})

Texture (Original diamond block texture from Minetest_game by who ever made it E|:-))
Image

Re: Temperature.

PostPosted: Wed Apr 08, 2015 19:22
by paramat
Dynamic temperature / humidity is too complex and unnecessary to be in core, so should be a mod thing. Seasonal changes should also be a mod thing because the Minetest world has no seasons, there is no tilt to the axis and the sun always goes overhead

Re: Temperature.

PostPosted: Wed Apr 08, 2015 20:20
by prestidigitator
paramat wrote:Seasonal changes should also be a mod thing because the Minetest world has no seasons, there is no tilt to the axis and the sun always goes overhead


While that might be true for light and rendering, obviously there is some kind of concept of years, which implies seasons of some sort conceptually. From minetest.conf.example:

# Length of year in days for seasons change.
# With default time_speed 365 days = 5 real days for year, 30 days = 10 real hours.
#year_days = 30

Re: Temperature.

PostPosted: Wed Apr 08, 2015 22:29
by paramat
Aha that's a leftover from dynamic climate, that needs to be removed, i might do this later.

Re: Temperature.

PostPosted: Wed Apr 22, 2015 14:32
by proller
dynamic temperature and humidity maps with seasons changing still available in freeminer.

Re: Temperature.

PostPosted: Wed Apr 22, 2015 14:41
by ABJ
proller wrote:dynamic temperature and humidity maps with seasons changing still available in freeminer.

proller why did you actually have to remove that feature from Minetest? It really hit me hard on the chin.

Re: Temperature.

PostPosted: Wed Apr 22, 2015 14:52
by proller
Because other devs was against this features.
Also first versions was slow, and was impossible to improve things in minetest.

Re: Temperature.

PostPosted: Wed Apr 22, 2015 15:23
by ABJ
proller wrote:Because other devs was against this features.
Also first versions was slow, and was impossible to improve things in minetest.

-It is still available as a mod?
-How was it not possible to do so?

Re: Temperature.

PostPosted: Wed Apr 22, 2015 15:26
by ABJ
BTW I just remembered:
I don't know how to run Freeminer. There is no .exe in there. And no bin folder as well. Is it uncompiled? ( >:( )

Re: Temperature.

PostPosted: Wed Apr 22, 2015 16:21
by proller
parts of weather (rain, snow, node definitions) works from mod. but only in freeminer ;)
latests windows build:
http://freeminer.setun.net/build/freemi ... -win32.zip
why you need bin folder ?