Difference between revisions of "CULL"
m (→San Andreas: Thought wrong - Vx can also be zero) |
|||
Line 26: | Line 26: | ||
|} | |} | ||
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. | 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. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== San Andreas == | == San Andreas == | ||
Line 95: | Line 59: | ||
{{Incomplete}} | {{Incomplete}} | ||
− | ==== | + | === Mirrors === |
+ | |||
+ | <div class="notice metadata" style="font-size:100%; margin-top:1.5em; margin-bottom:0.5em; padding:0.5em; clear:both; border:4px dotted #e5e5e5; text-align: center; vertical-align: middle;">[[Image:Research.png]]''<span style="white-space: nowrap; ">This section is about to be written. If you want to read or help writing it have a look at the [[{{TALKPAGENAME}}|discussion page]].''</span></div> | ||
+ | |||
+ | == GTA IV == | ||
+ | |||
+ | {{Research}} | ||
+ | |||
+ | == Flags == | ||
− | + | 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]]). | |
{|{{Prettytable}} class="collapsible" | {|{{Prettytable}} class="collapsible" | ||
!width="120px"|Flag | !width="120px"|Flag | ||
+ | !width="100px"|Supported games | ||
!width="25%"|Binary | !width="25%"|Binary | ||
!Description | !Description | ||
|- | |- | ||
− | |<center>-1</center>||<center>1111 1111 1111 1111 {{ref|3}}</center>||Enables all flags. | + | |<center>-1</center>||<center>–</center>||<center>1111 1111 1111 1111 {{ref|3}}</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>{{Icon|3}} {{Icon|VC}} {{Icon|SA}} {{Icon|4}}</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>|| | + | |<center>2</center>||<center>{{Icon|3}} {{Icon|VC}} {{Icon|SA}} {{Icon|4}}</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>|| | + | |<center>4</center>||<center>{{Icon|3}} {{Icon|VC}} {{Icon|SA}} {{Icon|4}}</center>||<center>0000 0000 0000 0100</center>||Lowers the camera angle on boats |
|- | |- | ||
− | |<center>8</center>||<center>0000 0000 0000 1000</center>||Rain-free, police helicopter-free zone | + | |<center>8</center>||<center>{{Icon|3}} {{Icon|VC}} {{Icon|SA}} {{Icon|4}}</center>||<center>0000 0000 0000 1000</center>||Rain-free, police helicopter-free zone |
|- | |- | ||
− | |<center>4096</center>||<center>0001 0000 0000 0000</center>||5- | + | |<center>16</center>||<center>{{Icon|3}} {{Icon|VC}}</center>||<center>0000 0000 0001 0000</center>||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. |
+ | |- | ||
+ | |<center>256</center>||<center>{{Icon|3}} {{Icon|VC}}</center>||<center>0000 0001 0000 0000</center>||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. | ||
+ | |- | ||
+ | |<center>1024</center>||<center>{{Icon|3}} {{Icon|VC}}</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>4096</center>||<center>{{Icon|SA}} {{Icon|4}}</center>||<center>0001 0000 0000 0000</center>||5-Star Military zone. | ||
|} | |} | ||
{{Incomplete}} | {{Incomplete}} | ||
− | |||
− | |||
− | |||
− | |||
== References == | == References == |
Revision as of 08:10, 15 July 2010
Short description: | Create a culling zone | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Supported games: | GTA 3 GTA VC GTA SA GTA IV | |||||||||||||||||||||
IPL Sections:
|
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.
Contents
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 |
---|---|
A point which defines the center of the box in real world coordinates Useless? Doesn't seem to affect the zone. | |
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.
San Andreas
San Andreas has two different major formats in the game:
CenterX, CenterY, CenterZ, Unknown1, Length, Bottom, Width, Unknown2, Top, Flag, Unknown3
CenterX, CenterY, CenterZ, Unknown1, Length, Bottom, Width, Unknown2, Top, 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.
Value | Description |
---|---|
Vector to the center of the cull zone. | |
Allways 0. | |
Dimensions of the zone along y-axis. | |
Dimensions of the zone along x-axis. | |
Absolute Z coordinate of the top and bottom of the box. | |
Flags - see below! | |
Mirror parameters [4]. |
This section is incomplete. You can help by fixing and expanding it.
Mirrors
GTA IV
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 flag value to another (see binary to decimal conversion).
Flag | Supported games | 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 | |||
Lowers the camera angle on boats | |||
Rain-free, police helicopter-free zone | |||
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. | |||
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. | |||
Some visual water effects are removed like the transparent waves and sparkles on the water (like the water in GTA III). | |||
5-Star Military zone. |
This section is incomplete. You can help by fixing and expanding it.
References
- ^ GTAForums: 8 Track Screen
- ^ GTAForums: GTA VC cullzones deciphered
- ^ Two's complement
- ^ GTAForums: SA Mirrors
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 |