XML:BINA/TMBD: Difference between revisions

m
replaced Oni Central Forum link with archive.org snapshot URL
(Created page with '=BINA/TMBD= '''general information''' * '''BINADBMTTextureMaterials.oni''' is global. (It can be found in edition/GameDataFolder/level0_...) * See [[XML basic t...')
 
m (replaced Oni Central Forum link with archive.org snapshot URL)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=[[OBD:BINA/TMBD|BINA/TMBD]]=
{{XML_BINA_Header | prev=SABD | type=TMBD | next=OBJC/CHAR | name=TextureMaterials}}
'''general information'''
* '''BINADBMTTextureMaterials.oni''' is global. (It can be found in edition/GameDataFolder/level0_...)
* See [[XML basic tutorial|HERE]] if you don't know how to convert an oni file into XML and vice versa.
* This file is used to register textures under specific materials which are used for impact effects. See [[OBD_talk:BINA/ONIE|BINA/ONIE]].
* 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 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.


==General information==
* The XML on this page is based on OniSplit '''v0.9.61.0'''.
* BINADBMTTextureMaterials is a single global resource (level0_Final.dat).
* This file is used to register textures under specific materials which are used for impact effects. See [[XML:BINA/ONIE|ONIE]].
* TMBD contains only textures used by AKEVs (level geometry).
* TMBD cannot contain any decals (textures which are glued onto the wall or ground).
* TMBD cannot contain any textures used by characters. The Striker's armor piece was [http://web.archive.org/web/20160225093442/http://oni.bungie.org/forum/viewtopic.php?pid=27093#p27093 just a test] by Bungie West. See [[XML:ONCC#CBPM:_Character_Body_Part_Materials|CBPM]] if you want to mod materials used by characters.
* Be careful when editing links, as 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>


'''''[...]''''' means at least one material with at least one texture. Paste all data into there.
'''''[...]''''' means at least one material with at least one texture. Paste all your data into there.


'''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 is used by "Cloth".
 
{{XML}}
2,191

edits