Flood Map Module
*** Please read description below ***

Disclaimer: This action cannot be undone. It may take a few minutes to complete. During execution of the script, the server may lag. A mission restart will be required to reset the water level. This is a composition, designed to be used as a module.
Usage Instructions: This module is designed to work on select official servers or customized community servers. From zeus, simply place down the module anywhere and set the desired water level.
Check out the showcase video for more information:
https://youtu.be/GVmtg7y3gBw

Ever wanted to do some sick underwater missions or turn a flooded town into a naval battlefield? I’ve got you covered. Introducing levelution to Arma 3! Now any Zeus that subscribes to this composition on the Steam Workshop will be able to dynamically flood maps! Some things you can do are turn Stratis into the lost city of Atlantis, turn the Salt Flats into the Salt Lake, swallow up some Tanoan Islands, or even dry up the beaches on Malden! This Flood Map Module offers it all – and it’s available on the Steam Workshop as a zeus composition!
1. Select the composition from the Zeus interface.
2. Place the module down anywhere.
3. Select desired values from the menu and click OK.
Composition init scripts need to be enabled on the server
(This script/module is executed via a Zeus composition).
The following official Zeus servers already have this enabled:
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (USA) #04
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (USA) #02
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (US) #02e
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (US) #02w
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #12
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #04
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #02
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #0D
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #0B
Composition init scripts need to be enabled on the server
(This script/module is executed via a Zeus composition).
To enable composition init scripts on a community server,
edit the description.ext file in the mission folder and change
the zeusCompositionScriptLevel setting to 2, allowing init scripts.

https://community.bistudio.com/wiki/Description.ext#zeusCompositionScriptLevel
Guide: [ZAM] – Enabling Scripted Compositions in Your Server (Arma 3)
https://www.youtube.com/watch?v=-SZrnZPvA80
– Potential client not responding kick
– Increased join-in-progress load times
– One-time usage is recommended
– Visual bugs due to rendering optimization
– De-synchronized waves
– Buggy AI pathfinding
The above issues & limitations are out of my control.
Please give the video a thumbs up and subscribe if you want to see some more script releases!
Demo video: https://youtu.be/GVmtg7y3gBw
Now check out all the links below to get the composition and its code:
Steam Workshop:
– https://steamcommunity.com/sharedfiles/filedetails/?id=2949919975
GitHub:
– https://github.com/M9-SD/A3_Flood_Map_Module/blob/main/M9SD_fnc_flood_map_module_composition.sqf
License:
– https://github.com/M9-SD/A3_Flood_Map_Module/blob/main/LICENSE
Discord (ZAM):
– https://discord.gg/bybqZj8Esu
Discord (SQF Archive):
– https://discord.gg/YnJWZGdVk8
Special thanks to Leopard20 in the offical arma discord for helping me optimize the for loop that iterates through all the terrain grid chunks!
Revisions:
Old revisions of this mod are available below. Click the link to download.