MK's Dynamic Weather v1.2.1 Release
Latest Update
- Fixed ImGui error messages
- Shadow settings have been removed
- Fixed cloud cover and lighting behavior for version 0.39
Dynamic Weather Lua Script for BeamNG
This Lua script adds dynamic weather to BeamNG. It's not the prettiest, but considering engine limitations (rain, fog, clouds), it's quite good. Future work will improve features and fix bugs.
Activation:
-
Alt + W – activate dynamic weather
-
Ctrl + Alt + W – toggle UI
-
Alt + T – spawn tornado
Current Features:
-
Weather events: sunny, cloudy, light rain, rainy, stormy, foggy, foggy rain, tornado storm
-
Random start event on activation
-
Dynamic wind affecting vehicles and groundcover/forest objects (if supported)
-
Windbursts randomly occur; frequency and strength depend on weather event
-
Tornadoes slowly chase the player, follow a random path, or follow a specified vehicle (toggle/select in UI). Only one active at a time
-
Tornado wind fields displayed on map
-
Custom tornado parameters (wind speed, size, etc.) via UI; preset system for saving/loading custom settings
-
Slippery roads during rain/snow (only for terrain-based roads, not meshes like bridges)
-
Dynamic rain, clouds, fog, temperature, brightness
-
Traffic vehicles turn on lights during rain or fog
-
UI for optional weather, wind, tornado, shadow quality, road condition control
-
Compatible with career mode and missions/scenarios (weather auto-activates on entering career, saved on exit/save and re-applied on re-entering same save)
-
Compatible with daniel-w's Flood Mod (optional features)
-
~3000 lines of code
How to Use:
Press Alt + W to activate. A message appears top-right. Press Ctrl + Alt + W to toggle UI. Keybinds can be changed in settings. Changing map unloads script; re-enable manually.
Career mode auto-activation can be toggled in UI (off by default). If enabled, current weather is saved on save/exit and loaded on re-entering same career save. This also applies to active tornadoes (strength, position, remaining duration saved).
Tornado weather event can occur randomly (toggle in UI, off by default during career). Spawn tornado near player with Alt + T independently of weather events. Only one tornado at a time.
For specific weather, use UI (Ctrl + Alt + W). Control road condition, wind speed, tornadoes, time between random events, shadow quality, toggle snow/rain.
Tornadoes customizable in UI (strength, size, movement speed). Extreme values may cause instability.
Flood Mod Support:
Since version 1.2, supports Flood Mod. Not required for weather. Mod auto-detects Flood Mod and enables additional UI options. Additional features off by default; enable via UI. If enabled, rainy weather raises water level; non-rainy lowers it back. Options to customize behavior and water speed in UI.
Known Issues:
-
Rain and snow cause glass glitches with Vulkan Renderer. Use DirectX instead. Should be fixed as of 0.39.
-
Instant event switching can crash game when windburst occurs simultaneously. Prevention mechanism implemented: wait until windburst over, then repeat action.
-
Not fully compatible with volumetric clouds; sometimes buggy.
-
Dynamic road condition does not work for all roads. Most terrain-based roads work; 3D models usually don't.
Credits:
-
Komodor – code for changing road conditions (during Beta versions)
-
vouthin – rankine vortex tornado code
-
MegaKnight (me) – everything else
Report bugs in discussion thread. Do not reupload anywhere!
External Download Links:
- Modsfire.com - dynamic_weather_mk.zip [27.71 MB]
About Mod
| Latest Version | v1.2.1 Release |
| Game | BeamNG.drive |
| Category | Other |
| Game Version | 0.38.x |
| Tags | UI Weather |
| Downloads | 3311 |
| Forum Thread | Visit forum thread |
| Created | 11 months ago |
| Last Updated | 2 weeks ago |