[Mod] Snow, rain, clouds (with sound) [snowdrift]
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
The current settings (not including your suggested change to SETCHA) seem to be working pretty well, at least server-side. I'm standing in the middle of a snowfall with dozens of particles around me, and I see no appreciable effect on CPU usage (it's floating at close to 15%, which is around what I should see at this moment).
The length of time that the snow falls, and the size of the area in which it falls, and the snow accumulating on the ground, are perfect! The only question now is ramping up just how many particles are falling at their peak.
As for snow on deserts, it's okay to allow rain and snow to fall and accumulate on deserts, as this does happen on occasion in real life, just don't let it fall/accumulate in the middle of a huge desert is all.
Oh, one other thing: don't change any of the current variable names or their default settings - I don't wanna have to rewrite my buildbot scripts ;-)
The length of time that the snow falls, and the size of the area in which it falls, and the snow accumulating on the ground, are perfect! The only question now is ramping up just how many particles are falling at their peak.
As for snow on deserts, it's okay to allow rain and snow to fall and accumulate on deserts, as this does happen on occasion in real life, just don't let it fall/accumulate in the middle of a huge desert is all.
Oh, one other thing: don't change any of the current variable names or their default settings - I don't wanna have to rewrite my buildbot scripts ;-)
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Uh ... the raindrops seem big and too slow, they're not meant to be realistic but cute, i'll try a 4x4 pixel drop and see how it looks. These fall at 8m/s which is normal for a large raindrop, perhaps it looks slow for a ball-sized object.
VanessaE,
> don't change any of the current variable names or their default settings
funny
I wont change the existing variable names, default settings will certainly change best be prepared for that.
gsmanners, try reducing parameter PPPCHA slightly, this controls snowfall heaviness, number of particles.
To compensate that you can create the illusion of more snow by reducing the area they spawn over ...
Edit the first line of each add particle statement to that, i might even make this default. The disadvantage is that when walking at 4m/s you might out-walk the snowfall before it gets down to your level.
VanessaE,
> don't change any of the current variable names or their default settings
funny
I wont change the existing variable names, default settings will certainly change best be prepared for that.
gsmanners, try reducing parameter PPPCHA slightly, this controls snowfall heaviness, number of particles.
To compensate that you can create the illusion of more snow by reducing the area they spawn over ...
Code: Select all
minetest.add_particle(
{x=pposx-32+math.random(0,63), y=pposy+16, z=pposz-16+math.random(0,63)}, -- posi
Last edited by paramat on Fri Jan 24, 2014 01:10, edited 1 time in total.
Hmm...
I think you meant:
Otherwise you'll get:
I think you meant:
Code: Select all
minetest.add_particle(
{x = ppos.x - 32 + math.random(0,63), y = ppos.y + 16, z = ppos.z - 16 + math.random(0,63)}, -- posi
But, yeah. That otherwise sorts out my frame rate issue.attempt to perform arithmetic on global 'pposx' (a nil value)
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Sorry or the delayed reply, how long would these seasons be? At the moment this
controls when there is precipitation, 'os.clock' is time in seconds since server start, might have to use 'os.date' http://www.lua.org/manual/5.2/manual.html#pdf-os.date instead to extract real-life time and date. Should be pretty easy ... im not interested enough to spend time on it though
Code: Select all
local perlinp = minetest.get_perlin(813, 1, 0.5, SCALP)
if perlinp:get2d({x = os.clock()/60, y = 0}) < PRET then
return
end
Last edited by paramat on Tue Feb 18, 2014 11:57, edited 1 time in total.
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
Version 0.3.0
Update particle spawn format.
Added snow heaviness parameter FLAKES.
Rain off by default as some find it rather silly, see my 'rain' mod for heavier rain.
Snow, rain twice as heavy by default, on slower computers you may need to reduce heaviness parameters FLAKES and DROPS to maintain your FPS.
I'm continuing to use a square raindrop because i prefer it, it's cuter and more abstract, in Minetest many round things are square. See VanessaE's server version for an alternative raindrop.
Update particle spawn format.
Added snow heaviness parameter FLAKES.
Rain off by default as some find it rather silly, see my 'rain' mod for heavier rain.
Snow, rain twice as heavy by default, on slower computers you may need to reduce heaviness parameters FLAKES and DROPS to maintain your FPS.
I'm continuing to use a square raindrop because i prefer it, it's cuter and more abstract, in Minetest many round things are square. See VanessaE's server version for an alternative raindrop.
Last edited by paramat on Wed Sep 17, 2014 23:39, edited 1 time in total.
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
Does it rain or is it just snow?
I test mines.
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
Yeah there's an option for rain, enable it by editing the init.lua file. It's disabled by default because particles are processing heavy and so the rain is too light. See my WIP 'rain' mod for a new method viewtopic.php?f=9&t=9915
It's funny how snowdrift mod stops precipitating when a player goes indoors. For rain particularly the rain mod method is better, the rain can grow plants, grow saplings etc because it's there on the server as an actual node instead of a client-side particle.
It's funny how snowdrift mod stops precipitating when a player goes indoors. For rain particularly the rain mod method is better, the rain can grow plants, grow saplings etc because it's there on the server as an actual node instead of a client-side particle.
- Minetestforfun
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
Why don't you merge your snowdrift mod with your rain mod ?
The rain of snowdrift is very poor and not very interresting like a "beta" try, while your rain mod is very... interresting and "finished" :)
The rain of snowdrift is very poor and not very interresting like a "beta" try, while your rain mod is very... interresting and "finished" :)
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
Hey, you should make it always snow on Christmas! XD
EDIT 1: Are there snow clouds?
EDIT 1: Are there snow clouds?
I test mines.
-
- Member
- Posts: 391
- Joined: Sun Jan 01, 2012 17:21
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
What about changing the clouds to darker color or more dense filling the sky in rain storms... maybe even thunder and lightning?
(Of course, how much realism in a game is necessary?
(Of course, how much realism in a game is necessary?
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
Been using the mod. pretty good! 1 thing tho. Is it supposed to only EITHER rain or snow? Also no offense the rain texture is terrible. They look like bubbles. Ill post my custom texture later this week. if you want it.
I test mines.
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
Yes it should rain or snow in a particular location, but there can be areas of snow and areas of rain in one world, this is all set by the noise parameters.
Please do post your texture here but i won't include it in the mod:
"I'm continuing to use a square raindrop because i prefer it, it's cuter and more abstract, in Minetest many [real life] round things are square. See VanessaE's server version for an alternative raindrop."
Perhaps due to MC people expect a long linelike raindrop, in 'real life' this is just due to vision blurring, i don't like including any kind of vision blur in MT, your eyes do that anyway due to motion so it's redundant, it also requires a much larger texture and obscures more of the scene behind. I release my raindrop texture understanding that most players will probably prefer and use a different texture. So no offence is taken.
For better rain see my rain mod, although it may need some improvement.
Please do post your texture here but i won't include it in the mod:
"I'm continuing to use a square raindrop because i prefer it, it's cuter and more abstract, in Minetest many [real life] round things are square. See VanessaE's server version for an alternative raindrop."
Perhaps due to MC people expect a long linelike raindrop, in 'real life' this is just due to vision blurring, i don't like including any kind of vision blur in MT, your eyes do that anyway due to motion so it's redundant, it also requires a much larger texture and obscures more of the scene behind. I release my raindrop texture understanding that most players will probably prefer and use a different texture. So no offence is taken.
For better rain see my rain mod, although it may need some improvement.
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
Thats fine. I still say it looks like a bubble though. More round than square looking.
I test mines.
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
Does snow accumulate on top of other snow blocks?
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
I'm considering that, this mod needs work and i might remove the rain in the near future. I was thinking if snow lands on snow make a snowblock. There is a 'levelled' feature usable with snow but that's a little too high-resolution for me. Also i want to work on custom skyboxes for a dark sky, 2 or more will be needed to work at night too.
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
How about after it stops snowing for a while, some of the snow blocks temporarily turn into water sources, creating a flood. (but only if there's a lot of snow)
I test mines.
Re: [Mod] Snowfall, rainfall, settling snow [0.3.0] [snowdri
That is an interesting idea,but I must object. The section of the map that is temporarily covered in water would be such a pain to go thought. Water slows your speed so much. If you are scouting out an area, (like I do) it would be a major pain.
Who is online
Users browsing this forum: No registered users and 1 guest