Released MK's Dynamic Weather 1.0.2

This lua script implements dynamic weather in BeamNG! (and tornadoes)

  1. PilotMasterNavy

    PilotMasterNavy
    Expand Collapse

    Joined:
    Jun 3, 2024
    Messages:
    16
    right so i figured it out i had 2 tornado mods that used the games wind, and when i disabled one of them it worked again!
     
    • Like Like x 1
  2. NatPro38

    NatPro38
    Expand Collapse

    Joined:
    Jul 9, 2025
    Messages:
    1
    Thank you for the great mod.
    Recently been getting an error when turning Off Simplified Traffic. Error From the Log:
    Code:
    215.41605|E|GameEngineLua:Exception| [string "lua/ge/extensions/dynamicWeatherMK/common.lua"]:15: attempt to index a nil value
    =============== Stack Traceback >> START >>
    (1) metamethod C function '__index'
    (2) Lua upvalue 'isSimplifiedOrUnicycle' at line 15 of chunk 'lua/ge/extensions/dynamicWeatherMK/common.lua'
      vehicle = userdata: (...)
      bool = boolean: false
      (*temporary) = nil
      (*temporary) = number: 1.06438e-311
      (*temporary) = number: 76603
      (*temporary) = nil
      (*temporary) = userdata: (...)
      (*temporary) = string[28]: "attempt to index a nil value"
    (3) Lua field 'applyWindAll' at line 47 of chunk 'lua/ge/extensions/dynamicWeatherMK/common.lua'
      forceVec = cdata: (...)
      (for index) = number: 9
      (for limit) = number: 13
      (for step) = number: 1
      i = number: 9
      vehicle = userdata: (...)
    (4) Lua local 'func' at line 2004 of chunk 'lua/ge/extensions/dynamicWeatherMK/weather.lua'
      dt = number: 0.0188184
      dtSim = number: 0.0195
      showGui = boolean: true
    (5) Lua field 'hook' at line 820 of chunk 'lua/common/extensions.lua'
      funcName = string[8]: "onUpdate"
      funcList = table: 0x01f58c886968  {1:function: 0x01f57c02e5f8, 2:function: 0x01f50d019c70, 3:function: 0x01f5984d5aa8, 4:function: 0x01f50d2aa020, 5:function: 0x01f54990ea00, 6:function: 0x01f50d260158, 7:function: 0x01f57bc0cee8, 8:function: 0x01f53a45e738, 9:function: 0x01f50ce57048, 10:function: 0x01f52e078830, 11:function: 0x01f5490ce088, 12:function: 0x01f53b04f910, 13:function: 0x01f57c2e9290, 14:function: 0x01f53aa51450, 15:function: 0x01f50cf5da88, 16:function: 0x01f57c0b7c28, 17:function: 0x01f51ebc78a0, 18:function: 0x01f52df549d8, 19:function: 0x01f50cd7e020, 20:function: 0x01f51ee514a0, 21:function: 0x01f53cac9650, 22:function: 0x01f5890d3298, 23:function: 0x01f59b8be060, 24:function: 0x01f57bd24008, 25:function: 0x01f50cc64290 (more...)}
      (for generator) = C function: builtin#6
      (for state) = table: 0x01f58c886968  {1:function: 0x01f57c02e5f8, 2:function: 0x01f50d019c70, 3:function: 0x01f5984d5aa8, 4:function: 0x01f50d2aa020, 5:function: 0x01f54990ea00, 6:function: 0x01f50d260158, 7:function: 0x01f57bc0cee8, 8:function: 0x01f53a45e738, 9:function: 0x01f50ce57048, 10:function: 0x01f52e078830, 11:function: 0x01f5490ce088, 12:function: 0x01f53b04f910, 13:function: 0x01f57c2e9290, 14:function: 0x01f53aa51450, 15:function: 0x01f50cf5da88, 16:function: 0x01f57c0b7c28, 17:function: 0x01f51ebc78a0, 18:function: 0x01f52df549d8, 19:function: 0x01f50cd7e020, 20:function: 0x01f51ee514a0, 21:function: 0x01f53cac9650, 22:function: 0x01f5890d3298, 23:function: 0x01f59b8be060, 24:function: 0x01f57bd24008, 25:function: 0x01f50cc64290 (more...)}
      (for control) = number: 21
      _ = number: 21
      func = Lua function '?' (defined at line 1962 of chunk lua/ge/extensions/dynamicWeatherMK/weather.lua)
    (6) Lua function 'update' at file '/lua/ge/main.lua:594' (best guess)
      dtReal = number: 0.0188184
      dtSim = number: 0.0195
      dtRaw = number: 0.016722
    --------------- << END << 
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice