OBD:BINA/PAR3: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 16: Line 16:
{{OBDtr| 0x08 | int16      |00FF00| 9C 06      | 1692      | length again }}
{{OBDtr| 0x08 | int16      |00FF00| 9C 06      | 1692      | length again }}
{{OBDtr| 0x0A | int16      |00FF00| 12 00      | 18        | version }}
{{OBDtr| 0x0A | int16      |00FF00| 12 00      | 18        | version }}
{{OBDtr| 0x0C | int32      |00FFFF| 01 20 00 00 | 0x2001    | flags1; known flags (from left to right):
{{OBDtr| 0x0C | int32      |00FFFF| 01 20 00 00 | 0x2001    | flags1; used flags (from left to right):
:0x'''01''' 00 00 00 - decorative
:0x'''01''' 00 00 00 - decorative
:0x'''E0''' 00 00 00 - sprite mode mask (3 bits, sprite modes 0,1,2,3,4 and 7 are possible)
:0x'''08''' 00 00 00 - unknown
:0x'''E0''' 00 00 00 - sprite/contrail mode mask (3 bits, see below for possible values)
:0x00 '''01''' 00 00 - geometry
:0x00 '''01''' 00 00 - geometry
:0x00 '''02''' 00 00 - collide with walls
:0x00 '''02''' 00 00 - collide with walls
:0x00 '''04''' 00 00 - collide with chars
:0x00 '''04''' 00 00 - collide with chars
:0x00 '''08''' 00 00 - unknown
:0x00 '''10''' 00 00 - has velocity
:0x00 '''10''' 00 00 - has velocity
:0x00 '''20''' 00 00 - has orientation
:0x00 '''20''' 00 00 - has orientation
:0x00 '''40''' 00 00 - offset position
:0x00 '''40''' 00 00 - offset position
:0x00 '''80''' 00 00 - attached to object
:0x00 '''80''' 00 00 - attached to object
:0x00 00 '''02''' 00 - decal
:0x00 00 '''01''' 00 - unknown
:0x00 00 '''02''' 00 - has decal state
:0x00 00 '''04''' 00 - texture animation: random start
:0x00 00 '''08''' 00 - texture animation: animate independently
:0x00 00 '''10''' 00 - unknown
:0x00 00 '''20''' 00 - has contrail data
:0x00 00 '''20''' 00 - has contrail data
:0x00 00 '''40''' 00 - unknown; lensflare related
:0x00 00 '''80''' 00 - is attracted
:0x00 00 '''80''' 00 - is attracted
:0x00 00 00 '''01''' - has collision cache }}
:0x00 00 00 '''01''' - has collision cache }}
{{OBDtr| 0x10 | int32      |00FFFF| 00 00 00 02 | 0x02000000 | flags2; known flags (from left to right):
{{OBDtr| 0x10 | int32      |00FFFF| 00 00 00 02 | 0x02000000 | flags2; used flags (from left to right):
:0x'''01''' 00 00 00 - use special tint
:0x'''01''' 00 00 00 - use special tint
:0x'''02''' 00 00 00 - unknown
:0x'''08''' 00 00 00 - unknown
:0x'''10''' 00 00 00 - unknown
:0x'''60''' 00 00 00 - disable level mask (2 bits, 0x00 - never disable, 0x40 - disable medium detail, 0x60 - disable low detail)
:0x'''60''' 00 00 00 - disable level mask (2 bits, 0x00 - never disable, 0x40 - disable medium detail, 0x60 - disable low detail)
:0x00 00 '''10''' 00 - draw as sky
:0x00 00 '''10''' 00 - draw as sky
:0x00 00 '''20''' 00 - unknown
:0x00 00 '''80''' 00 - decal
:0x00 00 '''80''' 00 - decal
:0x00 00 00 '''01''' - unknown
:0x00 00 00 '''02''' - invisible
:0x00 00 00 '''02''' - invisible
:0x00 00 00 '''04''' - unknown
:0x00 00 00 '''08''' - vector
:0x00 00 00 '''08''' - vector
:0x00 00 00 '''10''' - unknown
:0x00 00 00 '''20''' - contrail
:0x00 00 00 '''20''' - contrail
:0x00 00 00 '''40''' - lensflare}}
:0x00 00 00 '''40''' - lensflare
:0x00 00 00 '''80''' - unknown}}
{{OBDtr| 0x14 | int32      |FF00FF| 00 00 00 00 | 0          | unknown; looks like garbage data; maybe thelast one (if you read it from right to left) is a bitset too}}
{{OBDtr| 0x14 | int32      |FF00FF| 00 00 00 00 | 0          | unknown; looks like garbage data; maybe thelast one (if you read it from right to left) is a bitset too}}
{{OBDtr| 0x18 | int16      |FF8000| 01 00      | 1          | number of variables }}
{{OBDtr| 0x18 | int16      |FF8000| 01 00      | 1          | number of variables }}
Line 45: Line 60:
{{OBDtr| 0x1e | int16      |FF8000| 00 01      | 256        | unknown; always the same }}
{{OBDtr| 0x1e | int16      |FF8000| 00 01      | 256        | unknown; always the same }}
|}
|}
Sprite modes:
*0 - sprite (face camera orient to screen)
*1 - rotated sprite (face camera orient to particle)
*2 - beam (parallel face camera)
*3 - arrow (parallel orient to particle)
*7 - discus (parallel orient to particle)
*4 - flat (perpendicular)
Contrail modes:
*5 - contrail (orient to particle)
*6 - contrail (face camera)


===Event groups (0x20 - 0x5F)===
===Event groups (0x20 - 0x5F)===
708

edits