CULL

From GTAModding
Jump to: navigation, search
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 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.

Format

GTA III and 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.

GTA III Vice City Identifier Type Description
A,B,C
CenterX, CenterY, CenterZ
float[3] A point which defines the center of the box in real world coordinates.
D,E,F
LowerLeftX, LowerLeftY, LowerLeftZ
float[3] A point which corresponds to the lower left corner of the box.
G,H,I
UpperRightX, UpperRightY, UpperRightZ
float[3] A point which corresponds to the upper right corner of the box.
J
Flags
integer The behaviour of the cull zone – see below.
K
Unknown
integer Always 0

Changing the zones center coordinates does not directly affect the zone itself. Anyway this vector should always point to the real center of the zone since those values are used to calculate the distance of several instances (e.g. the player) to the zone itself.

GTA San Andreas / IV

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
CenterX, CenterY, CenterZ
Vector to the center of the cull zone.
Unknown1, Unknown2, Unknown3
Allways 0.
Length
Dimensions of the zone along y-axis.
Width
Dimensions of the zone along x-axis.
Top, Bottom
Absolute Z coordinate of the top and bottom of the box.
Flag
The behaviour of the cull zone – see below
Vx, Vy, Vz, Cm
Mirror parameters [4].

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

Mirrors

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
-1
1111 1111 1111 1111
Enables all flags. [3]
1
GTA III Vice City San Andreas GTA 4
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
GTA III Vice City San Andreas GTA 4
0000 0000 0000 0010
Camera remotely placed outside the zone, no control of camera, camera mode cannot be changed while in the zone
4
GTA III Vice City San Andreas GTA 4
0000 0000 0000 0100
Lowers the camera angle on boats
8
GTA III Vice City San Andreas GTA 4
0000 0000 0000 1000
Rain-free, police helicopter-free zone
16
GTA III Vice City
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.
256
GTA III Vice City
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.
1024
Vice City
0000 0010 0000 0000
Some visual ocean water effects are removed like the transparent waves and sparkles on the water
4096
San Andreas GTA 4
0001 0000 0000 0000
5-Star Military zone.

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

References

External links

v · d · e
GTA 4 Grand Theft Auto IV
File Formats.dat.gxt.ide.img.ipl.nod.sco.rpf.rrr.wad.wbd/.wbn.wdd.wdr.wft.whm.wpl.wtd
DocumentationAudioBink VideoCryptographyCutscenesImage listingMap ListingNative functionsPathsScenariosSavesVTableWeapons
ToolsASI LoaderENBSeriesG-TextureGIMSIV NeedleOpenIVScoclSparkIVXLiveLessWPL ManagerX Mod Installer
AliceC++ Script Hook.NET Script Hook
TutorialsImporting Textures with OpenIVImporting Textures with SparkIV
MultiplayerFour MultiplayerIV MultiplayerIV:Online
ModificationsGTA 3 Rage ClassicGTA Vice City RageIV:SAGostown IV
Useful linksCommunity portalDiscussion forumsGTA IV Modding ForumMods on GTAGarage.com
v · d · e
San Andreas Grand Theft Auto: San Andreas
File Formats.col.cfg.cut.dff.dat.fxp.gxt.ide.ifp.img.iplnodes*.dat.rep.rrr.scm.set.txd
DocumentationAudioCryptographyCutscenesGame memoryHandling.cfgMap ListingMission PacksOpcodesPathsReplaysSavesScripts
ToolsCLEOCollision File Editor IIENBSeriesG-ToolsIMG ToolLimit AdjusterMap EditorSan Andreas Audio ToolkitSanny BuilderTXD Workshop
TutorialsSan Andreas v2.0 ModdingHow to create a missionHow to create a threadHow to use Map Editor
ModificationsDesign Your Own MissionGostown ParadiseGTA: UnitedMyriad Islands
MultiplayergtaTournamentMulti Theft AutoSan Andreas Multiplayer(more...)
Useful linksCommunity portalDiscussion forumsMods on GTAGarage.comOpcodes database
v · d · e
Vice City Grand Theft Auto: Vice City
File Formats.adf.col.cfg.dff.dat.gxt.ide.ifp.img/.dir.ipl.raw/.sdt.rep.scm.txd
DocumentationHandlingMap ListingOpcodesScript PathsSavesSound Effects
ToolsCLEOCollision File Editor IIG-ToolsGXT EditorIMG ToolLimit AdjusterKEd (map editor)Sanny Builder (script editor)TXD Workshop
TutorialsHow to create a missionHow to create a thread
ModificationsGTA: Liberty CityState of Liberty
MultiplayerGTA:LC MultiplayergtaTournamentMulti Theft AutoState Of Liberty OnlineVice City MultiplayerVice City OnlineMulti-Vice
Useful linksCommunity portalDiscussion forumsMods on GTAGarage.comModding VC Mobile versionOpcodes database