Jump to content

XML:TXMP: Difference between revisions

26 bytes removed ,  7 May 2022
m
no edit summary
m (→‎General notes: OniSplit does allow non-p.o.t. textures, so adjusting note)
mNo edit summary
Line 125: Line 125:
|valign=top| <EnvMap>
|valign=top| <EnvMap>
|valign=top| link
|valign=top| link
| TXMP''name'' (without suffix)
|  
:TXMP''name'' (without suffix)


This tag is used if the XML file is meant to create a reflective texture. File suffixes like .tga or .oni are not used in the EnvMap link.
This tag is used if the XML file is meant to create a reflective texture. File suffixes like .tga or .oni are not used in the EnvMap link.
Line 132: Line 133:
|valign=top| link
|valign=top| link
|
|
: TXMP''name''.tga
:TXMP''name''.tga


Creating a texture from a JPEG, PNG or DDS is only supported via the command line's "-create:txmp" argument.
Creating a texture from a JPEG, PNG or DDS is only supported via the command line's "-create:txmp" argument.
Line 141: Line 142:
[[Image:Animated_level_texture.gif|200px|thumb|Original animated texture.]]
[[Image:Animated_level_texture.gif|200px|thumb|Original animated texture.]]


It's tiresome to manually create an XML file with a large number of <Image> tags. Skip that work by using [http://paradox.oni2.net/programs/Simple_OniSplit_GUI.zip Simple OniSplit GUI]. (Normal TXMP creation is also supported.)
It's tiresome to manually create an XML file with a large number of <Image> tags. Skip that work by using [http://mods.oni2.net/node/332 Simple OniSplit GUI]. (Normal TXMP creation is also supported.)


Some advice:
Some advice:
8,144

edits