[mod] Miniclime [stable]

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

[mod] Miniclime [stable]

by azekill_DIABLO » Post

Ok, I (think i) know what you will say. "another rain mod? why?". Why? Because I can't support anymore desert raining and rainforest snows. I want to create a simple weather system. Not laggy and still efficient. I'm currently working on it, in order to merge it with Mineclone2!

# added the 'roll_weather' command (privs: settime) which allows to set the weather quality to a random value, or a defined one.

Currently suport those weathers:

During day:
  • rain
  • snow
  • sandstorm
During night:
  • blizzard
  • fog
  • thunderstorm

Licensing and dependicies

License Depends:

Download this mod and view the source

Download .zip or just view the source code.

/// older versions

the .zip not updated
miniclime.zip
v2!
(31.69 KiB) Downloaded 132 times
Last edited by azekill_DIABLO on Tue Aug 08, 2017 16:40, edited 14 times in total.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
xeranas
Member
Posts: 162
Joined: Fri Feb 05, 2016 11:06

Re: [mod] Miniclime [soon][indev]

by xeranas » Post

azekill_DIABLO wrote:I can't support anymore desert raining and rainforest snows.
According release notes paramat mod snowdrift do some biome and temperature checks.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [soon][indev]

by azekill_DIABLO » Post

actually, i use it and i have those problems with it. same with your mod (not to hurt you).
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
xeranas
Member
Posts: 162
Joined: Fri Feb 05, 2016 11:06

Re: [mod] Miniclime [soon][indev]

by xeranas » Post

Newer intended to do biome calculation on client side as mod would be even more resource consuming. Instead hoped that feature #3685 will hit minetest one day.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [soon][indev]

by azekill_DIABLO » Post

i hope too! for now i check for nodes under the player. Seems not laggy for now, i run around 40fps
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [soon][indev]

by azekill_DIABLO » Post

Why no one thought using this

Code: Select all

collision_removal = true,
for particle definition?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

RELEASE! enjoy!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

IMAGES (ingame, no edit, fully natural and accurate):
Image
Image
Image

This mod also simulates wind.
Attachments
Snow.
Snow.
screenshot_20170515_132627.jpg (762.08 KiB) Viewed 1824 times
Sandstorm (dust).
Sandstorm (dust).
screenshot_20170515_132423.jpg (209.22 KiB) Viewed 1824 times
Rain.
Rain.
screenshot_20170515_132352.jpg (361.88 KiB) Viewed 1824 times
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: [mod] Miniclime [release][indev]

by paramat » Post

I use collision removal.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

ccol! and about the mod?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

Image
Attachments
screenshot_20170517_200259.jpg
screenshot_20170517_200259.jpg (231.45 KiB) Viewed 1824 times
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [mod] Miniclime [release][indev]

by Inocudom » Post

I believe that xeranas and azekill_DIABLO should consider working together, as things could be accomplished faster that way. I do like the idea of deserts having sandstorms.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

The second version is now added!

you now have different weathers if it is day or night and weather should be more rare!
there is FOG and BLIZZARD the night!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

BUMP
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: [mod] Miniclime [release][indev]

by paramat » Post

Please only bump if you have something to say.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

okay the thing i have to say is that i really need to feebback to improve this mod.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [mod] Miniclime [release][indev]

by bell07 » Post

You can get more feedback if you start usage of a git repo like github. In most cases I just ignore mods that have a zip file attached only. That's because I do not like to monitor the mod topic for updates and maintain the updates manually by re-download the zip-file. Using a git repo I can just checkout updates by script: viewtopic.php?f=14&t=16772
An reason for you: If you use a git platform you can get additional feedback as bug-reports or pull requests you can apply directly or reject them.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

i was waiting ot put on github :) i love this tool, but when the mod is very small, i kinda prefer using github. But in most case, the repo remains empty
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [mod] Miniclime [release][indev]

by bell07 » Post

The Github is not a publishing platform. The git idea is to coordinate developers collaboration and bring together his work, that means code-changes, documentation, bug-reports and corrections. So the code should be on github at early development state shortly before you announce the WIP in this section.
The best way is to use GIT-integrations in your development environment. If you on Windows you may need have a look to the TortoiseGIT: h[url]ttps://tortoisegit.org/docs/tortoisegit/tgit-dug.html[/url]

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

no stop with yur links i'm not a noob just a procrastinator. i'll do it right now just to make you stop learning things i already know (or that i think i know)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

done.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [mod] Miniclime [release][indev]

by bell07 » Post

Yea, sometimes I explain things just to be sure I did understand it right by self :-/ I see myself still as a lua/minetest noob

Now I looked to the mod and tested it. Great (and new) idea to use the surface node types to define the weather!
My Feedback I did as pull request on github. In short:

1. get the mod multiplayer-ready: removed PLAYER setting, loop over all players
Usage of minetest.conf settings should not be used as storage for internal data. The Weather was enabeled for the last logged in player only. Now each player get own weather according his position
- note: this commit does not change much code as visible in the diff-view. I indented the code because of a new loop.

2 Use local variables instead of global. Pls. note the globals could be overridden by other mods if any other dev decides to call his globals with the same names

3 randomize check position. Before the weather change was to instantly if the player moves from gras to snow and back

4. randomize start yes_or_no and define a loop with loopsize / ranges for this variable. Before the weather was started allways with precipitation. Without the ranges it was possible to get infinite sunshine.


EDIT: I do not see any indoor-detection, but the mod seems to be work correctly by spawning the paticles above usual ceiling hight. Other weather mods does additional check the particle spawn position using

Code: Select all

if minetest.get_node_light(pos, 0.5) == 15 then
the place is outdoor

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

thank you! i will look at that!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Miniclime [release][indev]

by azekill_DIABLO » Post

NEW VERSION! merged bell07's changes! thank you!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [mod] Miniclime [release][indev]

by ManElevation » Post

I like this weather mod better than the other one
My Public Mods! Discord: Rottweiler Games#3368

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests