XML:TXMP: Difference between revisions
Jump to navigation
Jump to search
Paradox-01 (talk | contribs) (+ temp + cat) |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 63: | Line 63: | ||
|- | |- | ||
|valign=top| <Flags> | |valign=top| <Flags> | ||
|valign=top| 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. | |||
: None | |||
: HasMipMaps | |||
: DisableUWrap | |||
: DisableVWrap | |||
: Unknown0010 | |||
: AnimUseLocalTime | |||
<!-- HasEnvMap (used via tag, not flag) --> | |||
: AdditiveBlend (makes black texture parts transparent in-game) | |||
: AnimBackToBack | |||
: AnimRandom | |||
<!-- SwapBytes (automatically added in v0.9.56.0 and above, flag don't becomes exported) --> | |||
: AnimIgnoreGlobalTime | |||
: ShieldEffect | |||
: InvisibilityEffect | |||
: DaodanEffect | |||
|- | |||
|valign=top| <Format> | |||
|valign=top| flag | |valign=top| flag | ||
| '''A'''RGB formats are used for reflective textures. (A - Alpha; R - Red; G - Green; B - Blue) | | '''A'''RGB formats are used for reflective textures. (A - Alpha; R - Red; G - Green; B - Blue) | ||
Line 102: | Line 122: | ||
|colspan=2 align=center|'''<font color="#999999">dxt1</font>''' | |colspan=2 align=center|'''<font color="#999999">dxt1</font>''' | ||
|} | |} | ||
|- | |- | ||
|valign=top| <Speed> | |valign=top| <Speed> |
Revision as of 13:26, 22 April 2013
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 | 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.
| ||||||||||||||||||||||||||||||||
<Format> | 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.)
| ||||||||||||||||||||||||||||||||
<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.
|