XML:Impt: Difference between revisions
Jump to navigation
Jump to search
Paradox-01 (talk | contribs) (Created page with " {{Template:XMLModdingHints}} {| border=0 cellspacing=20 cellpadding=0 style="margin-left:auto; margin-right:auto; text-align:center" | The xml code on this page is based on ...") |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 7: | Line 7: | ||
'''general information''' | '''general information''' | ||
* '''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|CBPI]], [[XML:ONCC#ONIA|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. |
Revision as of 18:21, 4 November 2012
The xml code on this page is based on onisplit v0.9.61.0 |
general information
- 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