How to fix the water flood/tsunami mod?
-
Hi, I'm trying to get the water flood/tsunami mod working. It used to work ever since GTA 5 dropped on PC, but it stopped working just recently.
Other flood Mods that also stopped working:
https://www.gta5-mods.com/misc/gta-v-flood-mod
https://www.gta5-mods.com/misc/tsunami-mod
https://www.gta5-mods.com/misc/no-water-modThese mods modifies 'water.xml' in common.rpf/data/levels/gta5
If any of you guys would know a fix for that, it would be great. I'd need this mod for content purposes.
I would be down to pay some money if it's possible.
Thanks
-
@mra16 did you try what is suggested by mod author?
You can also change the wave height and water level yourself. Open up water.xml and change value of "z value="30.0"" to anything you want to increase or decrease water level. To change wave height, change value of "Amplitude value="130"".
edit: I looked at two of these "mods" and they are just xml files - plain text.
So take your vanilla file, copy it to your mods folder if it isn't already there, and play with the values. That's how you will learn and it will be cheaper than paying someone to do it for you.
If that doesn't work, and you can't revert, the next solution would be to script. There are many functions you can play with.
void MODIFY_WATER(float x, float y, float radius, float height) void WATER_OVERRIDE_SET_OCEANWAVEAMPLITUDE(float amplitude) etc
For example the following function can be used to eliminate the waves that flood the roads in Ugase City and the French Riviera mods.
Function.Call((Hash)0xB96B00E976BE977F, 0.0f);
-
You can check this post as well.
https://forums.gta5-mods.com/topic/37236/water-modifications
and this tutorial
https://www.alebalweb-blog.com/22-tutorial-add-modify-water-in-gta-5-water-xml.html
-
I actually played around with the water.xml, and no matter what value I put the water stays exactly the same.
I replaced every single "z value ="x"" to like 150.
These are the values I used almost everywhere
https://i.imgur.com/jBn7eY9.pngHaven't touched the water types values of course.
Even changing the a1, a2, a3 and a4 values don't do anything at all. These are the values for the opacity of the water.
I played with changing these values on an earlier version of GTA 5 (December 2021 patch) and and it actually works and I can make the water super transparent. The flood mod also works.
I noticed the new water.xml is structured differently. Like the <WaterQuads>, <CalmingQuads> and <WaveQuads> contant way more <item>'s in them.
It's as if the water.xml works with another file, or is just plain not used anymore? Honestly I'm lost.
-
@mra16 the fact that it works with earlier versions is another example of updates breaking games.
Since you're doing this as a project then the solution is simply to revert. If you're doing this for others you're probably wasting your time looking for a solution because no mods are future proof. One day a patch might make addons obsolete.