Valheim
Install with App

Details

Latest version
1.2.0
Last Updated
First Uploaded
Downloads
7.8K
Likes
12
Size
40MB
Dependants

Categories

ADDatHost Valheim hosting
30% off

WeatherOverhaul

Valheim's weather is a painted backdrop: flat cloud layers, a sky that is mostly a colour gradient, and a thick fog that hides everything a few hundred metres out. WeatherOverhaul replaces it with a real sky. Clouds have volume and drift with the wind, rain comes in under a dark front, the air is clear enough to see the next island, and sunlight falls through the trees in shafts. Everything still follows the game's own weather, biomes and time of day, so a storm is still a storm and the Mistlands still look like the Mistlands.

What you get

  • Sky. A physical atmosphere: blue days, red and golden sunsets, a long twilight after the sun goes down and a moonlit night. The game's stars, northern lights and sun stay. The moon goes through its phases over 30 game days.
  • Clouds. Volumetric clouds instead of the flat layers: fair-weather cumulus, broken clouds with the sun in the gaps, dark rain and storm decks, snow and fog banks, and cirrus high up that catches the sunset. Their shadows sweep over the land on fair days, and water reflects them.
  • Weather fronts. A change of weather shows up upwind first and passes overhead when the game switches. Distant rain falls from the clouds in grey shafts.
  • Lightning. Bolts, flashes inside the clouds and thunder that arrives late from far strikes. Thunderstorms can also come to the Plains and the Swamp, where the game has none.
  • Clearer air. You see 5 to 8 times further than in the vanilla fog: about 6 km on a clear day, about 1 km in rain. Fog thins out with height, so hilltops rise out of it. Some mornings have mist in the lowlands, and a light mist lies over the open sea. The Mistlands keep the game's own short view.
  • Light shafts. Sun and moonlight fall through gaps in trees, mountains and clouds, strongest in mist and haze.
  • Lamplight in the air. Fires, torches, braziers and lanterns light the haze round them, most at night in mist; walls and rocks stop the glow.
  • Snow. Softer falling snow that roofs and rock keep off, snow drifting along the ground in strong wind, and a snow layer on the mountains that covers the rocks too.
  • Rain. Thin, clear drops slanted by the wind, thicker in a downpour, fading into a soft haze of rain further off. Roofs, overhangs and rock keep it off. Drops near a lamp take its colour, and a fire the rain reaches gives off steam.
  • Wet world. Rain darkens the ground, rocks and walls under open sky, each by what it is made of, and makes them gleam while it rains; walls run with streaks and rivulets and roofs drip from their edges. The gleam goes soon after the rain, the darkness slowly, in patches; whatever has a roof over it stays dry.
  • Puddles. Rain fills small dips in the ground. You can see the bottom through the water, raindrops ring the surface, and the puddles dry up after the rain.
  • Fireflies. On dry nights in the Meadows, the Black Forest and the Plains.
  • Biomes keep their mood. Ash and a red glow over the Ashlands, low lilac clouds over the Mistlands, cold clean air in the Deep North, humid haze over the Swamp.

Requirements

  • BepInEx for Valheim (required)
  • Configuration Manager (optional; it lists only the settings window's key, the settings are in the window, see Settings)
  • FarLands (optional; with it the air also lies over FarLands' distant land)

Installation

  1. Close Valheim.
  2. Extract the archive into the Valheim game folder, so that the DLL ends up at Valheim/BepInEx/plugins/WeatherOverhaul.dll. With a mod manager, install it as usual.

Multiplayer

Client-side only. The server and other players need nothing, and nothing is written to your world. Players who have the mod see the same sky, clouds and air, because all of it comes from the world's own weather and time. Players in one thunderstorm see the same lightning strike at the same moment and hear the same thunder. The rare bolts close to a player are shared only with players who have that player loaded (about 100 m) or who see them on the map. The clouds' drift and fireflies are worked out on each machine, so they differ between players.

Performance

At Ultra with every part on, the mod costs about 2.4-3 ms of GPU time per frame at 2560x1440 on an RTX 4070 SUPER, mostly for the clouds. On a weaker card pick a lower Profile, or turn off the parts you can live without.

Settings

Everything is in BepInEx/config/ru.ivest.weatheroverhaul.cfg and changes apply while you play. Each part of the mod has its own section with an Enabled switch. Turning a part off gives you the game's own version of it back; General.Enabled turns the whole mod off, and is the switch on its card in the settings window.

Settings window. Press F4 (the key is General.SettingsWindowKey; Configuration Manager lists it and every other setting too). The window is in Russian when the game is (the settings' names and descriptions too; the file keeps its English keys and values), in English otherwise; it moves by its head and resizes by its corner, and opens again where it was left. Each section is a tab; a slider applies while you drag it and the window turns see-through so you can watch the world change. Curves are set by dragging their points (double-click adds one, right-click removes one; a low and a high curve of one setting are one item on one plot, the band between them filled; a dragged point lands on the step the plot's labels show, 0.1 for the shafts' curves). The Weathers tab shows one sky type or weather at a time with what its values come to together with its sky type's, and can show that weather now until the window closes. Export saves your look as a preset to BepInEx/config/presets/ru.ivest.weatheroverhaul/ or copies it as text; Import or Preset applies one, listing what it changes first, and Undo takes it back. Settings that depend on your computer (resolutions, steps, keys) stay out of presets unless you tick them in.

General

Setting Default What it does
Enabled on The whole mod. Off gives you the game's own weather, sky, fog and light back, the main menu's too; the parts' switches and your settings stay as they are.
Profile Auto Quality: Auto picks one for your PC; Low, Medium, High and Ultra force one; Custom is Auto plus your own changes.

Settings set to -1 follow the profile. Any other value overrides the profile for that setting only.

Sky

Setting Default What it does
Enabled true The physical sky.
SkyBrightness 0.8 Daytime sky brightness compared to the game's.
NightBrightness 1 Night sky brightness compared to the game's.
MoonPhases true Moon phases over 30 game days, the same for every player. Off: a full moon every night.
MoonPhaseKeys true The moon's phase as a world key for other mods' scripts (e.g. only at the full moon): moon_new, moon_waxing_crescent, moon_first_quarter, moon_waxing_gibbous, moon_full, moon_waning_gibbous, moon_last_quarter, moon_waning_crescent. Changes at noon, so a night has one phase. Set by any player with the mod; the server needs nothing.
MoonPhaseKeyPrefix moon_ The moon keys' prefix.
MainMenu true The sky and clouds over the main menu too.
MainMenuSun 3.6 The sun's height over the main menu, in degrees (11 = the game's own menu evening, below 0 = dusk).
VanillaSkyColour 1 How much of the game's own sky colour to keep (0 = pure physical colours).
HorizonFog true Fades distant land into the sky's colour. Only used while Air is off.
Clouds true Volumetric clouds.
CloudBrightness 0.7 Cloud brightness. Lower gives grey bases and more shape.
CloudDiffuseLight 0.5 Sunlight scattered through dense clouds onto their undersides. 0 = grey-beige bases at noon, 1 = whiter, flatter clouds.
ExtraCloudLayers true Altocumulus and distant towering cumulus on some fair days.
CloudParallax 1 How much the clouds shift as you move. 1 = like real clouds, 0 = fixed like the game's. Under 1 the clouds' shadows no longer lie under the clouds you see.
CloudShadows true Cloud shadows on the land.
StormFlashes true Lightning flashes inside storm clouds.
FrontLeadSeconds 90 How early a new weather's front appears. 0 turns fronts off.
YggdrasilFog 0.5 How much of its own haze the world tree keeps (1 = as in the game).
YggdrasilAirHaze true The air's haze over the world tree, like over distant land.
YggdrasilBehindClouds true Draw the world tree behind the clouds rather than in front of them.
CloudVariant 0 For browsing: shows the current weather with the sky of a later weather period. Set back to 0 to play.
HighLayer the period's own For browsing: shows one of the high cloud layers. Set back to the period's own to play.
SkyViewSteps, CloudSteps, DomeResolution, ShadowResolution -1 Quality of the sky, clouds, cloud reflections and cloud shadows.

Air

Setting Default What it does
Enabled true Clearer air instead of the game's fog.
AirStyle North North: clean northern air, deeper blue at dusk. Earth: an average atmosphere.
Haze Standard Clear, Light, Standard or Thick. Sets the three haze settings below at once; changing one of them by hand shows Custom.
NearHaze 0.6 How much of the game's haze stays close to you.
NearHazeDistance 50 Over how many metres the near haze fades out.
FarLandsHaze 1 Haze over FarLands' distant land in clear weather (only with FarLands).
VisibilityScale 1 Multiplies how far you can see in every weather.
VanillaFogColour 0.35 How much of the game's own fog colours each biome's fog and haze keep, around and towards the sun (the Plains' warm haze, the Black Forest's green-blue). 0 = the colour of the sky behind the fog (the Mistlands keep the game's, the Ashlands half), 1 = the game's everywhere. The sky low over the horizon takes the same share of the game's fog; with Air off, Sky's HorizonFog does. Around sunrise and sunset the fog gives way to the sky's colour, so each day's dawn and dusk keep their own.
MistLimit 0.8 How much the morning mist can hide in the distance. Higher turns it into a grey wall; 0 = no limit.
SeaMist true Mist over the open sea, so distant shores fade instead of all being in view.
SeaMistOnlyAtSea true Only show the sea mist while you are out at sea.
SeaMistVisibility 1500 How far you see through the sea mist, in metres.
SeaMistHeight 150 How high the sea mist reaches, in metres.
HazeInReflections true Water reflects distant shores through the haze.
VolumetricLight true Light shafts in the air. Off on Low.
ShaftStrength 2 How bright the shafts of sun and moonlight through gaps in the trees, between buildings and through windows are, seen from any side. 0 turns the shafts off.
ShaftDay -1 How dusty the air is for the shafts: -1 as each day has it (some clean, some dusty); 0 a clean day to 1 a dusty one, to see how other days look. After rain the air is dustier for a while either way.
ShaftPlaces -1 How many of the gaps carry a shaft: -1 as the day has it (ShaftOpeningsLow to ShaftOpeningsHigh); 0 none to 1 every gap, on every day.
ShaftGapShade 0.75 How closed round a gap must be for a shaft: lower, any break in the canopy; higher, only openings in dense cover (fewer shafts).
ShaftBrightnessLow, ShaftBrightnessHigh 0:0.2, 0.2:0.4, 0.5:0.5, 0.8:0.6, 1:0.7, 0:0.4, 0.2:0.6, 0.5:0.7, 0.8:0.9, 1:1.1 How bright the shafts are by the day's dust, at the least and at the most, as two curves: points day:brightness apart by commas, a smooth curve through them (flat beyond the first and the last). The day runs from the cleanest (0) to the dustiest (1), the days spread evenly over it: 0.3 is cleaner than seven days in ten. Each patch of sunlight's shaft takes its own brightness between the two curves, drawn evenly and kept while the patch lasts; the same curve in both: all alike. Brightness 1 is the shafts as ShaftStrength sets them, 2 twice as bright (the most), 0 none.
ShaftOpeningsLow, ShaftOpeningsHigh 0:0.1, 0.2:0.2, 0.5:0.3, 0.8:0.4, 1:0.6, 0:0.2, 0.2:0.3, 0.5:0.4, 0.8:0.6, 1:0.8 How many of the openings in trees and buildings carry a shaft by the day, at the least and at the most: points day:share (0 none, 1 every one). A day's place between them is drawn apart from its brightness's (a day of many faint shafts, or of a few bright ones). ShaftPlaces, when set, stands for both.
ShaftPatchSize 0:1, 50:1, 90:0 How bright a shaft is by the size of its patch of sunlight on the ground (gaps side by side join into one patch, which has a shaft or not as a whole): points area:times, the area in square metres (a gap is some 9, a forest's patches some 9 to 300), times the brightness the patch drew. 1 no change; lower dims the large patches, or the small ones. By default a patch up to 50 m² keeps its brightness and one over 90 m² (a clearing, a forest's sunlit edge) has no shaft.
ShaftAfterRain 1 After rain the damp air shows more shafts, as on a dustier day: how dusty just after a downpour (0 no change, 1 as the dustiest day).
ShaftAfterRainMinutes 10 Minutes the air takes to dry after rain, its extra shafts fading over them.
ShaftAfterRainFillSeconds 60 Seconds of a downpour the air takes to become wholly damp (a shorter or lighter rain gives less).
ShaftMistDust 1 How much a misty morning brightens the shafts: their light times 1 + this in a full mist.
ShaftGapAboveGround 10 Metres above the ground or a floor up to which gaps in the canopy or a roof are looked for: higher finds openings in a tall canopy too, lower only those close over you.
ShaftWindowGain 2 How much brighter a shaft is through an opening closed all round close by (a window, a hole in a thick canopy) than through a gap at a canopy's edge (0: the same).
ShaftFadeSeconds 3 Seconds a shaft takes to come in or go as the sun moves and openings open or close.
ShaftMoon 0.5 How bright the moon's shafts are against the sun's (1 as bright).
ShaftSide, ShaftBack 0.7, 0.5 How bright a shaft looks from its side and with the light behind you, against looking along it towards the light.
ShaftLimit 0.12 The brightest a shaft gets however strong, at brightness 1 (ShaftBrightnessLow / High scale it with the rest): higher lets strong shafts glare white.
ShaftDustHeight 12 Metres above the ground over which the shafts fade out upwards (low: bright among the trunks, faint by the treetops).
ShaftDustRange 30 Metres away over which the shafts fade out along the view (low: only the near ones shine).
ShaftShadeSeconds 1.5 Seconds the shafts take to come in as you step into the shade of trees or under a roof, and to go as you step out.
ShaftShadeRadius 12 Metres round you whose shade decides whether the shafts show: they show once you stand among trees or under a roof, not from the open in front of a forest.
ShaftShadeFrom, ShaftShadeFull 0.2, 0.65 How much of the ground round you must be in shade for the shafts to begin to show, and to show in full (a forest floor is some 70-90% in shade; ShaftShadeFrom 0: they show from the open too).
ShaftSmoothing 0.4 Seconds over which the shafts are smoothed from frame to frame: longer is calmer and softer but lags as leaves sway; 0 none (grainier).
VolumetricShadeDay, VolumetricShadeNight 0.3, 0.15 How much of the haze's light by day and by the moon comes straight from the light and so goes dark in the shade of trees, hills and buildings: higher, darker shade in the haze and more contrast; 0 an evenly lit haze. Needs VolumetricLight.
VolumetricGlow 1.5 How much brighter the lit air looks towards the sun or the moon than to the side (shafts show as bright beams towards the light; 0 even all round).
LampGlow 1 Fires, torches, braziers and lanterns light the haze and fog round them. 1 is as much as they light the ground (faint in a light mist); higher is a stronger glow, 0 none. The glow stops at the walls and roofs of buildings and at rocks. Needs VolumetricLight.
FogDistance, FogSlices -1 Reach and detail of the light shafts.

Lighting

Setting Default What it does
NightAmbientBoost 0 Brightens the ground and objects at night (0 = the game's darkness). Leaves days and dungeons alone.

Lightning

Setting Default What it does
Enabled true This mod's lightning and thunder in thunderstorms.
PlainsStorms 0.3 Share of rainy weather in the Plains that becomes a thunderstorm. Players without the mod just see rain.
SwampStorms 0.1 The same for the Swamp.

Precipitation, SnowCover

Setting Default What it does
Precipitation.Enabled true This mod's falling snow.
Precipitation.GroundDrift true Snow blowing along the ground in strong wind.
Precipitation.Rain true This mod's falling rain. Off: the game's rain.
Precipitation.RainGlow on Rain drops (and roof drips) near a lamp, torch, brazier or fire take its colour and show brighter, most when the light is behind them; the eight lights that matter near you.
Precipitation.FireSteam on Steam rising from a burning fire the rain reaches, and a faint mist round it lit by the flame; only real flames, none under a roof, none from a lantern.
Precipitation.RainIntensity 1 How dense the rain is against the game's weather (0.25 to 2).
SnowCover.Enabled true The snow layer on the mountains, within 160 m of you.
SnowCover.RockCaps true Snow caps on mountain rocks. Off on Low.

WetSurfaces

Setting Default What it does
Enabled true Rain wets surfaces under open sky. Needs the game's deferred rendering. Off: the game's own look.
Streaks true Walls under open sky wet in long streaks where the water runs down them, with thin rivulets in the rain; the streaks dry last. Off: walls wet evenly and less.
Drips true Water drips from the edges of built roofs while it rains and stops within a minute after it.
Strength 1 How dark and glossy wet surfaces get (0.25 to 1.5).
WetSeconds 45 Seconds of full rain until everything is wet through.
DryMinutes 5 Minutes after the rain until everything is dry again.

Puddles

Setting Default What it does
Enabled true Puddles.
MinArea, MaxArea 1, 60 Size range of the dips that fill up, m².
MinDepth 0.02 Shallowest dip that fills up, metres.
MaxDepth 0.3 Deepest a full puddle gets, metres; a deeper hole keeps a puddle at its bottom.
FillSeconds, DrySeconds 180, 600 How long it takes to fill in rain and to dry afterwards.
WaterTint, Turbidity brownish, 0.3 Colour and murkiness of deeper water.
WetDarkening 0.3 How much darker the wet bottom is.
RippleStrength 0.6 Raindrop rings.
ExcludedBiomes Mountain,DeepNorth,AshLands Biomes without puddles.
ReflectionSteps -1 Reflection quality. 0 uses only the game's reflection.

Fireflies

Setting Default What it does
Enabled true Fireflies.
Count 15 Most firefly swarms around you at once.

Sky types, Weathers

Adjust a single kind of weather; these sections come after all the others. Sky types covers each kind of sky the clouds draw: Fair and Broken (the clear weathers), Fog, Rain, Storm, Snow, Blizzard, Polar clear, Ash, Ash storm. Weathers covers each of the game's weathers by name, including other mods' weathers. It appears after you first enter a world. A weather's own values add to those of its sky type (the cover adds, the rest multiply). The log names the sky type of each new weather (sky type ...).

A clear weather (no rain, snow or fog) that the game gives clouds (the weather's rainCloudAlpha, as other mods' cloudy weathers set it) is Broken on every day, and its clouds close further as that value grows: none from 0.5, a closed sky from 2 (the game's own rain clouds). Its Cloud cover adds to that. The game's own clear weathers have 0 and are unchanged.

Setting Default What it does
Broken days 0.5 Share of clear-weather days with broken clouds instead of fair ones (0 none, 1 all).
... - Cloud cover 0 More clouds (up to 1: a closed sky) or fewer (down to -1: none).
... - Cloud brightness 1 Multiplies the clouds' brightness.
... - Sky brightness 1 Multiplies the sky's brightness by day and night. The land's light follows it only under clear sky, not under a closed sky (rain).
... - Visibility 1 Multiplies how far you can see.
... - Light 1 Multiplies the light on the land, by day and night. The sky keeps its brightness.
... - Light tint white Colour of the light on the land. The clouds and fog take on some of it.

Compatibility

Checked against the code of these mods, not yet in play with each of them.

  • FarLands: made to work together. With the Air on, WeatherOverhaul draws the air over FarLands' land.
  • Valheim Visual Enhanced: both mods add cloud shadows and fireflies. Turn off one set, here with Sky.CloudShadows and Fireflies.Enabled.
  • Seasonality: its winter snow gets this mod's snowfall.
  • VBDiving, Dive In: under water the mod's own underwater fog stays as it is.
  • Expand World Size with Stretch world changed: the Ashlands' sky starts where an unstretched world's would.
  • Mods that replace the skybox turn the physical sky off while they are active.

Platforms

Windows with Direct3D 11, Direct3D 12 or Vulkan; Linux through Proton. A native Linux build of the shaders is included but has not been tested.

For mod authors

Public hooks, all in the WeatherOverhaul namespace. A handler or provider that throws is logged once and skipped.

  • Weather.Current: the weather this mod uses this frame (rain, snow, wetness, fog, wind), default outside a world.
  • StormFlashes.Flashed: an event for every lightning flash, with its position, size, strength and length.
  • Ownership.Current, Ownership.Owns, Ownership.Changed: what this mod currently draws in place of the game (sky, clouds, fog, snow and so on), so your mod can leave it alone.
  • PrecipitationSurface.Height: tell the snow drift where the visible ground is if your mod draws it above the collider.
  • NightLighting.Ambient: the night ambient this mod sets, for mods that compute the game's lighting themselves (portal views and the like).
  • BuiltInFog.Density: the fog density that matches this mod's air, for mods that draw a place with Unity's built-in fog.

Credits

  • Sky: Sébastien Hillaire's atmosphere (EGSR 2020).
  • Volumetric clouds and light: ported from Unity HDRP.
  • Skies and snow textures: Poly Haven (CC0). Thunder: freesound.org recordings (CC0).

Full licences are in THIRD_PARTY_NOTICES.md.

Problems and feedback

Post in #support on the Discord server: https://discord.gg/TwWYStfRXn, or in the Bugs tab. Attach BepInEx/LogOutput.log from the game folder, or from the profile folder with a mod manager, and say what you did when it happened.

Uninstallation

Close Valheim and remove Valheim/BepInEx/plugins/WeatherOverhaul.dll. The settings file BepInEx/config/ru.ivest.weatheroverhaul.cfg can be kept or deleted; nothing is stored in your worlds.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.