This thread is to share ideas or report issues about the mod Mod link: Flood | BeamNG Full changelog is here: Flood - Updates | BeamNG How to use 1. Open the Controls in the Options 2. Search for "Flood" 3. Bind a key 4. Press that key and the menu will open, from there you can control the flood (This will only work when you have loaded into a map) Troubleshooting If the key isn't opening the menu, try reloading the mod, or press CTRL + L to do a full reload of the Lua instance, this should ensure the mod get loaded correctly. However, I don't think this should be an issue anymore. If the menu is grayed out, it means it could not find an ocean. If the map does have an ocean, then share the map name and I'll see what I can do. Latest Update Changelog New Features/Changes: Added this wonderful help menu Added "Stop when submerged option", this stops the flooding once your vehicle has been submerged by the water Changed "Enable" toggle to a Start/Stop Button Reset button now disables flooding When water reaches the heightLimit, it will now stop flooding Changed max speed from 1 to 50 (also exposed it so you can modify it from the console `flood.maxSpeed = numberHere`) Flood speed now respects bullet time (slow motion) Made the UI look slightly better Disabled UI elements when there is no ocean Improved tooltips Added presets, might be useful for flood maps with difficulty settings You can now only select "Decrease" or "Gradual Return", you can't do both Improved resizing window height when the rain section is hidden It will keep the size if you manually resized it, otherwise it will resize itself to fit the new content height Fixes: I'm fairly certain I've fixed the "attempt to index global 'flood'" for some users, let's pray Gradual Return will now decrease the water level to the precise starting position Fixed flood with rain not functioning correctly (it didn't work when `Speed` was 0) Fixed mission file changes, we now use `onClientStartMission` and `onClientEndMission` instead of checking in `onUpdate` Time in environment options is now synced with the in-game time. I have also made it match the slider (time from 12 -> 0 -> 12) instead of 0-24 Renamed "Decrease to initial" to "Gradual Return" Changes you probably don't care about: Removed skyColor and related functions, they never got used Added comments to the code Changed from deprecated `registerCoreModule` to `setExtensionUnloadMode` Simplified and improved a lot of the code Added a `defaults` table for variables Moved `floodui` to the utility folder, that way I don't have to worry about it being loaded before the flood mod itself.
i keep getting lua errors with the mod, no matter what i do with it this is from trying to open the ui in singleplayer Edit: Never mind, just was a problem it being not in the main mod folder, instead it was in my own mod folder inside the mod folder to make it less cluttered.
It's unable to find the mod for some reason, can you press CTRL+L? This reloads the Lua State, hopefully it correctly loads the mod this time
Appreciate the support I don't think rivers would work well, they're different on each map and they require a different way of flooding. This would be increasing the size and the position. I might give it a go soon just to see though, thanks for the suggestion.
It's not decreasing the water levels for me, but everything else works fine! Edit: Nevermind, now its working
Was it a mistake on your side? If not then let me know what fixed it, just need to make sure it doesn't happen again --- Post updated --- Changed up the UI slightly, added more options and now you can flood with rain
I don't know, I was pressing the decrease option with the enable option activated and the water was coming up instead of going back down, but now it's working fine. Also, idk if you added that in the latest patch but I wish we could be a bit more precise with how fast the water goes up/down.
uh, i seem to get an error when i wanted to download the file also can you fix that because as the error message says. "The requested attachment could not be found."
Updated to 1.3.1 UI looks a lot better, you can now set time of day and there's some fixes and general improvements
With version 1.3.1, there seems to be an issue with the menu height and it not finding the ocean. I'll fix that soon, about to eat. I've fixed menu height but I'll have to fix the ocean soon, for now, I suppose use 1.3 until it's fixed. (It works on some maps like east coast USA but it no longer works on west coast, not sure what other maps it doesn't work on) --- Post updated --- There we go, all fixed This version: 1.3.4