IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 modify water level

 
eddyterminator101  
Posted: Monday, Apr 30 2012, 12:57
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Mar 30, 2010

XXXXX



I am working on a total conversion and I want to adjust the water level to -10 (minus 10). The waves to be default. How can I do that? I have tried with Water Level Customizer and also I tried to edit the water.dat file, but it does not work. The water is exactly where it was before. I have tried this operations with the game closed and with the game opened. It does not work!!! I want just to get off the water to -10. Thanks!
PM
  Top
 

 
Frank.s  
Posted: Monday, Apr 30 2012, 14:00
Quote Post


IV Scripter, Modeler.
Group Icon
Group: Members
Joined: Apr 15, 2008

en.gif

Member Award




Why not just move the map +10? Problem solved.
PM
  Top
 

 
eddyterminator101  
Posted: Monday, Apr 30 2012, 15:09
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Mar 30, 2010

XXXXX



All map? With all objects? How?
PM
  Top
 

 
ZAZ  
Posted: Monday, Apr 30 2012, 18:46
Quote Post


Kernlochbohrer
Group Icon
Group: Members
Joined: Jan 10, 2005

eu.gif

Member Award




use sanybuilder or notepad++, it shows the water.dat more clear
what have you edit?
a waterdat line at level 0.0
CODE
-1584.0 -1826.0 0.00000 0.00000 0.00000 0.05100 0.10200    -1360.0 -1826.0 0.00000 0.00000 0.00000 0.05100 0.10200    -1584.0 -1642.0 0.00000 0.00000 0.00000 0.05100 0.10200    -1360.0 -1642.0 0.00000 0.00000 0.00000 0.05100 0.10200  1

4 groupes with each 7 parameter and one number at lineend
3. parameter of each groupe is z coord for the height

now the waterdat line is at level 5.0
CODE
-1584.0 -1826.0 5.00000 0.00000 0.00000 0.05100 0.10200    -1360.0 -1826.0 5.00000 0.00000 0.00000 0.05100 0.10200    -1584.0 -1642.0 5.00000 0.00000 0.00000 0.05100 0.10200    -1360.0 -1642.0 5.00000 0.00000 0.00000 0.05100 0.10200  1
Users WebsitePM
  Top
 

 
eddyterminator101  
Posted: Tuesday, May 1 2012, 18:34
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Mar 30, 2010

XXXXX



It does not work! water.dat or water1.dat? Anyway, I tried with both files. The water is exactly as it was before editing the files.

This post has been edited by eddyterminator101 on Tuesday, May 1 2012, 18:50
PM
  Top
 

 
fastman92  
Posted: Tuesday, May 1 2012, 19:14
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



http://www.gtaforums.com/index.php?act=ST&...lectedWaterFile
water.dat is unused. Edit water.dat
Remember there are 307 separate entries in standard GTA SA's water.dat to edit.
If you know programming language, it'd be better to you write a few lines of code to edit height of all entries in water.dat.
If you don't know: edit 307 * 4 = 1128 values manually.
Users WebsitePMMSN
  Top
 

 
ZAZ  
Posted: Tuesday, May 1 2012, 19:14
Quote Post


Kernlochbohrer
Group Icon
Group: Members
Joined: Jan 10, 2005

eu.gif

Member Award




QUOTE (eddyterminator101 @ Tuesday, May 1 2012, 18:34)
It does not work! water.dat or water1.dat? Anyway, I tried with both files. The water is exactly as it was before editing the files.

water.dat only
do you have win7?
i have winxp but somebody told me that win7 makes and use a shodow copy if you modify the game
but you said that you work on a tc, so you should be able to modify the files
what happens if you remove the water data?
if your water.dat olny contain this entry:
CODE
processed
Users WebsitePM
  Top
 

 
eddyterminator101  
Posted: Tuesday, May 1 2012, 19:26
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Mar 30, 2010

XXXXX



Trying now!
PM
  Top
 

 
eddyterminator101  
Posted: Tuesday, May 1 2012, 19:30
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Mar 30, 2010

XXXXX



Fastman92, I edited all 0.000000 in 5.000000. It won t work. Now trying what ZAZ said.
PM
  Top
 

 
fastman92  
Posted: Tuesday, May 1 2012, 19:32
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



What happens if you rename / remove water.dat? Does game crash or at least water isn't loaded? If NO do what ZAZ has written.
Users WebsitePMMSN
  Top
 

 
eddyterminator101  
Posted: Tuesday, May 1 2012, 20:37
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Mar 30, 2010

XXXXX



If I have only „ processed „ in my water.dat file, the water is not loaded. So the file is ... good. The game considers the file. What to do in order to add water, but at a height of -5, for example?
PM
  Top
 

 
ZAZ  
Posted: Tuesday, May 1 2012, 21:00
Quote Post


Kernlochbohrer
Group Icon
Group: Members
Joined: Jan 10, 2005

eu.gif

Member Award




QUOTE (eddyterminator101 @ Tuesday, May 1 2012, 20:37)
If I have only „ processed „ in my water.dat file, the water is not loaded. So the file is ... good. The game considers the file. What to do in order to add water, but at a height of -5, for example?

now add onyly one water line, make it much more higher or deeper, maybe 35.0, test it, if the water is not where it should be, post the line here
Users WebsitePM
  Top
 

 
eddyterminator101  
Posted: Tuesday, May 1 2012, 21:37
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Mar 30, 2010

XXXXX



processed
-3000.0 -3000.0 15.0 1.0 1.0 1.0 1.0 3000.0 -3000.0 15.0 1.0 1.0 1.0 1.0 -3000.0 3000.0 15.0 1.0 1.0 1.0 1.0 3000.0 3000.0 15.0 1.0 1.0 1.0 1.0 1

The water is at 0 level...

I tried to modify the coordinates, to see if the game „considers„ the full content of the file and yes.
PM
  Top
 

 
ZAZ  
Posted: Tuesday, May 1 2012, 22:44
Quote Post


Kernlochbohrer
Group Icon
Group: Members
Joined: Jan 10, 2005

eu.gif

Member Award




QUOTE (eddyterminator101 @ Tuesday, May 1 2012, 21:37)
processed
-3000.0 -3000.0 15.0 1.0 1.0 1.0 1.0    3000.0 -3000.0 15.0 1.0 1.0 1.0 1.0    -3000.0 3000.0 15.0 1.0 1.0 1.0 1.0    3000.0 3000.0 15.0 1.0 1.0 1.0 1.0  1

The water is at 0 level...

I tried to modify the coordinates, to see if the game „considers„ the full content of the file and yes.

very strange, i imported the line with water-dat tool into 3dmax and saw that it is at z 15.0
and exported it to this
CODE
-3000.0 -3000.0 15.0 0.0 0.0 0.25 0.0 3000.0 -3000.0 15.0 0.0 0.0 0.25 0.0 -3000.0 3000.0 15.0 0.0 0.0 0.25 0.0 3000.0 3000.0 15.0 0.0 0.0 0.25 0.0  1

but whole sa have water at -0.2145, also the reservoir


read more about water.dat at http://www.gtaforums.com/index.php?showtopic=211733
water.dat tool http://gta.ocram-net.de/index_all.php?edownloadsa=12
Users WebsitePM
  Top
 

 
eddyterminator101  
Posted: Tuesday, May 1 2012, 23:05
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Mar 30, 2010

XXXXX



Thank you very much!!!
PM
  Top
 

 
ZAZ  
Posted: Wednesday, May 2 2012, 05:28
Quote Post


Kernlochbohrer
Group Icon
Group: Members
Joined: Jan 10, 2005

eu.gif

Member Award




got it now
game have problem with 3000 because it's at the limit
this works works correct:
CODE
-2996.0 -2996.0 15.0 0.0 0.0 0.25 0.0 2996.0 -2996.0 15.0 0.0 0.0 0.25 0.0 -2996.0 2996.0 15.0 0.0 0.0 0.25 0.0 2996.0 2996.0 15.0 0.0 0.0 0.25 0.0  1



consider also in futur the usage of Gforce
QUOTE
i found that the water plane size must be in increments of 4. 
i tried numbers 38,42 and 46 and the game eventually crashed in the surrounding area of the water, sometimes (using the bad numbers) you can actually jump in the water and it acts just like any other alpha plane with a dummy col and the player will not swim but get close to one boundaries of the water and the game crashes out.
Users WebsitePM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG