Waterpro.dat: Difference between revisions

(contributions from myself)
 
mNo edit summary
 
Line 2: Line 2:


==Format==
==Format==
0x0000        - Number of water levels (max. 48)
{{Pre|1=
0x0004..0x00C0 - Water height at each water level, recommended 0.0 for GTA III and 6.0 for GTA Vice City
0x0000        - Number of water levels (max. 48)
0x00C4..0x03C0 - Structure of type {StartX, StartY, EndX, EndY} defining water zones
0x0004..0x00C0 - Water height at each water level, recommended 0.0 for GTA III and 6.0 for GTA Vice City
0x03C4..0x13C0 - Visible water level map (64x64). Each byte corresponds to the index of the water level, which is the second section of the file
0x00C4..0x03C0 - Structure of type {StartX, StartY, EndX, EndY} defining water zones
0x13C4..0x53C0 - Physical water level map (128x128). Each byte corresponds to the index of the water level, which is the second section of the file
0x03C4..0x13C0 - Visible water level map (64x64). Each byte corresponds to the index of the water level, which is the second section of the file
0x13C4..0x53C0 - Physical water level map (128x128). Each byte corresponds to the index of the water level, which is the second section of the file
}}


==External link==
==External link==

Latest revision as of 10:44, 26 August 2018

waterpro.dat is a binary file that places water tiles around the map in Grand Theft Auto III and Grand Theft Auto: Vice City. It can be manually edited using a hex editor or through a GUI using Water Editor.

Format

0x0000         - Number of water levels (max. 48)
0x0004..0x00C0 - Water height at each water level, recommended 0.0 for GTA III and 6.0 for GTA Vice City
0x00C4..0x03C0 - Structure of type {StartX, StartY, EndX, EndY} defining water zones
0x03C4..0x13C0 - Visible water level map (64x64). Each byte corresponds to the index of the water level, which is the second section of the file
0x13C4..0x53C0 - Physical water level map (128x128). Each byte corresponds to the index of the water level, which is the second section of the file

External link