OBD:Mtrl: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(fixed mistake in the URL of the image)
m (updated)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> Mtrl File
{{OBD_File_Header | type=Mtrl | prev=M3GM | next=OBAN | name=Material | family=General | align=center}}
:
 
<CENTER>[[OBD:M3GM|<==]] <FONT SIZE=5>Mtrl File</FONT> [[OBD:OBAN|==>]]<BR>
All local Mtrl files are [[OBD:File_types/Empty|0 byte files]], so the global ones are looked up by name.
<FONT SIZE=2>Material - Character File</FONT></CENTER>
 
:
Level 0 contains 30 materials (see below for the tree).
All Mtrl files are 0 byte files. That means, that Oni will take the information out of the Mtrl files of level 0. Below is an example of a Mtrl file of level 0.
:
:
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/mtrl_all.gif
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/mtrl_all.gif
Line 38: Line 37:
| ALIGN=LEFT | not used
| ALIGN=LEFT | not used
|}
|}
:
 
04070-Character.Mtrl links to 04075-Default.Mtrl, which links into nothingness.
 
:
;Mtrl usage
<HR>
:The materials are looked up from the [[ONIE]] and [[TMBD]] [[BINA]] as well as from [[CBPM]] and maybe a few other places ^^
<CENTER>[[OBD:M3GM|<==]] <B>Mtrl File</B> [[OBD:OBAN|==>]]</CENTER>
 
<HR>
;Mtrl tree
:
*Default [5]
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> Mtrl File
**Character [4]
**#Armor [0]
**#Cloth [0]
**#Flesh [0]
**#Shield [1]
**#*Super_Shield [0]
**Glass [4]
**#Clear_Glass [0]
**#Small_Glass [0]
**#Tinted_Glass [0]
**#Unbreak_Glass [0]
**Liquid [0]
**Mesh [0]
**Solid [4]
**#Carpet [0]
**#Hard [3]
**#*Metal [3]
**#**Heavy_Metal
**#**Light_Metal
**#**Resonant_Metal
**#*Stone [2]
**#**Asphalt
**#**Concrete
**#*Stucco [0]
**#Loose_Ground [2]
**#*Dirt [0]
**#*Snow [0]
**#Plastic [0]
 
 
----
{{OBD_File_Footer | type=Mtrl | prev=M3GM | next=OBAN | name=Material | family=General | align=center}}

Revision as of 14:13, 20 June 2007

ONI BINARY DATA
M3GM << Other file types >> OBAN
Mtrl : Material
switch to XML:Mtrl page
Overview @ Oni Stuff
OBD.png

All local Mtrl files are 0 byte files, so the global ones are looked up by name.

Level 0 contains 30 materials (see below for the tree).

mtrl_all.gif

Hex Translation Meaning
01 E5 0F 00 4069 04069-Armor.Mtrl
01 00 00 00 0 level 0
FF FF unknown unknown
AD DE dead not used
01 E6 0F 00 4070 link to 04070-Character.Mtrl
AD DE dead not used


Mtrl usage
The materials are looked up from the ONIE and TMBD BINA as well as from CBPM and maybe a few other places ^^
Mtrl tree
  • Default [5]
    • Character [4]
      1. Armor [0]
      2. Cloth [0]
      3. Flesh [0]
      4. Shield [1]
        • Super_Shield [0]
    • Glass [4]
      1. Clear_Glass [0]
      2. Small_Glass [0]
      3. Tinted_Glass [0]
      4. Unbreak_Glass [0]
    • Liquid [0]
    • Mesh [0]
    • Solid [4]
      1. Carpet [0]
      2. Hard [3]
        • Metal [3]
          • Heavy_Metal
          • Light_Metal
          • Resonant_Metal
        • Stone [2]
          • Asphalt
          • Concrete
        • Stucco [0]
      3. Loose_Ground [2]
        • Dirt [0]
        • Snow [0]
      4. Plastic [0]



ONI BINARY DATA
M3GM << Other file types >> OBAN
Mtrl : Material
General file