Jump to content

OBD:BINA/OBJC/DOOR: Difference between revisions

m
design
mNo edit summary
m (design)
Line 1: Line 1:
{{OBD OBJC Header|align=right|type=DOOR|prev=CONS|next=FLAG|name=Door|onistuff=b_do}}
{{OBD OBJC Header | align=center | type=DOOR | prev=CONS | next=FLAG | name=Door}}
;Blue Box Beta WMDD
http://www6.fh-eberswalde.de/user/dkriesch/oni/bina_door.gif




----
[[image:bin_r_do.gif]]
----
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/bin_r_do.gif




{|{{OBDtable}}
{{Table}}
|align=center|
{{OBDth}}
{|{{OBDtable}}
{{OBDtr| 0x00 | char[4]  |FF0000| 43 4A 42 4F | OBJC      | object collection }}
|- bgcolor="#FFDDBB" align="CENTER"
{{OBDtr| 0x04 | int32    |FFFF00| 15 19 00 00 | 14344    | size of the complete combat part from this postion in bytes }}
!width="15%" | Hex
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | unknown; do not change it }}
!width="15%" | Translation
{{OBDtr| 0x0C | int32    |00FFFF| FC 00 00 00 | 252      | size of the following element in bytes }}
!width="70%" | Meaning
{{OBDtrBK}}
|-
{{OBDtr| 0x00 | char[4]  |FFC8C8| 52 4F 4F 44 | DOOR     | door }}
| bgcolor="#FFC8C8" | 52 4F 4F 44
{{OBDtr| 0x04 | int32    |FFFFC8| 57 12 00 00 | 6421     | old file ID }}
| DOOR
{{OBDtr| 0x08 | int32    |C8FFC8| 08 00 00 00 | 8         | unknown }}
| align="LEFT" | door
{{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-position (height) of the bottom of the door }}
| bgcolor="#FFFFC8" | 15 19 00 00
{{OBDtr| 0x14 | float    |C8FFFF| 98 7F CC C3 |-408.996826| z-position of the bottom of the door }}
| 6421
{{OBDtr| 0x18 | float    |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the x-axis in degrees }}
| align="LEFT" | old file ID
{{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-axis in degrees }}
| bgcolor="#C8FFC8" | 08 00 00 00
{{OBDtr2|0x24 | char[63] |FFC800| TCdouble               | door type name (reference to 00957-TCdouble.[[OBD:DOOR|DOOR]] of level 0) }}
| 8
{{OBDtr| 0x63 | int16    |C800C8| 01 00       | 1         | door ID }}
| align="LEFT" | unknown
{{OBDtr| 0x65 | int16    |C87C64| 00 00       | 0         | unknown }}
|-
{{OBDtr| 0x67 | bitset16 |B0C3D4| 15 00      | 21, 0    | door options; the following bits are possible:
| bgcolor="#C8FFFF" | 00 00 4F 43
 
| 207.000000
 
| align="LEFT" | x-position of the bottom of the door
:0x'''01'''00 - door locked
|-
:0x'''02'''00 - unknown
| bgcolor="#C8FFFF" | 00 00 D8 42
:0x'''04'''00 - unknown
| 108.000000
:0x'''08'''00 - unknown
| align="LEFT" | y-position (height) of the bottom of the door
:0x'''10'''00 - require player to press '''action''' to open door
|-
:0x'''20'''00 - unknown
| bgcolor="#C8FFFF" |
:0x'''40'''00 - unknown
98 7F CC C3
:0x'''80'''00 - double door
| -408.996826
:0x00'''01''' - unknown
| align="LEFT" | z-position of the bottom of the door
:0x00'''02''' - one way door (one side locked, other side unlocked)
|-
:0x00'''04''' - reverse of the one way door (now the other side is locked)
| bgcolor="#FFC8FF" | 00 00 00 00
:0x00'''08''' - unknown
| 0.000000
:0x00'''10''' - unknown
| align="LEFT" | rotation on the x-axis in degrees
:0x00'''20''' - unknown
|-
:0x00'''40''' - unknown
| bgcolor="#FFC8FF" | 67 85 25 3D
:0x00'''80''' - unknown
| 0,040410
 
| align="LEFT" | rotation on the y-axis in degrees
 
|-
}}
| bgcolor="#FFC8FF" | 00 00 00 00
{{OBDtr |0x69 | float    |FFDDDD| 00 00 4F 43 | 207.000000 | x-position of the center of the door }}
| 0.000000
{{OBDtr |0x6D | float    |FFDDDD| 00 00 F6 42 | 123.000000 | y-position (height) of the center of the door }}
| align="LEFT" | rotation on the z-axis in degrees
{{OBDtr |0x71 | float    |FFDDDD| 98 7F CC C3 | -408.996826| z-position of the center of the door }}
|-
{{OBDtr |0x75 | float    |64AAAA| 00 00 61 44 | 900.000000 | activation radius }}
| colspan="2" bgcolor="#FFC800" | <tt>TCdouble</tt>
{{OBDtr2|0x79 | char[63] |EBEBEB| _DOOR_RL_FLOOR3         | first door texture (reference to 00216-_DOOR_RL_FLOOR3.[[OBD:TXMP|TXMP]]) }}
| align="LEFT" |link by name to global door class (TCdouble.[[OBD:DOOR|DOOR]])
{{OBDtr2|0xA8 | char[68] |8C8CCC| unused                  | second door texture (reference to a [[OBD:TXMP|TXMP]] file) }}
|-
| bgcolor="#C800C8" | 01 00
| 1
| align="LEFT" | door ID
|-
| bgcolor="#C87C64" | 00 00
| 0
| align="LEFT" | unknown
|-
| bgcolor="#B0C3D4" | 15
| 21
| align="LEFT" |option bitset 1 (see below)
|-
| bgcolor="#E7CEA5" | 00
| 0
| align="LEFT" |option bitset 2 (see below)
|-
| bgcolor="#FFDDDD" | 00 00 4F 43
| 207.000000
| align="LEFT" | x-position of the center of the door
|-
| bgcolor="#FFDDDD" | 00 00 F6 42
| 123.000000
| align="LEFT" | y-position (height) of the center of the door
|-
| bgcolor="#FFDDDD" | 98 7F CC C3
| -408.996826
| align="LEFT" | z-position of the center of the door
|-
| bgcolor="#64AAAA" | 00 00 61 44
| 900.000000
| align="LEFT" | activation radius
|-
| colspan="2" bgcolor="#EBEBEB" | <tt>_DOOR_RL_FLOOR3</tt>
| align="LEFT" |first door texture; link by name to local TXMP (00216-_DOOR_RL_FLOOR3.[[OBD:TXMP|TXMP]])
|-
| colspan="2" bgcolor="#8C8CCC" | not used
| align="LEFT" | name of the second door texture
|}
|}
|}
;Textures
:Do global TXMP names work?
;Option bitset 1
:1 - door locked
:2 - unknown
:4 - unknown
:8 - unknown
:16 - require player to press '''action''' to open door
:32 - unknown
:64 - unknown
:128 - double door
;Option bitset 2
:1 - unknown
:2 - one way door (one side locked, other side unlocked)
:4 - reverse of the one way door (now the other side is locked)
:8 - unknown
:16 - unknown
:32 - unknown
:64 - unknown
:128 - unknown




----
;Bluebox screenshot
----
 
{{OBD TXT|align=center|size=53|onistuff=bina_doors}}
http://ssg.oni2.net/subfold/bluebox/images/221_door_properties.jpg
----
 
----
 
{{OBD OBJC Footer|type=DOOR|prev=CONS|next=FLAG|name=Door}}
{{OBD OBJC Footer | type=DOOR | prev=CONS | next=FLAG | name=Door}}
1,051

edits