Hello, thanks for the kind words Regarding BeamMP, you should be able to make a really simple plugin/addon to enable/disable it on all clients. I'm not very familiar with BeamMP but I think you would need to: Create a mod and register a function to disable/enable In the server code, you would call that function from the client Server (Not tested, never scripted for BeamMP before) Code: function message_handler(id, name, message) if message == "toggle_flood" then for id, _ in pairs(MP.GetPlayers()) do MP.TriggerClientEvent(id, "toggle_flood") end return 1 else return 0 end end MP.RegisterEvent("onChatMessage", "message_handler") Client (this will be the mod that the client will download. you could even modify the flood mod to do this) Code: local function toggle_flood() flood.enabled = not flood.enabled end AddEventHandler("toggle_flood", toggle_flood)
Okay but what if I were quite stupid and didn't know how to do any of that? Would it be possible/simple to just add a keybind to toggle the Enable function?
Hi i have some issue on this mod when i press y which is the bind i set it on its not showing the menu thing
Well this is mainly for multiplayer mods (BeamMP & KissMP), if you want true sync then you'll have to do this (or the server can keep track of the water level, that's true sync). Anyways, if you're in singleplayer, opening the menu and pressing the checkbox isn't that bad. If it is for multiplayer, you can read the documentation for the multiplayer mods, both are relatively simple. BeamMP: https://wiki.beammp.com/en/Scripting/new-lua-scripting KissMP: https://kissmp.online/docs/srv_lua/lua_api.html
Yes I Look Through The Mods Quite A Lot (So I Can Make More Videos) I have Been Trying To Make Videos On BeamNG Racing Crashes But It Can Be Quite Fiddley To Set Up The Races And The Cameras. I Also Cleared The Game Cache And It Removed Most Of My Mods (Like 250 Out Of 300). I Will Probably Be Working On Some BeamNG Videos Later This Year Though
I downloaded the flood 134 file and this still comes up. what can I do? do I need to remove the repo version?
If you manually downloaded it, remove it and get it on the repo instead. If that doesn't work then restart the game since it should load it
Hey i cant seem to get it to work i try to open the menu but i cant open it btw does this work on utah usa ???
Hello, you might have to restart the game in order for it to update the key bindings. Once reloaded, go into controls and search for "Flood", you should then bind a key for the menu. As for Utah, no. There's no ocean but I'm thinking of making a way to automatically spawn one, you'll just have to set the initial height though so it's perfect. Sadly can't figure that out in code (unless I make some sort of json file and manually set it for every map that doesn't have an ocean, good idea actually).
I have both the repo and the one from the thread because it wasn't working when I only had the repo one installed despite it saying version 1.3.5 so I came here and downloaded it as I assumed my version was out of date or something
sometimes on this if you already had assigned a control for it before removing it to clear files and added it back, sometimes you may have to re-assign to a different unused button
cant seem to get it to work, ive got the newest version of the game but so far when enabled the water level marker goes back to normal and cant move it, no matter the level, only the rain part works
I have the mod placed into the mods folder and its zipped up so its properly installed, however when i look for flood in options->controls then i search up flood nothing pops up, is this mod compatible with beamng version 0.21.3? or is it not?
I watched youtubers use this mod and I'm so excited. However, when I bind a key to it and press it, the UI doesn't show up. Is there something I can do about this?
This is such a cool mod, also sorry for the weird question but how did you figure out BeamNG's lua system? Does the game already come with lua files that are a good reference for writing custom stuff?