XML:TXMP: Difference between revisions
Jump to navigation
Jump to search
Paradox-01 (talk | contribs) (Created page with "__TOC__ {{Template:XMLModdingHints}} {| border=0 cellspacing=20 cellpadding=0 style="margin-left:auto; margin-right:auto" | The xml code on this page is compatible with onisp...") |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 53: | Line 53: | ||
|valign=top| <?xml version="1.0" encoding="utf-8"?> | |valign=top| <?xml version="1.0" encoding="utf-8"?> | ||
|valign=top| float, flag | |valign=top| float, flag | ||
| | |valign=top| Don't change this. | ||
|- | |- | ||
|valign=top| <Oni> | |valign=top| <Oni> | ||
Line 65: | Line 65: | ||
|valign=top| <Flags> | |valign=top| <Flags> | ||
|valign=top| flag | |valign=top| flag | ||
| '''A'''RGB formats are used for reflective textures. | | '''A'''RGB 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. (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 (which comes with AE). (Mac users also need to [http://oni.bungie.org/community/forum/viewtopic.php?pid=29967#p29967 swap the color channels.]) | ||
{|class="wikitable" | {|class="wikitable" width="100%" | ||
!colspan=2|XML flags | !colspan=2|XML flags | ||
!colspan=2|<font color="#999999">command line flags</font> | !colspan=2|<font color="#999999">command line flags</font> | ||
Line 100: | Line 100: | ||
|colspan=2 align=center|'''<font color="#999999">bgra4444</font>''' | |colspan=2 align=center|'''<font color="#999999">bgra4444</font>''' | ||
|- | |- | ||
|colspan=2 align=center|'''DXT1''' | |colspan=2 align=center|'''[[wikipedia:S3_Texture_Compression|DXT1]]''' | ||
|colspan=2 align=center|'''<font color="#999999">dxt1</font>''' | |colspan=2 align=center|'''<font color="#999999">dxt1</font>''' | ||
|} | |} | ||
Line 133: | Line 133: | ||
| TXMP''name'' (file suffix .oni/.xml not allowed) | | TXMP''name'' (file suffix .oni/.xml not allowed) | ||
This tag is used if xml file is meant to create an reflective texture. | 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. | ||
|- | |- | ||
|valign=top| <Image> | |valign=top| <Image> |
Revision as of 11:12, 5 November 2012
The xml code on this page is compatible with onisplit v0.9.61.0 |
normal 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.
|