Jump to content

XML:BINA/TMBD: Difference between revisions

no decals on level textures (e.g. from sbg weapon) if new textures are not registered under the correct materials of TMBD
mNo edit summary
(no decals on level textures (e.g. from sbg weapon) if new textures are not registered under the correct materials of TMBD)
Line 8: Line 8:
* TMBD contains only textures used by AKEV (environment).
* TMBD contains only textures used by AKEV (environment).
* TMBD cannot contain any decals (textures which are glued onto wall and ground).
* TMBD cannot contain any decals (textures which are glued onto wall and ground).
* TMBD cannot contain any textures used by characters. The striker armor piece was just a test by bungie. See [[OBD_talk:ONCC#CBPM:_character_body_part_materials|CBPM]] if you want to mod materials used by characters.
* TMBD cannot contain any textures used by characters. The striker armor piece was [http://oni.bungie.org/community/forum/viewtopic.php?pid=27093#p27093 just a test] by bungie. See [[OBD_talk:ONCC#CBPM:_character_body_part_materials|CBPM]] if you want to mod materials used by characters.
* Be careful when editing links, they are case-sensitive.




'''XML structure'''
'''XML structure'''
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni Version="0.9.37.0">
  <Oni>
    <TextureMaterials>
    <TextureMaterials>
         [...]
         [...]
    </TextureMaterials>
    </TextureMaterials>
  </Oni>
  </Oni>


Line 22: Line 23:


'''example'''
'''example'''
        <Material Name="Cloth">
        <Material Name="Cloth">
            <Texture>covcrate_4</Texture>
            <Texture>covcrate_4</Texture>
            <Texture>DL_LAV_FABRIC</Texture>
            <Texture>DL_LAV_FABRIC</Texture>
            <Texture>covcrate_1</Texture>
            <Texture>covcrate_1</Texture>
            <Texture>covcrate_3</Texture>
            <Texture>covcrate_3</Texture>
            <Texture>covcrate_2</Texture>
            <Texture>covcrate_2</Texture>
            <Texture>_door_dr_03</Texture>
            <Texture>_door_dr_03</Texture>
            <Texture>_door_dr_01</Texture>
            <Texture>_door_dr_01</Texture>
            <Texture>TEST_CLOTH</Texture>
            <Texture>TEST_CLOTH</Texture>
        </Material>
        </Material>
Notes: DL_LAV_FABRIC is actually the only texture that used for "Cloth".
 
 
Extract: this [http://paradox.oni2.net/OniGalore/BINADBMTTextureMaterials.oni file] if an update on xml tags is needed.
8,018

edits