1,051
edits
m (fixed a few things, kept the old table/screenshot format) |
m (design) |
||
Line 1: | Line 1: | ||
{{OBD OBJC Header|align=center|type=SNDG|prev=PWRU|next=TRGV|name=Sound Group | {{OBD OBJC Header | align=center | type=SNDG | prev=PWRU | next=TRGV | name=Sound Group}} | ||
[[image:bin_r_so.gif]] | |||
{{Table}} | |||
| | {{OBDth}} | ||
| | {{OBDtr| 0x00 | char[4] |FF0000| 43 4A 42 4F | OBJC | object collection }} | ||
{{OBDtr| 0x04 | int32 |FFFF00| C8 3C 00 00 | 15560 | size of the complete sound group part from this postion in bytes }} | |||
| OBJC | {{OBDtr| 0x08 | int32 |00FF00| 27 00 00 00 | 39 | unknown; do not change it }} | ||
{{OBDtr| 0x0C | int32 |00FFFF| 68 00 00 00 | 104 | size of the following element in bytes }} | |||
| | {{OBDtrBK}} | ||
| | {{OBDtr| 0x00 | char[4] |FFC8C8| 47 44 4E 53 | SNDG | sound geometry }} | ||
| 15560 | {{OBDtr| 0x04 | int32 |FFFFC8| 2D 23 00 00 | 9005 | old file ID }} | ||
{{OBDtr| 0x08 | int32 |C8FFC8| 00 00 00 00 | 0 | unknown }} | |||
| | {{OBDtr| 0x0C | float |C8FFFF| B6 52 7E C3 | -254.323090| x-position of the particle }} | ||
| | {{OBDtr| 0x10 | float |C8FFFF| F3 14 A5 42 | 82.540916 | y-position (height) of the particle }} | ||
| 39 | {{OBDtr| 0x14 | float |C8FFFF| EB 8B DD 41 | 27.693319 | z-position of the particle }} | ||
{{OBDtr| 0x18 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the x-axis in degrees }} | |||
| | {{OBDtr| 0x1C | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the y-axis in degrees }} | ||
| | {{OBDtr| 0x20 | float |FFC8FF| 00 00 00 00 | 0.000000 | rotation on the z-axis in degrees }} | ||
| 104 | {{OBDtr2|0x24 | char[32] |FFC800| city_amb01 | sound name (reference to 06452-city_amb01.[[OBD:OSBD/OSAm|amb.OSBD]] of level 0) }} | ||
{{OBDtr| 0x44 | char[4] |C800C8| 45 4D 4C 56 | VLME | sound geometry type; the following types are possible: | |||
| | |||
:VLME (EMLV) - volume (axis-aligned box) | |||
| | :SPHR (RHPS) - sphere | ||
| SNDG | |||
| | }} | ||
| | {{OBDtr| 0x48 | float |C87C64| 00 50 87 C4 |-1082.500000| VLME: xmin<BR>SPHR: rmax }} | ||
| 9005 | {{OBDtr| 0x4C | float |C87C64| 00 00 DC C2 | -110.000000| VLME: ymin<BR>SPHR: rmin }} | ||
{{OBDtr| 0x50 | float |C87C64| 00 00 CA C2 | -101.000000| VLME: zmin<BR>SPHR: sound volume }} | |||
| | {{OBDtr| 0x54 | float |B0C3D4| 00 50 87 44 | 1082.500000| VLME: xmax<BR>SPHR: sound pitch }} | ||
| | {{OBDtr| 0x58 | float |B0C3D4| 00 00 DC 42 | 110.000000 | VLME: ymax<BR>SPHR: not used; always zero }} | ||
| 0 | {{OBDtr| 0x5C | float |B0C3D4| 00 00 CA 42 | 101.000000 | VLME: zmax<BR>SPHR: not used; always zero }} | ||
{{OBDtr| 0x60 | float |FFDDDD| 00 00 80 3F | 1.000000 | VLME: sound volume<BR>SPHR: not used; always zero }} | |||
| | {{OBDtr| 0x64 | float |64AAAA| 00 00 80 3F | 1.000000 | VLME: sound pitch<BR>SPHR: not used; always zero }} | ||
| | |||
| -254 | |||
| | |||
| | |||
| 82 | |||
| | |||
| | |||
| 27 | |||
| | |||
| | |||
| 0.000000 | |||
| | |||
| | |||
| 0.000000 | |||
| | |||
| | |||
| | |||
| 0.000000 | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| VLME | |||
| | |||
| | |||
| -1082.500000 | |||
| | |||
| | |||
| -110.000000 | |||
| | |||
| | |||
| -101.000000 | |||
| | |||
| | |||
| 1082.500000 | |||
| | |||
| | |||
| 110.000000 | |||
| | |||
| | |||
| 101.000000 | |||
| | |||
| | |||
| 1.000000 | |||
| | |||
| | |||
| 1.000000 | |||
|} | |} | ||
;Position and rotation | ;Position and rotation | ||
:Like for other data types, those probably correspond to handles for runtime editing. | :Like for other data types, those probably correspond to handles for runtime editing. | ||
Line 109: | Line 46: | ||
:Position is in world units (decimeters). Rotation is in degrees, trigonometric. | :Position is in world units (decimeters). Rotation is in degrees, trigonometric. | ||
;Sound pitch | ;Sound pitch | ||
:Actually a playback speed multiplier. Other multipliers specified in the OSGr. | :Actually a playback speed multiplier. Other multipliers specified in the [[OBD:OSBD/OSGr|OSGr]]. | ||
;Radii (SPHR) | ;Radii (SPHR) | ||
:What do they correspond to? Is the following correct? | :What do they correspond to? Is the following correct? | ||
Line 118: | Line 55: | ||
;Bluebox screenshot | |||
{{OBD OBJC | http://ssg.oni2.net/subfold/bluebox/images/218_sound_properties.jpg | ||
{{OBD OBJC Footer | type=SNDG | prev=PWRU | next=TRGV | name=Sound Group}} |
edits