XML:BINA/TMBD: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(no decals on level textures (e.g. from sbg weapon) if new textures are not registered under the correct materials of TMBD)
m (link fix)
 
(12 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}}


{{Template:XMLModdingHints}}
==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://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.


'''general information'''
==XML structure==
* '''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 [[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 [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 version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni>
  <Oni>
Line 20: Line 18:
  </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'''
        <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".


==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 is used by "Cloth".


Extract: this [http://paradox.oni2.net/OniGalore/BINADBMTTextureMaterials.oni file] if an update on xml tags is needed.
{{XML}}

Latest revision as of 12:37, 5 April 2021

TMBD : TextureMaterials
XML modding tips
  • See HERE to start learning about XML modding.
  • See HERE if you are searching for information on how to handle object coordinates.
  • See HERE for some typical modding errors and their causes.
XML.png
XML

AKEV << Other file types >> CONS

SABD << Other BINA >> OBJC/CHAR

switch to OBD page

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 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 just a test by Bungie West. See CBPM if you want to mod materials used by characters.
  • Be careful when editing links, as 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 your 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 is used by "Cloth".