XML:ONLV: Difference between revisions

202 bytes added ,  22 April 2013
m
atm bulk import of hd tex wouldn't be fun due to the 'standard texture formats' BGRA4444 and DXT1
mNo edit summary
m (atm bulk import of hd tex wouldn't be fun due to the 'standard texture formats' BGRA4444 and DXT1)
Line 586: Line 586:
====[[#textures_tag|<Textures>]]====
====[[#textures_tag|<Textures>]]====
=====... used for exceptions=====
=====... used for exceptions=====
This tag is mandatory. If you don't want to set exceptions simply close <Textures> with </Textures>. Textures become imported as they are; in the texture section you declare exceptions.
This tag is mandatory. AEKV textures will be imported by the master xml file automatically. Their formats will be DXT1 and BGRA4444 (for transparent ones). If you want them in better quality use the <Textures> tag. But if you are okay with the standard import you can write </Textures> to close the section.  
 
Example of an exception (overwriting the standard format):


                 <Texture Name="GOO">
                 <Texture Name="GOO">
                     <Format>bgra4444</Format>
<!--<Flags></Flags>-->
                     <Format>RGBA</Format>
                     <GunkFlags>NoCollision</GunkFlags>
                     <GunkFlags>NoCollision</GunkFlags>
                     <Image>env/images/GOO.tga</Image>
                     <Image>env/images/GOO.tga</Image>
8,452

edits