Difference between revisions of "CULL"

From GTAMods Wiki
Jump to navigation Jump to search
m (GTA SA: - to be edited...)
m
Line 3: Line 3:
 
| description = Create a [[Wikipedia:Culling|culling zone]]
 
| description = Create a [[Wikipedia:Culling|culling zone]]
 
}}
 
}}
'''Cull''' is one of the major [[IPL]] sections used in plaintext map placement files. It is used to create zones with different behaviour like mirrors or fixed camera positions just as it is able to influence the environment. For example it is able to disable rain in certain areas.
+
'''Cull''' is one of the major [[IPL]] sections used in plaintext map placement files. It is used to create zones with different behaviour like mirrors {{ref|1}} or fixed camera positions just as it is able to influence the environment. For example it is able to disable rain in certain areas.
  
 
== GTA III / Vice City ==
 
== GTA III / Vice City ==
  
Cull zones in the first 2 parts of the GTA 3D series are built by a box which is controlled by various flags.
+
Cull zones in the first 2 parts of the GTA 3D series are built by a box which is controlled by various flags. {{ref|2}}
  
 
  CenterX, CenterY, CenterZ, LowerLeftX, LowerLeftY, LowerLeftZ, UpperRightX, UpperRightY, UpperRightZ, Flags, Unknown
 
  CenterX, CenterY, CenterZ, LowerLeftX, LowerLeftY, LowerLeftZ, UpperRightX, UpperRightY, UpperRightZ, Flags, Unknown
Line 63: Line 63:
  
 
{{Research}}
 
{{Research}}
 +
 +
== References ==
 +
* {{note|1}} {{GTAF|203741|8 Track Screen}}
 +
* {{note|2}} {{GTAF|106678|GTA III cullzones encryption}}
  
 
== See also ==
 
== See also ==
Line 68: Line 72:
  
 
== External Link ==
 
== External Link ==
 +
* {{GTAF|209163|Karma contest with cullzones as topic}}
 
* {{GTAF|202532|IPL documentation topic}}
 
* {{GTAF|202532|IPL documentation topic}}
  

Revision as of 14:53, 5 April 2009

CULL (IPL section)
Short description:Create a culling zone
Supported games:GTA 3 GTA VC GTA SA GTA IV
IPL Sections:
2DFX AUZO BLOK CARS CULL ENEX GRGE
INST JUMP LINK LODM MLO+ MULT OCCL
PATH PICK RTFX SLOW TCYC VNOD ZONE

Cull is one of the major IPL sections used in plaintext map placement files. It is used to create zones with different behaviour like mirrors [1] or fixed camera positions just as it is able to influence the environment. For example it is able to disable rain in certain areas.

GTA III / Vice City

Cull zones in the first 2 parts of the GTA 3D series are built by a box which is controlled by various flags. [2]

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
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
Allways 0

Flags

Flags are numbers which are build out of a collection of numbers formed by the power of 2-numbers lower than 231. Some are defining various behaviours of the zone. They can be combined by simply adding one lag value to another.

Flag Binary Description
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
Unknown
8
0000 0000 0000 1000
Rain-free, police helicopter-free zone
4096
0001 0000 0000 0000
5-star military zone

This section is incomplete. You can help by fixing and expanding it.

GTA SA

has 2 major formats which are differed by the game:

CenterX, CenterY, CenterZ, Unknown, Ywidth, bottomZ, Xwidth, 0 (some kind of rotation), topZ, Flag, Flag 2
CenterX, CenterY, CenterZ, Unknown, Ywidth, bottomZ, Xwidth, 0 (some kind of rotation), topZ, Flag, Vx, Vy, Vz, Cm


Flags

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

GTA IV

References

See also

External Link