OBD:AKBA: Difference between revisions

181 bytes added ,  27 September 2022
Adding info about ignored fields (ref. - BFW_Akira.h, lines 483-487)
No edit summary
(Adding info about ignored fields (ref. - BFW_Akira.h, lines 483-487))
(4 intermediate revisions by 2 users not shown)
Line 12: Line 12:
{{OBDtr | 0x1C | int32    |00FFFF| B7 06 00 00 | 1719    | array size }}
{{OBDtr | 0x1C | int32    |00FFFF| B7 06 00 00 | 1719    | array size }}
{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr | 0x00 | int32hb  |FFC8C8| 00 00 00 00 |0, hig bit| plane equation for this "side" (see [[OBD:AKEV|AKEV]] / [[OBD:PLEA|PLEA]]); high bit reverses normal }}
{{OBDtr | 0x00 | int32hb  |FFC8C8| 00 00 00 00 |0, hig bit| plane index for this "side" (see [[OBD:AKEV|AKEV]] / [[OBD:PLEA|PLEA]]); high bit flips the plane }}
{{OBDtr | 0x04 | int32    |FFFFC8| 00 00 00 00 | 0        | [[OBD:AKAA|AKAA]] range start (adjacencies for this side) }}
{{OBDtr | 0x04 | int32    |FFFFC8| 00 00 00 00 | 0        | [[OBD:AKAA|AKAA]] range start (adjacencies for this side) }}
{{OBDtr | 0x08 | int32    |C8FFC8| 01 00 00 00 | 1        | [[OBD:AKAA|AKAA]] range end (adjacencies for this side) }}
{{OBDtr | 0x08 | int32    |C8FFC8| 01 00 00 00 | 1        | [[OBD:AKAA|AKAA]] range end (adjacencies for this side) }}
{{OBDtr | 0x0C | int32    |C8FFFF| 00 00 00 00 | 0        | unknown; appears to have no effect }}
{{OBDtr | 0x0C | int32    |C8FFFF| 00 00 00 00 | 0        | ignored <code>(originally as Ghost GQ Start Index)</code> }}
{{OBDtr | 0x10 | int32    |FFC8FF| 01 00 00 00 | 1        | unknown; appears to have no effect }}
{{OBDtr | 0x10 | int32    |FFC8FF| 01 00 00 00 | 1        | ignored <code>(originally as Ghost GQ End Index)</code> }}
{{OBDtr | 0x14 | int32    |FFC800| 00 00 00 00 | 0        | unknown; appears to have no effect }}
{{OBDtr | 0x14 | int32    |FFC800| 00 00 00 00 | 0        | ignored <code>(originally as BNV Quad Start Index)</code> }}
{{OBDtr | 0x18 | int32    |C800C8| 01 00 00 00 | 1        | unknown; appears to have no effect }}
{{OBDtr | 0x18 | int32    |C800C8| 01 00 00 00 | 1        | ignored <code>(originally as BNV Quad End Index)</code> }}
|}
|}


;Plane
It appears that the plane is ignored by the engine. In particular if a side has adjacencies then it has ghost quads and any quad has an associated plane. Sometimes the ghost quads are inside the BNV (instead of being on the edge) and in that case the quad plane is different from the side plane.


;[[OBD:AKAA|AKAA]] range
;[[OBD:AKAA|AKAA]] range
:These 2 fields make up a range of "adjacencies" (see [[OBD:AKAA|AKAA]]). If the fields are equal then the range is empty.
:These 2 fields make up a range of "adjacencies" (see [[OBD:AKAA|AKAA]]). If the fields are equal then the range is empty.
;Unknown fields
:All the "unknown" fields seem to be ignored by the engine: setting them to anything (0, -1, value bigger than [[OBD:AKBP|AKBP]] or [[OBD:AKAA|AKAA]] count etc.) apparently has no effect on the game.




{{OBD_File_Footer | type=AKBA | prev=AKAA | next=AKBP | name=Side Array | family=Level}}
{{OBD_File_Footer | type=AKBA | prev=AKAA | next=AKBP | name=Side Array | family=Level}}
{{OBD}}
281

edits