EvilEngine/PIPT: Difference between revisions

no edit summary
Battlepedia>Crazy Muzzarino
(Created page with "==Format== The pipe information contains additional material stuff for level objects. {| class="wikitable" ! Offset !! Type !! Description !! Notes |- | 0x00 || word || Unkno...")
 
Battlepedia>Igorseabra4
No edit summary
Line 1:
==Format==
The pipe information contains additional material stuff for level objects. The file starts with an int which defines the amount of entries, then each entry has the following layout:
 
{| class="wikitable"
! Offset !! Type !! Description !! Notes
|-
| 0x00 || wordint || Unknown[[AssetID]] || [[MODL]]
|-
| 0x04 || int || Unknown || Usually -1; might be mesh index in the model?
|-
| 0x0D0x08 || byte || CullingRelated to visibility? ||
| 0x08 || int || Model Display ID || Usually FF FF FF FF, sometimes 01 or 06 for the test ring or something.
|-
| 0x0C0x09 || byte || Related to visibility?Culling ||
|-
| 0x0E0x0A || byte || Destination/Source Blend || When one of the digits is set to 0, their default factors will be used instead.
| 0x0D || byte || Culling ||
|-
| 0x0E || byte || Destination/Source Blend || When one of the digits is set to 0, their default factors will be used instead.
|-
| 0x0B || byte || ?
|}
 
Note: this applies to big endian (GameCube) only. The 4 bytes are reversed in little endian.
 
===Blend factor types===