[mod] Miniclime [stable]

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

[mod] Miniclime [stable]

by azekill_DIABLO » Fri May 12, 2017 17:25

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 41 times
Last edited by azekill_DIABLO on Tue Aug 08, 2017 16:40, edited 14 times in total.
 

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

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

by xeranas » Fri May 12, 2017 20:24

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: 7459
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

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

by azekill_DIABLO » Sat May 13, 2017 09:30

actually, i use it and i have those problems with it. same with your mod (not to hurt you).
 

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

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

by xeranas » Sat May 13, 2017 16:13

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: 7459
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

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

by azekill_DIABLO » Sun May 14, 2017 11:18

i hope too! for now i check for nodes under the player. Seems not laggy for now, i run around 40fps
 

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

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

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

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

by azekill_DIABLO » Mon May 15, 2017 11:29

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

This mod also simulates wind.
Attachments
screenshot_20170515_132627.jpg
Snow.
(762.08 KiB) Not downloaded yet
screenshot_20170515_132423.jpg
Sandstorm (dust).
(209.22 KiB) Not downloaded yet
screenshot_20170515_132352.jpg
Rain.
(361.88 KiB) Not downloaded yet
 

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

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

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

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

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

by Inocudom » Wed May 17, 2017 22:10

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.
Recovering from the abomination I am. Clocking time for Garry's Mod I am too.
 

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

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

by azekill_DIABLO » Sun May 28, 2017 12:38

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!
 

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

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

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

by paramat » Fri Jun 09, 2017 17:58

Please only bump if you have something to say.
 

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

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

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

by bell07 » Sat Jun 10, 2017 17:59

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: https://forum.minetest.net/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: 7459
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

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

by azekill_DIABLO » Sat Jun 10, 2017 18:25

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
 

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

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

by bell07 » Sat Jun 10, 2017 18:48

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: https://tortoisegit.org/docs/tortoisegit/tgit-dug.html
 

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

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

by azekill_DIABLO » Sun Jun 11, 2017 12:59

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)
 

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

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

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

by bell07 » Sun Jun 11, 2017 17:07

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: 7459
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

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

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

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

by ManElevation » Wed Jul 26, 2017 23:11

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

Next

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 1 guest