Jump to content

OBD talk:TXMP: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 261: Line 261:


==XML section==
==XML section==
'''file structure'''
 
{|
{{table}}
! normal texture
! animated texture
! reflective texture
|-
|valign=top|
<?xml version="1.0" encoding="utf-8"?>
<Oni Version="...">
    <Texture>
        <Flags>...</Flags>
        <Format>...</Format>
        <Image>...</Image>
    </Texture>
</Oni>
|
<?xml version="1.0" encoding="utf-8"?>
<Oni Version="...">
    <Texture>
        <Flags>...</Flags>
        <Format>...</Format>
        <Speed>...</Speed>
        <Image>...</Image>
        <font color="#777777"><Image>...</Image></font>
    </Texture>
</Oni>
|valign=top|
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni Version="...">
  <Oni Version="...">
Line 267: Line 294:
         <Flags>...</Flags>
         <Flags>...</Flags>
         <Format>...</Format>
         <Format>...</Format>
        <EnvMap>...</EnvMap>
         <Image>...</Image>
         <Image>...</Image>
     </Texture>
     </Texture>
  </Oni>
  </Oni>
|}


<'''Oni Version'''="..."> can be:
<'''Oni Version'''="..."> can be:
  ''your_version''
  ''your_version''
E.g. my current onisplit version is ''0.9.52.0''
E.g. my current onisplit version is ''0.9.52.0''
: --[[User:Paradox-01|Paradox-01]] 15:29, 25 February 2011 (UTC)


<'''Flags'''>... can be:
<'''Flags'''>... can be:
Line 282: Line 314:
  DXT1
  DXT1
  ARGB8888
  ARGB8888
ARGB formats are used for reflective textures.
ARGB8888 can be used only if you use an updated engine. (Mac users also need to [http://oni.bungie.org/community/forum/viewtopic.php?pid=29967#p29967 swap the color channels.])
ARGB8888 can be used only if you use an updated engine. (Mac users also need to [http://oni.bungie.org/community/forum/viewtopic.php?pid=29967#p29967 swap the color channels.])


<'''Format'''>... can be:
<'''Format'''>... can be:
Line 296: Line 331:
  InvisibilityEffect
  InvisibilityEffect
  DaodanEffect
  DaodanEffect
The following tag is used if xml file is meant to create an animated texture. In that case you use multiple <Image>...
 


<'''Speed'''>... can be an integer.
<'''Speed'''>... can be an integer.
This tag is used if xml file is meant to create an animated texture. In that case you use multiple <Image>...


The following tag is used if xml file is meant to create an texture with reflectivity. The file suffixes like .tga or .oni is not used in the EnvMap link.


<'''EnvMap'''>... can be:
<'''EnvMap'''>... can be:
  TXMPfile_name
  TXMPfile_name
This tag is used if xml file is meant to create an reflective texture. The file suffixes like .tga or .oni is not used in the EnvMap link.
<'''Image'''>... can be:
<'''Image'''>... can be:
  TXMP''file_name'''''.tga'''
  TXMP''file_name'''''.tga'''
8,018

edits