Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 mods.

Guide TRANSFORM WATER ON THE SERVER | FLOODING |

BIG_BOSS

VIP
Joined
May 30, 2021
Messages
879
Reaction score
27,077
Points
341
1.png

👉 Step 1: We download an empty map Download: (Los Santos)

👉Step 2: We download OpenIV from and install it.

👉Step 3: We open OpenIV, and go to -> common -> data -> level -> gta5 -> and copy the "gta5.meta".

👉Step 4: We open "gta5.meta" and search for "water.xml" and change the "path" there, it must look like this:
Code:
<item>
<filename>resources:/map/water.xml</filename>
<fileType>WATER_FILE</fileType>
</item>

👉Step 5: We go to "__resource.lua" which is next to the empty map and change all "EmptyMap" names to "gta5"
Code:
-- Manifest
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
description 'Emptymap'
replace_level_meta 'emptymap'
files { 'emptymap.meta', 'water.xml' }
resource_type 'map' { gameTypes = { fivem = true } }
map 'map.lua'
this_is_a_map 'yes'

👉Schritt 6: Nun öffnen wir die "water.xml" Datei, dort können wir die Werte vom Wasser einstellen.

How far the water should extend.
Code:
<minX value="-4000" />
      <maxX value="4500" />
      <minY value="-4000" />
      <maxY value="8000" />

Changes the height of the water
Code:
z value="0" />

That would be done as far as we can use the script like that.
If you want even more functions, there are the following options:

Wave strength and steam strength:
Code:
<WaterQuads>
    <Item>
      <minX value="X" />
      <maxX value="X" />
      <minY value="Y" />
      <maxY value="Y" />
      <Type value="0" /> --keep zero
      <IsInvisible value="false" /> --keep
      <HasLimitedDepth value="false" /> --keep
      <z value="Height of Water" />
      <a1 value="26" />
      <a2 value="26" />      --Unsure of what these do
      <a3 value="26" />
      <a4 value="26" />
      <NoStencil value="false" />
    </Item>
</WaterQuads>
  <WaveQuads> --Wellenstärke
    <Item>
      <minX value="X" />
      <maxX value="X" />
      <minY value="Y" />
      <maxY value="Y" />
      <Amplitude value="WAVE STRENGTH" />
      <XDirection value="X DIRECTION OF WAVES" />
      <YDirection value="Y DIRECTION OF WAVES" />
    </Item>
</WaveQuads>
<CalmingQuads> --Dampfstärke
    <Item>
      <minX value="X" />
      <maxX value="X" />
      <minY value="Y" />
      <maxY value="Y" />
      <fDampening value="STRENGTH OF DAMPENING" />
    </Item>
</CalmingQuads>
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds