OBD:DOOR: Difference between revisions

m
...
(Changing volume to radius (ref. - Oni_Object.h, line 621))
m (...)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
:''This is about the door class resource. For door instances, see [[OBD:BINA/OBJC/DOOR]]
:''This is about the door class resource. For door instances, see [[OBD:BINA/OBJC/DOOR]].
{{OBD_File_Header | type=DOOR | prev=CRSA | next=DPge | name=Door | family=Global | align=center}}
{{OBD_File_Header | type=DOOR | prev=CRSA | next=DPge | name=Door | family=Level | align=center}}




Line 13: Line 13:
{{OBDtr| 0x0C | link    |FFFFC8| 00 00 00 00 | unused  | link to another [[OBD:OFGA|OFGA]] file; never used in Oni }}
{{OBDtr| 0x0C | link    |FFFFC8| 00 00 00 00 | unused  | link to another [[OBD:OFGA|OFGA]] file; never used in Oni }}
{{OBDtr| 0x10 | link    |C8FFC8| 01 28 03 00 | 808      | link to 00808-small_anim.[[OBD:OBAN|OBAN]] }}
{{OBDtr| 0x10 | link    |C8FFC8| 01 28 03 00 | 808      | link to 00808-small_anim.[[OBD:OBAN|OBAN]] }}
{{OBDtr| 0x14 | float    |C8FFFF| 00 00 00 3F | 0.500000 | passable sound attenuation, exact formula unknown }}
{{OBDtr| 0x14 | float    |C8FFFF| 00 00 00 3F | 0.500000 | passable sound attenuation;  0 - no effect, 1 - completely attenuated }}
{{OBDtr| 0x18 | int32    |FFC8FF| 02 00 00 00 | 2        | AI sound types which are allowed to pass, see below }}
{{OBDtr| 0x18 | int32    |FFC8FF| 02 00 00 00 | 2        | AI sound types which are allowed to pass, see below }}
{{OBDtr| 0x1C | int32    |FFC800| FF FF FF FF | -1      | AI sound type:
{{OBDtr| 0x1C | int32    |FFC800| FF FF FF FF | -1      | AI sound type:
Line 25: Line 25:
{{OBDtr2|0x24 | char[32] |C87C64| door2_shrt            | door open sound (reference to 08355-door2_shrt.[[OBD:OSBD/OSIm|imp.OSBD]]) }}
{{OBDtr2|0x24 | char[32] |C87C64| door2_shrt            | door open sound (reference to 08355-door2_shrt.[[OBD:OSBD/OSIm|imp.OSBD]]) }}
{{OBDtr2|0x44 | char[32] |B0C3D4| door2_shrt            | door close sound (reference to 08355-door2_shrt.[[OBD:OSBD/OSIm|imp.OSBD]]) }}
{{OBDtr2|0x44 | char[32] |B0C3D4| door2_shrt            | door close sound (reference to 08355-door2_shrt.[[OBD:OSBD/OSIm|imp.OSBD]]) }}
{{OBDtr| 0x64 | int32    |E7CEA5| 00 00 00 00 | 0        | runtime only }}
{{OBDtr| 0x64 | offset |E7CEA5| 00 00 00 00 | 0        | raw offset for open impulse sound; runtime only }}
{{OBDtr| 0x68 | int32    |FFDDDD| 00 00 00 00 | 0        | runtime only }}
{{OBDtr| 0x68 | offset |FFDDDD| 00 00 00 00 | 0        | raw offset for close impulse sound; runtime only }}
{{OBDtr| 0x6C | char[20] |64AAAA| AD DE      | dead    | unused }}
|}
|}


Line 43: Line 42:
*When an AI2 sound sphere is allowed to pass, it is "attenuated" (field 0x14) — its reach is shortened. This shortening is not visible via '''ai2_showsounds=1''' (the command will show the whole AI2 sound sphere). The attenuation does not depend on how far from the door the source of the sound is.
*When an AI2 sound sphere is allowed to pass, it is "attenuated" (field 0x14) — its reach is shortened. This shortening is not visible via '''ai2_showsounds=1''' (the command will show the whole AI2 sound sphere). The attenuation does not depend on how far from the door the source of the sound is.


{{OBD_File_Footer | type=DOOR | prev=CRSA | next=DPge | name=Door | family=Global}}
{{OBD_File_Footer | type=DOOR | prev=CRSA | next=DPge | name=Door | family=Level}}


{{OBD}}
{{OBD}}
281

edits