1
0
mirror of https://github.com/t-affeldt/regional_weather.git synced 2024-11-18 00:18:21 +01:00
A diverse weather pack for Minetest using Climate API
Go to file
2020-05-29 22:02:12 +02:00
abms Implement i18n support 2020-05-29 22:02:12 +02:00
ca_effects Fix MTG warning, add configurability for lightning chances, nerf movement penalties 2020-05-16 16:20:47 +02:00
ca_weathers Disable snow in deserts, improve puddle clustering 2020-05-29 21:53:33 +02:00
locale Implement i18n support 2020-05-29 22:02:12 +02:00
sounds Implement light correction for HUD, create new artwork 2020-04-24 19:52:03 +02:00
textures Improve snow and rain performance, nerf block update speed 2020-04-25 15:50:45 +02:00
init.lua Implement i18n support 2020-05-29 22:02:12 +02:00
LICENSE.md Separate weathers from engine 2020-04-13 01:58:27 +02:00
mod.conf Bump version number 2020-05-13 16:05:54 +02:00
README.md Update to new particle API, improve night visibility, move damage effect, improve cloud height calculation 2020-04-28 01:23:46 +02:00
screenshot.2.png Tweak fog effect, add puddle variants, imrove frost HUD 2020-04-24 01:36:58 +02:00
screenshot.3.png Tweak fog effect, add puddle variants, imrove frost HUD 2020-04-24 01:36:58 +02:00
screenshot.4.png Tweak fog effect, add puddle variants, imrove frost HUD 2020-04-24 01:36:58 +02:00
screenshot.png Implement light correction for HUD, create new artwork 2020-04-24 19:52:03 +02:00
screenshot.webp Implement light correction for HUD, create new artwork 2020-04-24 19:52:03 +02:00
settingtypes.txt Fix minor typo 2020-05-16 16:28:47 +02:00

Regional Weather

A weather pack for Climate API by Till Affeldt (TestificateMods)

Not every biome is the same and neither should their weather be. Regional Weather controls its effects with the local climate in mind. Experience the humid air of the rain forest and harsh desert sandstorms.

Troubleshooting

Regional Weather depends on Climate API in order to function. Generally speaking, most mods should be compatible to it.

If you notice odd movement speeds or jump heights of players, you should check for mods that also modify player physics. Use a compatibility mod like player_monoids or playerphysics to get rid of this problem. This requires the conflicting mod to also support the chosen compatibility layer.

Mods that modify the sky (including skybox, moon, sun, stars and clouds) are sadly not fully compatible because they conflict with Climate API's sky system. You should deactivate the sky features in either mod. You can do this in Climate API's settings using the Override the skybox option. If you're a mod maker then you can also optionally depend on climate_api and use climate_api.skybox.add_layer(playername, layer_name, options) to register your skybox change in a compatible way. Note that you need at least Minetest v5.2.0 for skybox changes to have any effect.

Conflicting skybox changes include the weather mod included in vanilla Minetest Game. You will want to disable that mod in order to use the more advanced cloud system introduced by Climate API. Head to Settings → All Settings → Games → Minetest Game and set Enable weather to Disabled. This setting will only exist if you are using Minetest Game v5.2.0 or higher.

If you experience performance issues, the Performance section of Climate API's configuration section is a great place to start looking for a solution.

The following mods are recommended to be installed alongside Regional Weather:

  • Climate API (required): The necessary weather engine that this mod is built upon
  • Moon Phases: Complements weather effects with dynamic sky changes and a full moon cycle
  • Sailing Kit (Fork): Uses Climate API's new wind system to sail across the sea.
  • Lightning: Adds to heavy rain by enabling additional lightning effects
  • Farming (as part of MTG) or Farming Redo: Add farmland and crops to grow food. Farmland wil turn wet during rain effects.
  • Fire (as part of MTG): Adds fires that can be caused by lightning strikes and other effects and will be extinguished during rain effects.
  • Pedology Adds a lot of nodes with dynamic wetness and dryness states.
  • Ambience: Plays some nice ambient sound effects based on where you are.

For easier installation, you can get a lot of these mods as part of my Climate Modpack.

Configuration Options

You can find all mod configuration options in your Minetest launcher. Go to Settings → All Settings → Mods → regional_weather to change them. Also check out the options inside the climate_api section for additional configuration options, including performance tweaks and feature switches.

Features

  • Place snow layers (default true): If set to true, snow layers will stack up during snowy weather.
  • Freeze river water (default true): If set to true, river water sources will freeze at low temperatures and melt when it gets warmer again. This process does not affect regular ice blocks because it adds its own temporary ones.
  • Place rain puddles (default true): If set to true, water puddles will form during rain or when snow layers have melted.
  • Hydrate farmland (default true): If set to true, rain will cause dry farmland to turn wet. Requires farming or farming_redo mod.
  • Extinguish fire (bool true): If set to true, fires will be extinguished during rain showers. Requires fire mod.
  • Wetten pedology nodes (default true): If set to true, rain will wetten or dry nodes from pedology mod. Requires pedology mod.

World Configuration

  • Maximum height of weather effects (default 120): No visual effects will be applied above this height. This value defaults to normal cloud height (120 nodes above sea level).
  • Minimum height of weather effects (default -50): No visual effects will be applied below this height. This will prevent unwanted visuals within large underground caves.
  • Cloud height (default 120) Average height of cloud bases
  • Cloud height variation (default 40) Maxmial variation of cloud height from base value

License information

Source Code

Unless otherwise stated, this source code is written entirely by myself. You are free to use it under a GNU Lesser General Public License version 3. You can find respective rights and conditions in the attached LICENSE file. The entire source code is available on Github.

Particles

  • Hail textures: CC BY-SA (3.0) made by me
  • Snow flake textures: CC BY-SA (3.0) by paramat, found in snowdrift mod at https://github.com/paramat/snowdrift
  • Snow composite texture: CC BY-SA (3.0) by Cap, created from aforementioned snow flakes by paramat (please credit original artist as well)
  • Rain textures: CC BY-SA (3.0) by Cap (an original design for this mod)

Block Textures

  • Puddle textures: CC BY-SA (3.0) by Cap
  • Snow layers and ice block using textures from default (not included)

Sounds

HUD Overlays

Assets in screenshots

Full License Conditions