XML:BINA/SABD: Difference between revisions

m
actually the section header was named better before
(Created page with "{{XML_BINA_Header | prev=PAR3 | type=SABD | next=TMBD | name=Sound Animations Binary Data}} ===general information=== * The xml code on this page is compatible with onisplit ...")
 
m (actually the section header was named better before)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{XML_BINA_Header | prev=PAR3 | type=SABD | next=TMBD | name=Sound Animations Binary Data}}
{{XML_BINA_Header | prev=PAR3 | type=SABD | next=TMBD | name=SoundAnims}}


===general information===
==General information==
* The xml code on this page is compatible with onisplit '''v0.9.61.0'''
* The XML code on this page is compatible with OniSplit '''v0.9.61.0'''
* BINA'''DBAS'''*.oni files are '''global'''. (They can be found in edition/GameDataFolder/'''level0_'''... )
* BINA'''DBAS'''*.oni files are '''global'''. (They can be found in AE/AEInstaller/vanilla/level0_Final.dat.)
* Those files are collections not unlike TRAC. SABD determine what sound plays when a character performs an animation or a specific type of animation.
* SABD collections determine what sound plays when a character performs an animation or a specific type of animation.
* Only three files hold actual content:
:: '''BINADBASAny.oni'''
:: '''BINADBASKonoko.oni'''
:: BINADBASShinatama_Zombie.oni ("SHINZOMwalk1" animation only)


===sound picking mechanism===
==Sound-picking mechanism==
ONCC -> ONCV name
          +
        BINADBAS <SoundAnimation Variant="''VariantName''" />
          =
        sound pool (possible choices are narrowed by available anim name, type, and modifier?)


Damage modifier might be the same as in ONIE.
* Heavy hurt sound: 15 HP or more.
* Medium hurt sound: 10-14 HP.
* Light hurt sound: less than 10 HP


===XML tags===
==Tag hierarchy==
{|class="wikitable" width="100%"
! Animation
! Modifier is Any
! Modifier is not Any
|-
|valign="top"|
        <Assignment>
            <Target>
                <Animation>...</Animation>
                <Frame>...</Frame>
            </Target>
            <Sound>...</Sound>
        </Assignment>
|valign="top"|
        <Assignment>
            <Target>
                <Type>...</Type>
                <Frame>...</Frame>
            </Target>
            <Sound>...</Sound>
        </Assignment>
|valign="top"|
        <Assignment>
            <Target>
                <Type>...</Type>
                <Modifier>...</Modifier>
                <Frame>...</Frame>
            </Target>
            <Sound>...</Sound>
        </Assignment>
|}
 
==Tag explanations==
{| class="wikitable" width="100%"
{| class="wikitable" width="100%"
!width=200px| XML tag
!width=200px| XML tag
!width=100px| content type
!width=100px| Content type
! description
! Description
|-
|-
|valign=top| <SoundAnimation Variant="...">
|valign=top| <SoundAnimation Variant="...">
|valign=top| char[32]
|valign=top| char[32]
| ONCVfile_name<font color="#777777">.oni</font> (without file suffix .oni)
| ONCV''file_name''<font color="#777777">.oni</font> (without file suffix .oni)
|-
|-
| <Assignment>
| <Assignment>
Line 27: Line 73:
|
|
|-
|-
|
| <Animation>
|
| char[32]
|
| TRAM''file_name''<font color="#777777">.oni</font> (without file suffix .oni)
|-
|-
|
|valign="top"| <Type>
|
|valign="top"| flag
|
| ? = not double checked, the other flags can be found in exported files
: Any (?)
: Block (?)
: DrawWeapon
: Fall (?)
: FallingFlail
: Fly (?)
: GettingHit (?)
: Holster (?)
: Jump
: Kick
: Land (?)
: Knockdown (?)
: Pickup
: Powerup (?)
: Punch
: ReloadMercuryBow
: ReloadPistol
: ReloadRifle
: ReloadScramCannon
: ReloadScreamer
: ReloadStream
: ReloadSuperball
: ReloadVandegraf
: Roll
: Run (?)
: Slide
: Stand (?)
: Startle (?)
: Walk (?)
|-
|-
|
|valign="top"| <Modifier>
|
|valign="top"| flag
|
|
: HeavyDamage
: MediumDamage
: LightDamage
: Crouch (?, "never used")
: Jump (?, "never used")
: <strike>Any</strike> (not used here because it is the default in XML, see [[#Tag hierarchy|tag hierarchy]])
|-
|-
|
| <Frame>
|
| integer
|
| Sound will be played at this animation frame.
|-
|-
|
| <Sound>
|
| char[32]
|
| OSBD''file_name''.imp<font color="#777777">.oni</font> (without file suffix .oni)
|}
|}




{{XML}}
{{XML}}