Difference between revisions of "Cullzone.dat"

From GTAMods Wiki
Jump to navigation Jump to search
(created page)
 
Line 44: Line 44:
  
 
== External link ==
 
== External link ==
* [http://gta-modz.3dn.ru/load/0-0-0-120-20 Cullzone decompiler for GTA III]
+
* [http://gta-modz.3dn.ru/load/0-0-0-120-20 Cullzone decompiler for GTA III by Majestic]
  
 
[[Category:File Formats]][[Category:GTA 3]][[Category:GTA VC]]
 
[[Category:File Formats]][[Category:GTA 3]][[Category:GTA VC]]

Revision as of 12:02, 22 December 2010

The cullzone.dat is a binary file containing zoning information in GTA III and Vice City. The file is located in the \data folder of the game's directory. It is unknown what the file does and it does not appear to be used in the games.

GTA III

The file consists of two sections. The header of each section is an integer value indicating the number of entries in the section. The first section has 17 columns and the second section has 8 columns. Many of the zones closely mimic the cull.ipl file.

Section 1:

Header
4b - int - Number of lines in the section
Body
4b - flt - x center
4b - flt - y center
4b - flt - z center
4b - flt - x bottom left
4b - flt - x top right
4b - flt - y bottom left
4b - flt - y top right
4b - flt - z bottom left
4b - flt - z top right
2b - int - ?
2b - int - ?
2b - int - ?
2b - int - ?
2b - int - ?
2b - int - ?
2b - int - ?
2b - int - ?

Section 2:

Header
4b - int - Number of lines in the section
Body
4b - flt - x bottom left
4b - flt - x top right
4b - flt - y bottom left
4b - flt - y top right
4b - flt - z bottom left
4b - flt - z top right
4b - int - ?
2b - int - ?

Vice City

Vice City has an additional file called cullzoneempty.dat. Both of these files are not used by the game at all.

External link