XML:ONCC: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
=ONCC: Oni character class=
__TOC__
 
 
{{Template:XMLModdingHints}}
{{Template:XMLModdingHints}}
{| border=0 cellspacing=20 cellpadding=0 align=center
| The xml code on this page is based on onisplit '''v0.9.61.0'''
|}


=ONCC: Oni character class=
'''general information'''
'''general information'''
* ONCP, ONIA, OBPI and OBPM are part of '''ONCC*.oni''' files.
* ONCP, ONIA, OBPI and OBPM are part of '''ONCC*.oni''' files.
Line 12: Line 19:


'''XML structure
'''XML structure
     <Instance id="3" type="ONCP">
     <ONCP id="3">
         <Particles>
         <Particles>
             <ONCPParticle>
             <ONCPParticle>
Line 21: Line 28:
             [...]
             [...]
         </Particles>
         </Particles>
     </Instance>
     </ONCP>


: <Name> is anchor for TRAM link
: <Name> is anchor for TRAM link; vanilla names:
:: '''acid''' - for death event in bio lab (level 3)
:: barabwave - for Baraba's earthquaker
:: blanka - for one of MutantMuro's special attacks
:: '''contrail''' - for colored heavy attacks (character specific <Type>)
:: daodan - Konoko's daodan blow
:: daodan2 - Konoko's daodan blow (last level)
:: '''death'''
:: '''dust'''
:: fireball - Mukade's devil star
:: flash - attack impact flash
:: '''glow''' - colored glow particle for attacks
:: murowave - for MutantMuro's ''ass bomb''
:: '''snap''' - health indicator particle ?
:: teleport - for Mukade's teleport animation
:: '''thud'''
:: thunderbolt - for one of MutantMuro's special attacks
:: '''trail''' - white color contrail for standard attacks
:: rocket - for Baraba's jetpack
:: super_attractor - for MutantMuro
:: super_glow - body daodan glow particle
:: super_l_hand - left hand daodan glow particle (<BodyPart>LeftFist)
:: super_r_hand - right hand daodan glow particle (<BodyPart>RightFist)
: <Type> provide particle (file name without prefix BINA3RAP and without suffix .oni)
: <Type> provide particle (file name without prefix BINA3RAP and without suffix .oni)
: <BodyPart> means bone Id, see [[OBD:TRIA#Bones|TRIA]]
: <BodyPart> means bone Id, see [[OBD:TRIA#Bones|TRIA]]; also allowed: "KillImpact"




Line 35: Line 64:


'''XML structure'''
'''XML structure'''
     <Instance id="4" type="ONIA">
     <ONIA id="4">
         <Impacts>
         <Impacts>
             <ONIAImpact>
             <ONIAImpact>
Line 43: Line 72:
             </ONIAImpact>
             </ONIAImpact>
             [...]
             [...]
     </Instance>
     </ONIA>




Line 54: Line 83:
The link Id is equal to bone list in [[OBD:TRIA#Bones|TRIA]]. For example: eleventh material links to character's head.
The link Id is equal to bone list in [[OBD:TRIA#Bones|TRIA]]. For example: eleventh material links to character's head.


    <Instance id="7" type="CBPM">
    <CBPM id="7">
         <Materials>
         <Materials>
             <Link>MtrlCloth</Link>
             <Link>MtrlCloth</Link>
Line 76: Line 105:
             <Link>MtrlArmor</Link>
             <Link>MtrlArmor</Link>
         </Materials>
         </Materials>
    </Instance>
    </CBPM>




Line 87: Line 116:


The link Id is equal to bone list in [[OBD:TRIA#Bones|TRIA]]. For example: eleventh material links to character's head.
The link Id is equal to bone list in [[OBD:TRIA#Bones|TRIA]]. For example: eleventh material links to character's head.
     <Instance id="8" type="CBPI">
     <CBPI id="8">
         <HitImpacts>
         <HitImpacts>
             <Link>ImptKick_Hit</Link>
             <Link>ImptKick_Hit</Link>
Line 151: Line 180:
             <Link>ImptPunch_Killed</Link>
             <Link>ImptPunch_Killed</Link>
         </KilledImpacts>
         </KilledImpacts>
     </Instance>
     </CBPI>


=special ONCC overview=
=special ONCC overview=

Revision as of 14:18, 6 April 2012


Template:XMLModdingHints

The xml code on this page is based on onisplit v0.9.61.0


ONCC: Oni character class

general information

  • ONCP, ONIA, OBPI and OBPM are part of ONCC*.oni files.
  • ONCC files can be found in Edition/GameDataFolder/level0_Final


ONCP: character particle

  • ONCP is used for giving particle to animations. Search for "Particles" tag in TRAM file.


XML structure

   <ONCP id="3">
       <Particles>
           <ONCPParticle>
               <Name>...</Name>
               <Type>...</Type>
               <BodyPart>...</BodyPart>
           </ONCPParticle>
           [...]
       </Particles>
   </ONCP>
<Name> is anchor for TRAM link; vanilla names:
acid - for death event in bio lab (level 3)
barabwave - for Baraba's earthquaker
blanka - for one of MutantMuro's special attacks
contrail - for colored heavy attacks (character specific <Type>)
daodan - Konoko's daodan blow
daodan2 - Konoko's daodan blow (last level)
death
dust
fireball - Mukade's devil star
flash - attack impact flash
glow - colored glow particle for attacks
murowave - for MutantMuro's ass bomb
snap - health indicator particle ?
teleport - for Mukade's teleport animation
thud
thunderbolt - for one of MutantMuro's special attacks
trail - white color contrail for standard attacks
rocket - for Baraba's jetpack
super_attractor - for MutantMuro
super_glow - body daodan glow particle
super_l_hand - left hand daodan glow particle (<BodyPart>LeftFist)
super_r_hand - right hand daodan glow particle (<BodyPart>RightFist)
<Type> provide particle (file name without prefix BINA3RAP and without suffix .oni)
<BodyPart> means bone Id, see TRIA; also allowed: "KillImpact"


ONIA: Oni character impact array

  • ONIA is used for special attacks as kind of extension to CBPI in ONIE.
  • <Name> is anchor for TRAM link, <Type> and <Modifier> are links for ONIE. "Light", "Medium" and "Heavy" are possible modifier.
  • See ONIE for more information.


XML structure

   <ONIA id="4">
       <Impacts>
           <ONIAImpact>
               <Name>...</Name>
               <Type>Bar_Super_Punch</Type>
               <Modifier>Heavy</Modifier>
           </ONIAImpact>
           [...]
   </ONIA>


CBPM: character body part materials

  • CBPM link to Mtrl files which are used by ONIE.


XML structure

The link Id is equal to bone list in TRIA. For example: eleventh material links to character's head.

   <CBPM id="7">
        <Materials>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
            <Link>MtrlArmor</Link>
        </Materials>
   </CBPM>


CBPI: character body part impacts

  • They link to Impt files which are used by ONIE.
  • Special attacks have there own Impt files. See ONIA.


XML structure

The link Id is equal to bone list in TRIA. For example: eleventh material links to character's head.

   <CBPI id="8">
       <HitImpacts>
           <Link>ImptKick_Hit</Link>
           <Link>ImptKick_Hit</Link>
           <Link>ImptKick_Hit</Link>
           <Link>ImptKick_Hit</Link>
           <Link>ImptKick_Hit</Link>
           <Link>ImptKick_Hit</Link>
           <Link>ImptKick_Hit</Link>
           <Link>ImptKick_Hit</Link>
           <Link>ImptPunch_Hit</Link>
           <Link>ImptHead_Hit</Link>
           <Link>ImptHead_Hit</Link>
           <Link>ImptHead_Hit</Link>
           <Link>ImptPunch_Hit</Link>
           <Link>ImptPunch_Hit</Link>
           <Link>ImptPunch_Hit</Link>
           <Link>ImptHead_Hit</Link>
           <Link>ImptPunch_Hit</Link>
           <Link>ImptPunch_Hit</Link>
           <Link>ImptPunch_Hit</Link>
       </HitImpacts>
       <BlockedImpacts>
           <Link>ImptKick_Blocked</Link>
           <Link>ImptKick_Blocked</Link>
           <Link>ImptKick_Blocked</Link>
           <Link>ImptKick_Blocked</Link>
           <Link>ImptKick_Blocked</Link>
           <Link>ImptKick_Blocked</Link>
           <Link>ImptKick_Blocked</Link>
           <Link>ImptKick_Blocked</Link>
           <Link>ImptPunch_Blocked</Link>
           <Link>ImptHead_Blocked</Link>
           <Link>ImptHead_Blocked</Link>
           <Link>ImptHead_Blocked</Link>
           <Link>ImptPunch_Blocked</Link>
           <Link>ImptPunch_Blocked</Link>
           <Link>ImptPunch_Blocked</Link>
           <Link>ImptHead_Blocked</Link>
           <Link>ImptPunch_Blocked</Link>
           <Link>ImptPunch_Blocked</Link>
           <Link>ImptPunch_Blocked</Link>
       </BlockedImpacts>
       <KilledImpacts>
           <Link>ImptKick_Killed</Link>
           <Link>ImptKick_Killed</Link>
           <Link>ImptKick_Killed</Link>
           <Link>ImptKick_Killed</Link>
           <Link>ImptKick_Killed</Link>
           <Link>ImptKick_Killed</Link>
           <Link>ImptKick_Killed</Link>
           <Link>ImptKick_Killed</Link>
           <Link>ImptPunch_Killed</Link>
           <Link>ImptHead_Killed</Link>
           <Link>ImptHead_Killed</Link>
           <Link>ImptHead_Killed</Link>
           <Link>ImptPunch_Killed</Link>
           <Link>ImptPunch_Killed</Link>
           <Link>ImptPunch_Killed</Link>
           <Link>ImptHead_Killed</Link>
           <Link>ImptPunch_Killed</Link>
           <Link>ImptPunch_Killed</Link>
           <Link>ImptPunch_Killed</Link>
       </KilledImpacts>
   </CBPI>

special ONCC overview

"Here you can download the complete overview of all used different ONCC files as a text file.
Copy it to a spreadsheet calculation program like Excel." - ssg