19,721
edits
(separated header data from OSD; corrected/explained flags) |
m (corrected link due to section being moved to another page) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
{{OBDth}} | {{OBDth}} | ||
{{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | objects }} | {{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | objects }} | ||
{{OBDtr| 0x04 | int32 |FFFF00| | {{OBDtr| 0x04 | int32 |FFFF00| 08 38 00 00 | 14344 | size of the complete door part from this position in bytes }} | ||
{{OBDtr| 0x08 | int32 |00FF00| 27 00 00 00 | 39 | object list version }} | {{OBDtr| 0x08 | int32 |00FF00| 27 00 00 00 | 39 | object list version }} | ||
{{OBDtr| 0x0C | int32 |00FFFF| FC 00 00 00 | 252 | size of the following element in bytes }} | {{OBDtr| 0x0C | int32 |00FFFF| FC 00 00 00 | 252 | size of the following element in bytes }} | ||
| Line 15: | Line 15: | ||
{{OBDtrsubgroup}} | {{OBDtrsubgroup}} | ||
{{OBDtr| 0x00 | char[4] |FFC8C8| 52 4F 4F 44 | DOOR | door }} | {{OBDtr| 0x00 | char[4] |FFC8C8| 52 4F 4F 44 | DOOR | door }} | ||
{{OBDtr| 0x04 | int32 |FFFFC8| | {{OBDtr| 0x04 | int32 |FFFFC8| 15 19 00 00 | 6421 | object ID }} | ||
{{OBDtr| 0x08 | int32 |C8FFC8| 08 00 00 00 | 8 | object flags }} | {{OBDtr| 0x08 | int32 |C8FFC8| 08 00 00 00 | 8 | object flags; only used at runtime in Tool mode }} | ||
{{OBDtr| 0x0C | float |C8FFFF| 00 00 4F 43 | 207.000000| x | {{OBDtr| 0x0C | float |C8FFFF| 00 00 4F 43 | 207.000000| x position of the bottom of the door }} | ||
{{OBDtr| 0x10 | float |C8FFFF| 00 00 D8 42 | 108.000000| y | {{OBDtr| 0x10 | float |C8FFFF| 00 00 D8 42 | 108.000000| y position (height) of the bottom of the door }} | ||
{{OBDtr| 0x14 | float |C8FFFF| 98 7F CC C3 |-408.996826| z | {{OBDtr| 0x14 | float |C8FFFF| 98 7F CC C3 |-408.996826| z position of the bottom of the door }} | ||
{{OBDtr| 0x18 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the x | {{OBDtr| 0x18 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the x axis in degrees }} | ||
{{OBDtr| 0x1C | float |FFC8FF| 67 85 25 3D | 0.040410 | rotation on the y | {{OBDtr| 0x1C | float |FFC8FF| 67 85 25 3D | 0.040410 | rotation on the y axis in degrees }} | ||
{{OBDtr| 0x20 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the z | {{OBDtr| 0x20 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the z axis in degrees }} | ||
{{OBDtrsubgroup|end}} | {{OBDtrsubgroup|end}} | ||
{{OBDtr2|0x24 | char[63] |FFC800| TCdouble | door class name (reference to 00957-TCdouble.[[OBD:DOOR|DOOR]] of level 0) }} | |||
{{OBDtr| 0x63 | int16 |C800C8| 01 00 | 1 | door ID }} | {{OBDtr| 0x63 | int16 |C800C8| 01 00 | 1 | door ID }} | ||
{{OBDtr| 0x65 | int16 |C87C64| 00 00 | 0 | key ID }} | {{OBDtr| 0x65 | int16 |C87C64| 00 00 | 0 | key ID }} | ||
| Line 48: | Line 48: | ||
{{OBDtr2|0x79 | char[63] |EBEBEB| _DOOR_RL_FLOOR3 | first door texture (reference to 00216-_DOOR_RL_FLOOR3.[[OBD:TXMP|TXMP]]) }} | {{OBDtr2|0x79 | char[63] |EBEBEB| _DOOR_RL_FLOOR3 | first door texture (reference to 00216-_DOOR_RL_FLOOR3.[[OBD:TXMP|TXMP]]) }} | ||
{{OBDtr2|0xA8 | char[63] |8C8CCC| unused | second door texture (reference to a [[OBD:TXMP|TXMP]] file) }} | {{OBDtr2|0xA8 | char[63] |8C8CCC| unused | second door texture (reference to a [[OBD:TXMP|TXMP]] file) }} | ||
{{OBDtr |0xE7 | int16 |8C8CCC| 00 00 | 0 | number of | {{OBDtr |0xE7 | int16 |8C8CCC| 00 00 | 0 | number of event blocks following; see below }} | ||
{{OBDtr |0xE9 | | {{OBDtr |0xE9 | uint32 |8C8CCC| 00 00 00 | | alignment padding }} | ||
|} | |} | ||
==Events== | |||
An event can be executed when a door is locked or unlocked. No events are attached to this sample DOOR, so see [[OBD:BINA/OBJC/CONS#Events|BINA/OBJC/CONS]] for examples and documentation of the event feature. | |||
==Some interesting doors== | ==Some interesting doors== | ||