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.
These 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.
@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.
You can check this post as well.
and this tutorial
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
Haven'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.