XML:Mtrl

From OniGalore
Revision as of 08:24, 11 April 2009 by Paradox-01 (talk | contribs) (Created page with '=Mtrl: materials= '''general information''' * '''Mtrl*.oni''' files are global. (They can be found in edition/GameDataFolder/level0_...) * See [[XML basic tutorial|H...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Mtrl: materials

general information

  • Mtrl*.oni files are global. (They can be found in edition/GameDataFolder/level0_...)
  • See HERE if you don't know how to convert an oni file into XML and vice versa.
  • They are used by ONIE, TMBD and CBPM.
  • Material is only specified by the file name, for example "MtrlExplosive.oni"
  • Every material has a parent material to organize effects in ONIE.


XML structure

<?xml version="1.0" encoding="utf-8"?>
<Oni Version="0.9.37.0">
    <Instance id="0" type="Mtrl">
        <ParentMaterial>MtrlGlass</ParentMaterial>
    </Instance>
</Oni>