Waterpro.dat

From GTAMods Wiki
Revision as of 18:06, 6 July 2010 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

waterpro.dat is a binary file that places water tiles around the map in GTA III and 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 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

Post.png Post on GTAForums