XML:TXMP: Difference between revisions
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) (+ temp + cat) |
||
| Line 1: | Line 1: | ||
{{XML_File_Header | type=TXMP | prev=TXMB | next=TxtC | name=Texture Map }} | |||
===general notes=== | |||
* The xml code on this page is compatible with onisplit '''v0.9.61.0''' | |||
===TXMP subtypes=== | |||
{|class="wikitable" width="100%" | {|class="wikitable" width="100%" | ||
! | ! standard texture | ||
! animated texture | ! animated texture | ||
! reflective texture | ! reflective texture | ||
| Line 143: | Line 142: | ||
: TXMP''name''.dds | : TXMP''name''.dds | ||
|} | |} | ||
{{XML}} | |||
Revision as of 16:58, 8 November 2012
| TXMP : Texture Map |
| |
|---|---|---|
| XML
TXMB << Other file types >> TxtC |
general notes
- The xml code on this page is compatible with onisplit v0.9.61.0
TXMP subtypes
| standard texture | animated texture | reflective texture |
|---|---|---|
<?xml version="1.0" encoding="utf-8"?>
<Oni>
<Texture>
<Flags>...</Flags>
<Format>...</Format>
<Image>...</Image>
</Texture>
</Oni>
|
<?xml version="1.0" encoding="utf-8"?>
<Oni>
<Texture>
<Flags>...</Flags>
<Format>...</Format>
<Speed>...</Speed>
<Image>...</Image>
<Image>...</Image>
</Texture>
</Oni>
|
<?xml version="1.0" encoding="utf-8"?>
<Oni>
<Texture>
<Flags>...</Flags>
<Format>...</Format>
<EnvMap>...</EnvMap>
<Image>...</Image>
</Texture>
</Oni>
|
| XML tag | content type | description | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| <?xml version="1.0" encoding="utf-8"?> | float, flag | Don't change this. | ||||||||||||||||||||||||||||||||
| <Oni> | - | |||||||||||||||||||||||||||||||||
| <Texture> | - | |||||||||||||||||||||||||||||||||
| <Flags> | flag | ARGB formats are used for reflective textures. (A - Alpha; R - Red; G - Green; B - Blue)
ARGB8888 can be used only if you use an updated engine (which comes with AE). (Mac users also need to swap the color channels.)
| ||||||||||||||||||||||||||||||||
| <Format> | flag | ShieldEffect, InvisibilityEffect and DaodanEffect are special flags, they can only be used for TXMPshield, TXMPinvis and TXMPDAODAN_SHIELD. The usage of these textures is hardcoded.
| ||||||||||||||||||||||||||||||||
| <Speed> | integer | This tag is used if xml file is meant to create an animated texture. In that case you use multiple <Image> tags. | ||||||||||||||||||||||||||||||||
| <EnvMap> | link | TXMPname (file suffix .oni/.xml not allowed)
This tag is used if xml file is meant to create an reflective texture. File suffixes like .tga or .oni is not used in the EnvMap link. | ||||||||||||||||||||||||||||||||
| <Image> | link | Choose between tga/png/dds.
| ||||||||||||||||||||||||||||||||
