[Mod] Weather (Snow, Rain) [weather]
Re: [Mod] Weather (Snow, Rain) [weather]
This mod is good though I haven't used any other mod.
I'd like to see a feature where it only eains or snows under clouds. Also I think gray raindrops would be better looking.
And I think it should rain or snow depending on the date and snow all day on Christmas.
What do you think of my ideas?
*EDIT* Does snow pile up?
I'd like to see a feature where it only eains or snows under clouds. Also I think gray raindrops would be better looking.
And I think it should rain or snow depending on the date and snow all day on Christmas.
What do you think of my ideas?
*EDIT* Does snow pile up?
I test mines.
- Nathan.S
- Member
- Posts: 1147
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: [Mod] Weather (Snow, Rain) [weather]
Looks like the particle spawner needs an update.
Code: Select all
12:33:52: ACTION[ServerThread]: Deprecated add_particlespawner call with individual parameters instead of definition
12:33:52: ACTION[ServerThread]: stack traceback:
12:33:52: ACTION[ServerThread]: [C]: in function 'add_particlespawner'
12:33:52: ACTION[ServerThread]: ...han/.minetest/mods/minetest-mod-weather/weather/snow.lua:19: in function <...han/.minetest/mods/minetest-mod-weather/weather/snow.lua:2>
12:33:52: ACTION[ServerThread]: /usr/share/minetest/builtin/game/register.lua:348: in function </usr/share/minetest/builtin/game/register.lua:336>
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
Re: [Mod] Weather (Snow, Rain) [weather]
Also in this world I have there is always this little cloud that rains in a 30x30 space and never moves. That's not supposed to happen, is it?
I test mines.
-
- Member
- Posts: 10
- Joined: Tue Nov 11, 2014 05:12
- IRC: Fredrick
- In-game: Fredrick
- Location: USA
Re: [Mod] Weather (Snow, Rain) [weather]
I have been looking for a weather mod for awhile now, no clue one already existed!! Thanks for posting!
Re: [Mod] Weather (Snow, Rain) [weather]
Adding this code to Snow.lua under the -- Snow cover section means the snow will gradually melt rather than forming a permanant white square on the ground...
Code: Select all
minetest.register_abm({
nodenames = {"weather:snow_cover"},
interval = 10.0,
chance = 20,
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.env:set_node(pos, {name = "default:water_flowing"})
end,
})
Re: [Mod] Weather (Snow, Rain) [weather]
Just a thought about the 30x30 cloud/square on the ground. If you randomly added snow to the ground further out without processing the falling snow. That way there wouldn't be any processor load, but it wouldn't look so artificial.
If you use voxel_manip then you force minetest to load the block which would be a bit safer than just hoping a distant block would be correctly set
Actually on the processor load front. Would it be possible to have a non-particle weather option (using animated walkable nodes). Every computer I've tried it on (including multi-processor pcs) have ground to a halt when the rain or snow starts.
Finally, as it is particularly uncool when it rains inside buildings, what about a quick height check? Something like this would work, you probably only need to check within 5-10 nodes of a player, and if wanted to be really efficient and kept it in an array and only tested unknown columns the speed cost should be pretty negligible:
If you use voxel_manip then you force minetest to load the block which would be a bit safer than just hoping a distant block would be correctly set
Code: Select all
local manip = minetest.get_voxel_manip()
manip:read_from_map(p, p)
Finally, as it is particularly uncool when it rains inside buildings, what about a quick height check? Something like this would work, you probably only need to check within 5-10 nodes of a player, and if wanted to be really efficient and kept it in an array and only tested unknown columns the speed cost should be pretty negligible:
Code: Select all
-- This will fail if ground level is below -100 or an obsticle above 96 (but this doesn't happen very often)
--if more robust code is needed then could start at cloud level and keep going down til you hit non-air
local manip = minetest.get_voxel_manip()
for i = 96, -100, -1 do
p = {x=targetX, y=i, z=targetZ}
manip:read_from_map(p, p)
if minetest.get_node(p).name ~= "air" and minetest.get_node(p).name ~= "ignore" then
groundLevel = i
break
end
end
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod] Weather (Snow, Rain) [weather]
viewtopic.php?f=9&t=9915 this may have some issues, needs more work, and no snow, but uses animated nodes, a method that has many advantages.dgm5555 wrote:Actually on the processor load front. Would it be possible to have a non-particle weather option (using animated walkable nodes).
- Samson1
- Member
- Posts: 95
- Joined: Wed Apr 01, 2015 19:41
- GitHub: MoJo4000
- IRC: Samson1
- In-game: Samson1
Re: [Mod] Weather (Snow, Rain) [weather]
I think it needs a bit of work, but I like it.
Last edited by Samson1 on Tue Nov 06, 2018 15:56, edited 1 time in total.
Re: [Mod] Weather (Snow, Rain) [weather]
Samson1: that's easier said than done but we would need to see minecraft code to see how THEY do it... lol... mods here start off glitchy but over time get better...
Re: [Mod] Weather (Snow, Rain) [weather]
That raining in houses issue is serious and it needs to be fixed
Re: [Mod] Weather (Snow, Rain) [weather]
I like having weather in Minetest, but I have one suggestion for improvement. I don't know how easily it can be done, but it would be cool if the clouds and sky could turn grey during rain or snow.
- benrob0329
- Member
- Posts: 1341
- Joined: Thu Aug 06, 2015 22:39
- GitHub: Benrob0329
- IRC: benrob0329
- In-game: benrob03
- Location: Michigan
- Contact:
Re: [Mod] Weather (Snow, Rain) [weather]
Could the rain or snow be controlled by the biom? E.g. if someone was in a snow biom there would ocationally be snowfall, and if they were in a rain forest there would be heavy rain every day, possibly even flash floods every blue moon.
Maybe even have seasons? Like every 180 days change the season?
Maybe even have seasons? Like every 180 days change the season?
- Samson1
- Member
- Posts: 95
- Joined: Wed Apr 01, 2015 19:41
- GitHub: MoJo4000
- IRC: Samson1
- In-game: Samson1
Re: [Mod] Weather (Snow, Rain) [weather]
Yes, it could, I am thinking of making a mod like this one thats more to Minecraft standards, like the rain falls into houses and it snows on the grass biom.benrob0329 wrote:Could the rain or snow be controlled by the biom? E.g. if someone was in a snow biom there would ocationally be snowfall, and if they were in a rain forest there would be heavy rain every day, possibly even flash floods every blue moon.
Maybe even have seasons? Like every 180 days change the season?
What would be good is to have a command so instead of it snowing/raining when I am making videos or when I don't want it to I can just type in "/downfall"
Re: [Mod] Weather (Snow, Rain) [weather]
(Not) the same mod mechanics with sound, skybox changes,storms and thunder added.
No weather transition code. Use /help weather
Download (1M)
No weather transition code. Use /help weather
Download (1M)
Spoiler
- mahmutelmas06
- Member
- Posts: 367
- Joined: Mon Mar 02, 2015 13:10
- GitHub: mahmutelmas06
- IRC: mahmutelmas06
- In-game: masum
Re: [Mod] Weather (Snow, Rain) [weather]
+1 for thundernm0i wrote:(Not) the same mod mechanics with sound, skybox changes,storms and thunder added.
- swordpaint12
- Member
- Posts: 191
- Joined: Sat Aug 22, 2015 00:50
- In-game: [swordpaint12][Belching_Balladeer]
- Location: Foobass, isle of Atlantis, castle of Bardvendelle
Re: [Mod] Weather (Snow, Rain) [weather]
Don't particles slow down the game? Is there a build that just kind of stains the screen like when underwater? Would that make the game faster? Could anyone do that?
God's not dead; remember that!
Yay for MT! No MC here!
I am a human. I'm younger than 100 years old.
I've been playing Minetest since December 2014.
I'm amazed that I haven't been on here in so long! My latest minetest accomplishment was mining by hand (well, as close as you can get in a computer game) a circle 30 blocks in diameter. It took forever but it's pretty cool.
Yay for MT! No MC here!
I am a human. I'm younger than 100 years old.
I've been playing Minetest since December 2014.
I'm amazed that I haven't been on here in so long! My latest minetest accomplishment was mining by hand (well, as close as you can get in a computer game) a circle 30 blocks in diameter. It took forever but it's pretty cool.
Re: [Mod] Weather (Snow, Rain) [weather]
I have made a mod that adds months. The weather is dependent on the month. It is still under development so don't expect it to be perfect. I used parts of this mod to make the weather. If anyone is brave enough to give it a try then the link is below.
Also if you are interested in helping me develop the mod then please PM me. I still have to add the credit to Jeija for the weather. I will do that very soon. I also plan on adding thunder.
https://github.com/DonBatman/mymonths
Also if you are interested in helping me develop the mod then please PM me. I still have to add the credit to Jeija for the weather. I will do that very soon. I also plan on adding thunder.
https://github.com/DonBatman/mymonths
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
Re: [Mod] Weather (Snow, Rain) [weather]
Another attempt to add more lag to the game.
This time I added rainbox for indoors weather. Idea is to draw additional particle spawners at 4,8,12 nodes if player is inside.
Download (800532)
License: Unilicense for code (WTFPL without swearing), CC0/CCA for sound (credits included), CC0 for textures.
This time I added rainbox for indoors weather. Idea is to draw additional particle spawners at 4,8,12 nodes if player is inside.
Download (800532)
Spoiler
- kaadmy
- Member
- Posts: 706
- Joined: Thu Aug 27, 2015 23:07
- GitHub: kaadmy
- IRC: KaadmY
- In-game: KaadmY kaadmy NeD
Re: [Mod] Weather (Snow, Rain) [weather]
That would be quite useful, and so would having a mod-changeable fog color/distance per client, like skyboxes.swordpaint12 wrote:Don't particles slow down the game? Is there a build that just kind of stains the screen like when underwater? Would that make the game faster? Could anyone do that?
Stains would be possible, but couldn't be animated.
Re: [Mod] Weather (Snow, Rain) [weather]
How do you tint the screen?kaadmy wrote: Stains would be possible, but couldn't be animated.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
- kaadmy
- Member
- Posts: 706
- Joined: Thu Aug 27, 2015 23:07
- GitHub: kaadmy
- IRC: KaadmY
- In-game: KaadmY kaadmy NeD
Re: [Mod] Weather (Snow, Rain) [weather]
You can apply HUD images; see playereffects in adventuretest, it makes the screen black while sleeping.Don wrote:How do you tint the screen?kaadmy wrote: Stains would be possible, but couldn't be animated.
- swordpaint12
- Member
- Posts: 191
- Joined: Sat Aug 22, 2015 00:50
- In-game: [swordpaint12][Belching_Balladeer]
- Location: Foobass, isle of Atlantis, castle of Bardvendelle
Re: [Mod] Weather (Snow, Rain) [weather]
Which I can't figure out how to get out of. Anyhoo, yes, how do you think they stain the screen when under water? I know it couldn't be animated, unless it switched between two or three "stains". A few weeks ago I was trying to puzzle out how to make an easy-use weather mod- or at least an idea for one- and I was talking with someone I know and he said that in some of the games he plays there is weather, but it is only on the player's screen instead of particles. So that's where I got that idea. There is also a mod somewhere in one of these forums and they have a big cluster of bubbles on the screen while doing something (that I forget) so that only reinforced my idea.kaadmy wrote:see playereffects in adventuretest, it makes the screen black while sleeping.
Ah yes, here it is. Survival mod. "Bubbles appear when underwater":
God's not dead; remember that!
Yay for MT! No MC here!
I am a human. I'm younger than 100 years old.
I've been playing Minetest since December 2014.
I'm amazed that I haven't been on here in so long! My latest minetest accomplishment was mining by hand (well, as close as you can get in a computer game) a circle 30 blocks in diameter. It took forever but it's pretty cool.
Yay for MT! No MC here!
I am a human. I'm younger than 100 years old.
I've been playing Minetest since December 2014.
I'm amazed that I haven't been on here in so long! My latest minetest accomplishment was mining by hand (well, as close as you can get in a computer game) a circle 30 blocks in diameter. It took forever but it's pretty cool.
Re: [Mod] Weather (Snow, Rain) [weather]
That's a great idea.swordpaint12 wrote:Which I can't figure out how to get out of. Anyhoo, yes, how do you think they stain the screen when under water? I know it couldn't be animated, unless it switched between two or three "stains". A few weeks ago I was trying to puzzle out how to make an easy-use weather mod- or at least an idea for one- and I was talking with someone I know and he said that in some of the games he plays there is weather, but it is only on the player's screen instead of particles. So that's where I got that idea. There is also a mod somewhere in one of these forums and they have a big cluster of bubbles on the screen while doing something (that I forget) so that only reinforced my idea.kaadmy wrote:see playereffects in adventuretest, it makes the screen black while sleeping.
Ah yes, here it is. Survival mod. "Bubbles appear when underwater":
I test mines.
Re: [Mod] Weather (Snow, Rain) [weather]
http://me0w.net/pit/1469394892 (.tar.gz) (611604b)
Clean-up of my previous and top-post version.
Requires serverstep < 0.2. Is not that laggy as before.
This version adds visual effects for toxic rain, blood rain, blood storm.
Clean-up of my previous and top-post version.
Requires serverstep < 0.2. Is not that laggy as before.
This version adds visual effects for toxic rain, blood rain, blood storm.
Spoiler
-
- Member
- Posts: 13
- Joined: Fri Jan 27, 2017 17:41
- In-game: Cupcake_Kitty
- Location: Stuck inside the Minetest engine.
Re: [Mod] Weather (Snow, Rain) [weather]
Last time I tried this was on my old Linux mac computer and my Minetest engine crashed when it began to snow. Now that I am on a Windows 8 HP will it not crash? Thanks.
Who is online
Users browsing this forum: Google [Bot] and 50 guests