Jump to content

OBD:OSBD/OSAm: Difference between revisions

filled in some missing info
m (localized image)
(filled in some missing info)
 
Line 1: Line 1:
[[Image:osb_r_am.gif]]
[[Image:Osb_r_am.gif]]


{{Table}}
{{Table}}
Line 15: Line 15:
:2 - play only once
:2 - play only once
:4 - can pan }}
:4 - can pan }}
{{OBDtr| 0x14 | float    |C8FFFF| 00 00 20 41 | 10.000000 | unknown }}
{{OBDtr| 0x14 | float    |C8FFFF| 00 00 20 41 | 10.000000 | detail sound sphere radius }}
{{OBDtr| 0x18 | float    |FFC8FF| 00 00 80 3F | 1.000000  | minimum elapsed time in seconds }}
{{OBDtr| 0x18 | float    |FFC8FF| 00 00 80 3F | 1.000000  | minimum elapsed time in seconds between detail sounds playing }}
{{OBDtr| 0x1c | float    |FFC800| 00 00 80 3F | 1.000000  | maximum elapsed time in seconds }}
{{OBDtr| 0x1c | float    |FFC800| 00 00 80 3F | 1.000000  | maximum elapsed time in seconds between detail sounds playing }}
{{OBDtr| 0x20 | float    |C800C8| 00 00 20 41 | 10.000000 | minimum volume distance }}
{{OBDtr| 0x20 | float    |C800C8| 00 00 20 41 | 10.000000 | distance at which the maximum volume is heard }}
{{OBDtr| 0x24 | float    |C87C64| 00 00 48 42 | 50.000000 | maximum volume distance }}
{{OBDtr| 0x24 | float    |C87C64| 00 00 48 42 | 50.000000 | distance at which the minimum volume is heard }}
{{OBDtr| 0x28 | char[32] |B0C3D4| 00...      | not used  | detail track name (reference to a [[OBD:OSBD/OSGr|.grp]] [[OSBD]] file) }}
{{OBDtr| 0x28 | char[32] |B0C3D4| 00...      | not used  | detail track name (reference to a [[OBD:OSBD/OSGr|.grp]] [[OSBD]] file) }}
{{OBDtr| 0x48 | char[32] |E7CEA5| 61 69 72... | aircon5lp | base track 1 name (reference to OSBDaircon5lp[[OBD:OSBD/OSGr|.grp]]) }}
{{OBDtr| 0x48 | char[32] |E7CEA5| 61 69 72... | aircon5lp | base track 1 name (reference to OSBDaircon5lp[[OBD:OSBD/OSGr|.grp]]) }}
Line 26: Line 26:
{{OBDtr| 0xa8 | char[32] |EBEBEB| 00...      | not used  | out sound name (reference to a [[OBD:OSBD/OSGr|.grp]] [[OSBD]] file) }}
{{OBDtr| 0xa8 | char[32] |EBEBEB| 00...      | not used  | out sound name (reference to a [[OBD:OSBD/OSGr|.grp]] [[OSBD]] file) }}
{{OBDtr| 0xc8 | int32    |8C8CCC| 03 00 00 00 | 3        | threshold (present in version 5 and above, default is 3) }}
{{OBDtr| 0xc8 | int32    |8C8CCC| 03 00 00 00 | 3        | threshold (present in version 5 and above, default is 3) }}
{{OBDtr| 0xcc | float    |FF00C8| 00 00 00 00 | 0.000000  | unknown (present in version 6 and above, default is 0.0) }}
{{OBDtr| 0xcc | float    |FF00C8| 00 00 00 00 | 0.000000  | minimum occlusion percentage (present in version 6 and above, default is 0.0) }}
|}
|}
(Possible field names for the "unknown" fields are: sphere radius and min. occlusion.)


;Version
;Version
:Just as for other [[OSBD]], there have been several version of the binary format.
:Just as for other [[OSBD]], there have been several version of the binary format.
:Over time, some fields that used to be hardcoded became customizeable on a group-per-group basis.
:Over time, some fields that used to be hardcoded became customizable on a group-per-group basis.
:Thus, later versions include some extra fields as compared to earlier ones.
:Thus, later versions include some extra fields as compared to earlier ones.
:The above example belongs to the latest OSAm version encountered in Oni: 6.
:The above example belongs to the latest OSAm version encountered in Oni: 6.