Difference between revisions of "CULL"
(clarity/corrections) |
|||
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 {{ref|1}} or fixed camera positions. It can also influence the environment like disable rain within the zone. |
== GTA III / Vice City == | == GTA III / Vice City == | ||
− | Cull zones in | + | Cull zones in GTA III and Vice City series are built by a box which is controlled by various flags{{ref|2}}. Most of the default 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="wikitable" class="collapsible" |
!Identifier | !Identifier | ||
!Description | !Description | ||
Line 23: | Line 23: | ||
|<center>Flags</center>||The behaviour of the cull zone – ''see [[CULL#Flags|below]]''. | |<center>Flags</center>||The behaviour of the cull zone – ''see [[CULL#Flags|below]]''. | ||
|- | |- | ||
− | |<center>Unknown</center>|| | + | |<center>Unknown</center>||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==== | ||
Line 44: | Line 45: | ||
|- | |- | ||
|<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 | ||
− | |||
− | |||
|} | |} | ||
{{Incomplete}} | {{Incomplete}} | ||
− | == | + | == San Andreas == |
− | [[Category:GTA SA|San Andreas]] has | + | [[:Category:GTA SA|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 | ||
+ | |||
CenterX, CenterY, CenterZ, Unknown1, WidthY, BottomZ, WidthX, Unknown2, TopZ, Flag, Vx, Vy, Vz, Cm | CenterX, CenterY, CenterZ, Unknown1, WidthY, BottomZ, WidthX, Unknown2, TopZ, Flag, Vx, Vy, Vz, Cm | ||
− | Coordinates are | + | Coordinates are always rounded to the nearest world [[unit]] so that they are no floating point values any longer. They are non-decimal integers. |
{{Incomplete}} | {{Incomplete}} | ||
Line 64: | Line 64: | ||
Not all flags from the previous game are still compatible with San Andreas. | Not all flags from the previous game are still compatible with San Andreas. | ||
+ | |||
+ | {|{{Prettytable}} class="collapsible" | ||
+ | !width="120px"|Flag | ||
+ | !width="25%"|Binary | ||
+ | !Description | ||
+ | |- | ||
+ | |<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>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>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 | ||
+ | |} | ||
{{Incomplete}} | {{Incomplete}} | ||
Line 78: | Line 96: | ||
* [[IPL|Item placement file format specification]] | * [[IPL|Item placement file format specification]] | ||
− | == External | + | == External links == |
* {{GTAF|209163|Karma contest with cullzones as topic}} | * {{GTAF|209163|Karma contest with cullzones as topic}} | ||
* {{GTAF|202532|IPL documentation topic}} | * {{GTAF|202532|IPL documentation topic}} | ||
− | {{SA | + | {{N|4|SA}} |
− | |||
[[Category:Map Formats]][[Category:GTA LCS]][[Category:GTA VCS]] | [[Category:Map Formats]][[Category:GTA LCS]][[Category:GTA VCS]] |
Revision as of 08:25, 9 August 2009
Short description: | Create a culling zone | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Supported games: | GTA 3 GTA VC GTA SA GTA IV | |||||||||||||||||||||
IPL Sections:
|
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. It can also influence the environment like disable rain within the zone.
Contents
GTA III / Vice City
Cull zones in GTA III and Vice City series are built by a box which is controlled by various flags[2]. Most of the default 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 |
---|---|
A point which defines the center of the box in real world coordinates | |
A point which corresponds to the lower left corner of the box. | |
A point which corresponds to the upper right corner of the box. | |
The behaviour of the cull zone – see below. | |
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 build 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 lag value to another.
Flag | Binary | Description |
---|---|---|
Enables all flags. | ||
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 | ||
camera remotely placed outside the zone, no control of camera, camera mode cannot be changed while in the zone | ||
Unknown | ||
Rain-free, police helicopter-free zone |
This section is incomplete. You can help by fixing and expanding it.
San Andreas
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 floating point values any longer. They are non-decimal integers.
This section is incomplete. You can help by fixing and expanding it.
Flags
Not all flags from the previous game are still compatible with San Andreas.
Flag | Binary | Description |
---|---|---|
Enables all flags. | ||
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 | ||
camera remotely placed outside the zone, no control of camera, camera mode cannot be changed while in the zone | ||
Unknown | ||
Rain-free, police helicopter-free zone | ||
5-star military zone |
This section is incomplete. You can help by fixing and expanding it.
GTA IV
References
- ^ GTAForums: 8 Track Screen
- ^ GTAForums: GTA III cullzones encryption
See also
External links
- GTAForums: Karma contest with cullzones as topic
- GTAForums: IPL documentation topic
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |