GTA Wiki

Help required: categories

Hi everyone, please help us by filling out this form!


We are determining how players best define and/or differentiate the terms "game modes", "missions" and "activities". This will be used to help us develop a clear and logical category tree to house articles related to this type of content.


Thank you in advance for help!

READ MORE

GTA Wiki
GTA Wiki
19,871
pages
No edit summary
m (template update)
 
(3 intermediate revisions by 3 users not shown)
Line 6: Line 6:
   
 
== GTA III / Vice City ==
 
== GTA III / Vice City ==
 
Cull zones in ''GTA III'' and ''Vice City'' are built by a box which is controlled by various flags{{ref|2}}. By default, most of the cull zones are located in <code>data\maps\cull.ipl</code> for both games.
 
Cull zones in GTA III and Vice City are built by a box which is controlled by various flags{{ref|2}}. By default, most of the cull zones are located in <code>data\maps\cull.ipl</code> for both games.
 
   
 
CenterX, CenterY, CenterZ, LowerLeftX, LowerLeftY, LowerLeftZ, UpperRightX, UpperRightY, UpperRightZ, Flags, Unknown
 
CenterX, CenterY, CenterZ, LowerLeftX, LowerLeftY, LowerLeftZ, UpperRightX, UpperRightY, UpperRightZ, Flags, Unknown
 
 
{|class="prettytable collapsible"
 
{|class="prettytable collapsible"
 
!Identifier
 
!Identifier
Line 28: Line 26:
   
 
====Flags====
 
====Flags====
 
Flags are numbers which are built out of a collection of numbers formed by the ''[[Wikipedia:Power of 2|power of 2]]''-numbers lower than 2<sup>30</sup>. Some are defining various behaviours of the zone. They can be combined by simply adding one flag value to another (see [[binary to decimal conversion]]).
 
Flags are numbers which are build out of a collection of numbers formed by the ''[[Wikipedia:Power of 2|power of 2]]''-numbers lower than 2<sup>30</sup>. Some are defining various behaviours of the zone. They can be combined by simply adding one flag value to another (see [[binary to decimal conversion]]).
 
 
 
{|class="prettytable collapsible"
 
{|class="prettytable collapsible"
 
!width="120px"|Flag
 
!width="120px"|Flag
Line 40: Line 36:
 
|<center>1</center>||<center>0000 0000 0000 0001</center>||Camera close in into player using closest third-person view camera mode, does not close in if in first person or cinematic mode, camera mode cannot be changed while in the zone
 
|<center>1</center>||<center>0000 0000 0000 0001</center>||Camera close in into player using closest third-person view camera mode, does not close in if in first person or cinematic mode, camera mode cannot be changed while in the zone
 
|-
 
|-
|<center>2</center>||<center>0000 0000 0000 0010</center>||camera remotely placed outside the zone, no control of camera, camera mode cannot be changed while in the zone
+
|<center>2</center>||<center>0000 0000 0000 0010</center>||Camera remotely placed outside the zone, no control of camera, camera mode cannot be changed while in the zone
 
|-
 
|-
 
|<center>4</center>||<center>0000 0000 0000 0100</center>||Lowers the camera angle on boats
 
|<center>4</center>||<center>0000 0000 0000 0100</center>||Lowers the camera angle on boats
Line 58: Line 54:
 
|<center>512</center>||<center>0000 0001 0000 0000</center>||
 
|<center>512</center>||<center>0000 0001 0000 0000</center>||
 
|-
 
|-
|<center>1024</center>||<center>0000 0010 0000 0000</center>||Some visual water effects are removed like the transparent waves and sparkles on the water (like the water in GTA III).
+
|<center>1024</center>||<center>0000 0010 0000 0000</center>||Some visual water effects are removed like the transparent waves and sparkles on the water (like the water in ''GTA III'').
 
|}
 
|}
 
{{Incomplete}}
 
   
 
== San Andreas ==
 
== San Andreas ==
 
''GTA San Andreas'' has two different major formats in the game:
 
GTA San Andreas has two different major formats in the game:
 
   
 
CenterX, CenterY, CenterZ, Unknown1, WidthY, BottomZ, WidthX, Unknown2, TopZ, Flag, Unknown3
 
CenterX, CenterY, CenterZ, Unknown1, WidthY, BottomZ, WidthX, Unknown2, TopZ, Flag, Unknown3
Line 72: Line 65:
   
 
Coordinates are always rounded to the nearest world [[unit]] so that they are no longer floating point values, they are non-decimal integers.
 
Coordinates are always rounded to the nearest world [[unit]] so that they are no longer floating point values, they are non-decimal integers.
 
{{Incomplete}}
 
   
 
==== Flags ====
 
==== Flags ====
 
Not all flags from the previous game are compatible with ''San Andreas''.
 
Not all flags from the previous game are compatible with San Andreas.
 
   
 
{|class="prettytable collapsible"
 
{|class="prettytable collapsible"
Line 86: Line 76:
 
|<center>-1</center>||||Enables all flags.
 
|<center>-1</center>||||Enables all flags.
 
|-
 
|-
|<center>1</center>||<center>0000 0000 0000 0001</center>||Camera close in into player using closest third-person view camera mode, does not close in if in first person or cinematic mode, camera mode cannot be changed while in the zone
+
|<center>1</center>||<center>0000 0000 0000 0001</center>||Camera closes in into player using closest third-person view camera mode, does not close in if in first person or cinematic mode, camera mode cannot be changed while in the zone
 
|-
 
|-
|<center>2</center>||<center>0000 0000 0000 0010</center>||camera remotely placed outside the zone, no control of camera, camera mode cannot be changed while in the zone
+
|<center>2</center>||<center>0000 0000 0000 0010</center>||Camera remotely placed outside the zone, no control of camera, camera mode cannot be changed while in the zone
 
|-
 
|-
 
|<center>4</center>||<center>0000 0000 0000 0100</center>||Unknown
 
|<center>4</center>||<center>0000 0000 0000 0100</center>||Unknown
Line 94: Line 84:
 
|<center>8</center>||<center>0000 0000 0000 1000</center>||Rain-free, police helicopter-free zone
 
|<center>8</center>||<center>0000 0000 0000 1000</center>||Rain-free, police helicopter-free zone
 
|-
 
|-
|<center>4096</center>||<center>0001 0000 0000 0000</center>||5-star military zone
+
|<center>4096</center>||<center>0001 0000 0000 0000</center>||5-star military zone
 
|}
 
|}
 
{{Incomplete}}
 
   
 
== GTA IV ==
 
== GTA IV ==
 
 
{{Research}}
 
{{Research}}
   
Line 108: Line 95:
 
{{fdl}}
 
{{fdl}}
   
  +
==Navigation==
{{modding}}
+
{{Navbox modding}}
 
[[Category:Map Formats]]
 
[[Category:Map Formats]]
 
[[Category:Modifications]]
 
[[Category:Modifications]]
  +
  +
==Navigation==
  +
{{Navbox game files}}

Latest revision as of 15:06, 25 July 2023

CULL (IPL section)
Supported games:Grand Theft Auto III, Grand Theft Auto: Vice City Grand Theft Auto: San Andreas Grand Theft Auto IV
Short description:Create a culling zone
IPL Sections:
AUZO CARS CULL ENEX GRGE INST
JUMP MULT OCCL PATH • PICK TCYC

Navigation

[ ve ]Game files and formats in Grand Theft Auto
Important!See our Policy on modded content.
File formatsIMG Archive | DFF | TXD | IDE | GXT | Handling.cfg | Carcols Dynamic Object
Game filesAnimviewer.dat/GTAVC | Bink | Default.dat/GTAVC | Chassis Vlo | Fistfite.dat/GTAVC | Flight.dat | Gta vc.dat | Object.dat/GTAVC | OpenGTA2 | Particle.cfg/GTAVC | Particle (SA) | Paths | Ped.dat/GTAVC | Pedgrp.dat/GTAVC | Pedstats.dat/GTAVC | Scenarios.dat | Scripted Path | Surface.dat/GTAVC | Surfaud.dat | TimeCyc Definition | Timecyc.dat/GTAVC | Train.dat/GTAVC | Train.dat/GTAVC | Train.dat/GTAVC | Train2.dat/GTAVC | WAD | WBD-WBN | WPFL | Water.dat | Water.dat/GTAVC | Weapon.dat/GTAVC | Weaponinfo.xml
File toolsCodeWalker | OpenIV | Spark IV

CULL is a section in the IPL file. It is used to create zones with different behaviour like mirrors [1] or fixed camera positions. It can also influence the environment like disable rain within the zone and certain police behaviors.

GTA III / Vice City

Cull zones in GTA III and Vice City are built by a box which is controlled by various flags[2]. By default, most of the cull zones are located in data\maps\cull.ipl for both games.

CenterX, CenterY, CenterZ, LowerLeftX, LowerLeftY, LowerLeftZ, UpperRightX, UpperRightY, UpperRightZ, Flags, Unknown
Identifier Description
CenterX, CenterY, CenterZ
A point which defines the center of the box in real world coordinates
Useless? Doesn't seem to affect the zone.
LowerLeftX, LowerLeftY, LowerLeftZ
A point which corresponds to the lower left corner of the box.
UpperRightX, UpperRightY, UpperRightZ
A point which corresponds to the upper right corner of the box.
Flags
The behaviour of the cull zone – see below.
Unknown
Always 0

The first three parameters are odd since placing any values do not have an effect on the zone. They seem to act like identifiers rather than functions.

Flags

Flags are numbers which are built out of a collection of numbers formed by the power of 2-numbers lower than 230. Some are defining various behaviours of the zone. They can be combined by simply adding one flag value to another (see binary to decimal conversion).

Flag Binary Description
-1
Enables all flags.
1
0000 0000 0000 0001
Camera close in into player using closest third-person view camera mode, does not close in if in first person or cinematic mode, camera mode cannot be changed while in the zone
2
0000 0000 0000 0010
Camera remotely placed outside the zone, no control of camera, camera mode cannot be changed while in the zone
4
0000 0000 0000 0100
Lowers the camera angle on boats
8
0000 0000 0000 1000
Rain-free, police helicopter-free zone
16
0000 0000 0001 0000
Police will not exit their vehicles voluntarily. They will only exit if you do something to them (like shoot it). Cops both on foot and in vehicles will not chase you but can shoot at you.
32
0000 0000 0010 0000
64
0000 0000 0100 0000
128
0000 0000 1000 0000
256
0000 0001 0000 0000
Police will always exit their vehicles once they are spawned ONLY IF you have a wanted level. If you don't, they'll drive normally.
512
0000 0001 0000 0000
1024
0000 0010 0000 0000
Some visual water effects are removed like the transparent waves and sparkles on the water (like the water in GTA III).

San Andreas

GTA San Andreas has two different major formats in the game:

CenterX, CenterY, CenterZ, Unknown1, WidthY, BottomZ, WidthX, Unknown2, TopZ, Flag, Unknown3
CenterX, CenterY, CenterZ, Unknown1, WidthY, BottomZ, WidthX, Unknown2, TopZ, Flag, Vx, Vy, Vz, Cm

Coordinates are always rounded to the nearest world unit so that they are no longer floating point values, they are non-decimal integers.

Flags

Not all flags from the previous game are compatible with San Andreas.

Flag Binary Description
-1
Enables all flags.
1
0000 0000 0000 0001
Camera closes in into player using closest third-person view camera mode, does not close in if in first person or cinematic mode, camera mode cannot be changed while in the zone
2
0000 0000 0000 0010
Camera remotely placed outside the zone, no control of camera, camera mode cannot be changed while in the zone
4
0000 0000 0000 0100
Unknown
8
0000 0000 0000 1000
Rain-free, police helicopter-free zone
4096
0001 0000 0000 0000
5-star military zone

GTA IV

This page requires more research.

See also

Copyrighted

This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of GTA Wiki.

The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See GTA Wiki:Copyright for more detail on our copyright policy.

Navigation

[ ve ]Modding in Grand Theft Auto
Important!See our Policy on modded content.
Official modificationsFiveM
Unofficial modificationsGTA Garage Mod Manager | Hot Coffee | Multi Theft Auto | San Andreas Multiplayer | Vice City Multiplayer
File toolsCodeWalker (CodeX) | OpenIV | Spark IV

Navigation

[ ve ]Game files and formats in Grand Theft Auto
Important!See our Policy on modded content.
File formatsIMG Archive | DFF | TXD | IDE | GXT | Handling.cfg | Carcols Dynamic Object
Game filesAnimviewer.dat/GTAVC | Bink | Default.dat/GTAVC | Chassis Vlo | Fistfite.dat/GTAVC | Flight.dat | Gta vc.dat | Object.dat/GTAVC | OpenGTA2 | Particle.cfg/GTAVC | Particle (SA) | Paths | Ped.dat/GTAVC | Pedgrp.dat/GTAVC | Pedstats.dat/GTAVC | Scenarios.dat | Scripted Path | Surface.dat/GTAVC | Surfaud.dat | TimeCyc Definition | Timecyc.dat/GTAVC | Train.dat/GTAVC | Train.dat/GTAVC | Train.dat/GTAVC | Train2.dat/GTAVC | WAD | WBD-WBN | WPFL | Water.dat | Water.dat/GTAVC | Weapon.dat/GTAVC | Weaponinfo.xml
File toolsCodeWalker | OpenIV | Spark IV