cullzone.dat

From GTAMods Wiki
Revision as of 12:16, 23 December 2010 by Solom (talk | contribs)
Jump to navigation Jump to search

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.

Maximum number of zones in the Section 1 = 512

Maximum number of zones in the Section 2 = 288

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