8,013
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) (starting sound impulse table) |
||
Line 133: | Line 133: | ||
grp files have a <Weight> tag under <Permutation>. [[wikipedia:Permutation|Permutation]] should have something to do how music parts get repeated. However, it's not clear what influence <Weight> has on the repetitions. Is it like TRAC's <Weight> used for probability? | grp files have a <Weight> tag under <Permutation>. [[wikipedia:Permutation|Permutation]] should have something to do how music parts get repeated. However, it's not clear what influence <Weight> has on the repetitions. Is it like TRAC's <Weight> used for probability? | ||
===OSBDfile.imp.xml=== | |||
What is an impulse? Looking at the XML it seems unique in its spacial features: <Volume><Angle> / <Volume><MinAttenuation> / <ImpactVelocity> / <MinOcclusion> | |||
Hypothesis: | |||
# Impulses are preferably used by moving sources. | |||
# They cannot be stopped by BSL once triggered to play. | |||
# AI can hear them | |||
# Minimum and maximum volume angle seems to be always 360 degrees. Maybe artifact properties since sound should propagate through space in all directions and area of effect is mostly made by their volume distance. | |||
# File structure is always the same. | |||
{| class="wikitable" width=100% | |||
|width=120px| '''tag''' | |||
|width=100px| '''type''' | |||
| '''description''' | |||
|- | |||
| <ImpulseSound> | |||
| - | |||
| | |||
|- | |||
| <Group> | |||
| char[32] | |||
| <font color=#AAAAAA>OSBD</font>name<font color=#AAAAAA>.grp.oni</font>, file prefix and suffix aren't used | |||
|- | |||
|valign="top"| <Priority> | |||
|valign="top"| flag | |||
| When are these different flags used? | |||
: Low (default impact related? (ONIE concrete) + shell (ammunition)?) | |||
: Normal (AI, animation and impact related?) | |||
: High (OSBDtrigger_hit.imp.xml only?) | |||
: Highest (OSBDkonoko_gruesome_death.imp.xml only?) | |||
|- | |||
| <Volume> | |||
| - | |||
| | |||
|- | |||
| <Distance> | |||
| - | |||
| | |||
|- | |||
| <Min> | |||
| float | |||
| between min radius (distance) and sound origin is the sound volume equally strong | |||
|- | |||
| <Max> | |||
| float | |||
| between max and min radius (distance) is a transition of the sound volume, higher distance than max makes the sound unhearable | |||
|- | |||
| <Angle> | |||
| - | |||
| Space angle? Does this work like the <Distance> tag? | |||
|- | |||
| <Min> | |||
| - | |||
| | |||
|- | |||
| <Max> | |||
| - | |||
| | |||
|- | |||
| <AlternateImpulse> | |||
| - | |||
| | |||
|- | |||
| <Treshold> | |||
| int32 | |||
| | |||
|- | |||
| <Impulse> | |||
| char[32] | |||
| <font color=#AAAAAA>OSBD</font>name<font color=#AAAAAA>.imp.oni</font>, file prefix and suffix aren't used | |||
|- | |||
| <ImpactVelocity> | |||
| float | |||
| | |||
|- | |||
| <MinOcclusion> | |||
| float | |||
| | |||
|} | |||
edits