XML:BINA/SABD: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(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 (more, later)
Line 5: Line 5:
* 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 edition/GameDataFolder/'''level0_'''... )
* Those files are collections not unlike TRAC. SABD determine what sound plays when a character performs an animation or a specific type of animation.
* Those files are collections not unlike TRAC. SABD 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


===sound picking mechanism===
===sound picking mechanism===
[...]
===tag constellations===
{|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>
|}




===XML tags===
===tag explanations===
{| class="wikitable" width="100%"
{| class="wikitable" width="100%"
!width=200px| XML tag
!width=200px| XML tag
Line 17: Line 57:
|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 67:
|
|
|-
|-
|
| <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")
 
Any (?) (not used here because it is the default in XML
|-
|-
|
| <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}}

Revision as of 14:16, 16 November 2012

SABD : Sound Animations Binary Data
XML modding tips
  • See HERE to start learning about XML modding.
  • See HERE if you are searching for information on how to handle object coordinates.
  • See HERE for some typical modding errors and their causes.
XML.png
XML

AKEV << Other file types >> CONS

PAR3 << Other BINA >> TMBD

switch to OBD page

general information

  • The xml code on this page is compatible with onisplit v0.9.61.0
  • BINADBAS*.oni files are global. (They can be found in edition/GameDataFolder/level0_... )
  • Those files are collections not unlike TRAC. SABD 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


sound picking mechanism

[...]


tag constellations

animation modifier is Any modifier is not Any
       <Assignment>
           <Target>
               <Animation>...</Animation>
               <Frame>...</Frame>
           </Target>
           <Sound>...</Sound>
       </Assignment>
       <Assignment>
           <Target>
               <Type>...</Type>
               <Frame>...</Frame>
           </Target>
           <Sound>...</Sound>
       </Assignment>
       <Assignment>
           <Target>
               <Type>...</Type>
               <Modifier>...</Modifier>
               <Frame>...</Frame>
           </Target>
           <Sound>...</Sound>
       </Assignment>


tag explanations

XML tag content type description
<SoundAnimation Variant="..."> char[32] ONCVfile_name.oni (without file suffix .oni)
<Assignment> -
<Target> -
<Animation> char[32] TRAMfile_name.oni (without file suffix .oni)
<Type> 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 (?)
<Modifier> flag
HeavyDamage
MediumDamage
LightDamage
Crouch (?, "never used")
Jump (?, "never used")

Any (?) (not used here because it is the default in XML

<Frame> integer Sound will be played at this animation frame.
<Sound> char[32] OSBDfile_name.imp.oni (without file suffix .oni)