XML:Impt: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(+ temp + cat)
m (fixing links)
Line 4: Line 4:
* The xml code on this page is based on onisplit '''v0.9.61.0'''
* The xml code on this page is based on onisplit '''v0.9.61.0'''
* '''Mtrl*.oni''' files are global. (They can be found in edition/GameDataFolder/level0_...)
* '''Mtrl*.oni''' files are global. (They can be found in edition/GameDataFolder/level0_...)
* They are used by [[XML:ONCC#CBPI|CBPI]], [[XML:ONCC#ONIA|ONIA]] and [[XML:BINA/ONIE|ONIE]].
* They are used by [[XML:ONCC#CBPI:_Character_Body_Part_Impacts|CBPI]], [[XML:ONCC#ONIA:_Oni_Character_Impact_Array|ONIA]] and [[XML:BINA/ONIE|ONIE]].
* Impact is only specified by the file name.
* Impact is only specified by the file name.
* Every impact has a parent impact to organize effects in ONIE.
* Every impact has a parent impact to organize effects in ONIE.
Line 20: Line 20:




* Some Impt are used to detect the regular character-environment collision which comes from character's movement. See [[XML:ONCC|ONCC]]. It looks like this:
* Some Impt are used to detect the regular character-environment collision which comes from character's movement. See [[XML:ONCC#ONCV.2C_death_particle.2C_TRBS.2C_TRMA.2C_TRAC.2C_TRAS.2C_health.2C_daodan.2C_etc.|ONCC]]. It looks like this:
         <ImpactModifierName>Heavy</ImpactModifierName>
         <ImpactModifierName>Heavy</ImpactModifierName>
         <Impacts>
         <Impacts>

Revision as of 17:41, 8 November 2012

Impt : Impact
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

IPge << Other file types >> M3GM

switch to OBD page

general information

  • The xml code on this page is based on onisplit v0.9.61.0
  • Mtrl*.oni files are global. (They can be found in edition/GameDataFolder/level0_...)
  • They are used by CBPI, ONIA and ONIE.
  • Impact is only specified by the file name.
  • Every impact has a parent impact to organize effects in ONIE.


XML structure

For example:
ImptBar_Super_Kick.xml

<?xml version="1.0" encoding="utf-8"?>
<Oni>
   <Impt id="0">
       <ParentImpact>ImptKick_Hit</ParentImpact>
   </Impt>
</Oni>


  • Some Impt are used to detect the regular character-environment collision which comes from character's movement. See ONCC. It looks like this:
       <ImpactModifierName>Heavy</ImpactModifierName>
       <Impacts>
           <ONCCImpact>
               <Name>Footstep_Walk</Name>
           </ONCCImpact>
           [...]
       </Impacts>

Flags of <ImpactModifierName>

Heavy
Medium
Light