XML:BINA/TMBD: Difference between revisions

From OniGalore
Jump to navigation Jump to search
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.

Revision as of 12:31, 10 September 2011

BINA/TMBD

Template:XMLModdingHints

general information

  • BINADBMTTextureMaterials.oni is global. (It can be found in edition/GameDataFolder/level0_...)
  • This file is used to register textures under specific materials which are used for impact effects. See 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 CBPM if you want to mod materials used by characters.
  • Be careful when editing links, they are case-sensitive.


XML structure

<?xml version="1.0" encoding="utf-8"?>
<Oni>
   <TextureMaterials>
        [...]
   </TextureMaterials>
</Oni>

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

example

       <Material Name="Cloth">
           <Texture>covcrate_4</Texture>
           <Texture>DL_LAV_FABRIC</Texture>
           <Texture>covcrate_1</Texture>
           <Texture>covcrate_3</Texture>
           <Texture>covcrate_2</Texture>
           <Texture>_door_dr_03</Texture>
           <Texture>_door_dr_01</Texture>
           <Texture>TEST_CLOTH</Texture>
       </Material>

Notes: DL_LAV_FABRIC is actually the only texture that used for "Cloth".


Extract: this file if an update on xml tags is needed.