Difference between revisions of "OCCL"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 11: Line 11:
 
*'''height from bottom height to top:''' The difference in height from the top of the occlusion box to the bottom.<br>
 
*'''height from bottom height to top:''' The difference in height from the top of the occlusion box to the bottom.<br>
 
*'''rotation:''' The rotation of the occlusion box in angles (probably radians, I'm not sure).<br>
 
*'''rotation:''' The rotation of the occlusion box in angles (probably radians, I'm not sure).<br>
Occlusion boxes can only be viewed through Moo Mapper v0.95 or higher.
+
Occlusion boxes can only be viewed through ([[KEd]]).<br>
 +
The only known person who uses this file in modifications is spaceeinstein.
  
 
==References==
 
==References==
[http://sodagirl.xmgfree.com/occlu.php Occlusion Tool (temp site)]
+
[http://sodagirl.xmgfree.com/occlu.php Occlusion Tool] Temporary site to host Opius's occlusion tool
  
 
[[Category:Map Formats]][[Category:GTA VC]][[Category:GTA SA]]
 
[[Category:Map Formats]][[Category:GTA VC]][[Category:GTA SA]]

Revision as of 04:47, 12 February 2007

Introduction

Occlusion is a feature in Vice City and San Andreas that helps make the game run smoother in certain parts of the game. Occlusion boxes disable models that are behind the box from rendering. The occlusions are controlled by the occlu.ipl file in Vice City and other files scattered around in San Andreas. Rockstar didn't use this feature efficiently and didn't improve this much from Vice City. Deleting all entries in the occlu section doesn't have a major affect on your games.

Details

Format of the occlu section of the IPL file:

direct mid x, direct mid y, bottom height z, width x, width y, height from bottom height to top,
rotation
  • direct mid x, direct mid y: The middle of the occlusion box in X and Y coordinates.
  • bottom height z: The bottom Z coordinate of the occlusion box.
  • width x, width y: The width of the occlusion box in units of X and Y.
  • height from bottom height to top: The difference in height from the top of the occlusion box to the bottom.
  • rotation: The rotation of the occlusion box in angles (probably radians, I'm not sure).

Occlusion boxes can only be viewed through (KEd).
The only known person who uses this file in modifications is spaceeinstein.

References

Occlusion Tool Temporary site to host Opius's occlusion tool