Next revision | Previous revisionNext revisionBoth sides next revision |
formats:modules:deskinxml:xml_skin_file_.skin.xml [2008/04/26 21:41] – created dragonlord | formats:modules:deskinxml:xml_skin_file_.skin.xml [2019/05/08 22:31] – dragonlord |
---|
====== Skin File format ====== | {{tag>graphic skin texture}} |
| <WRAP youarehere> |
| [[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> **Skin File Format** |
| </WRAP> |
The skin file format is recognized by the [[http://dragengine.rptd.ch/module.php?id=10|Drag[en]gine Skin XML Module]]. The file is an XML file with a simple structure to define a skin. | The skin file format is recognized by the [[http://dragengine.rptd.ch/module.php?id=10|Drag[en]gine Skin XML Module]]. The file is an XML file with a simple structure to define a skin. |
| |
====== Structure ====== | ====== Structure ====== |
{{:formats:modules:deskinxml:xml_file.png|XML File Structure}} | {{ :formats:modules:deskinxml:xml_file.png |XML File Structure}} |
| |
====== Tags ====== | ====== Tags ====== |
====== Sample file ====== | ====== Sample file ====== |
<code xml><?xml version='1.0' encoding='ISO-8859-1'?> | <code xml><?xml version='1.0' encoding='ISO-8859-1'?> |
<!DOCTYPE skin SYSTEM "DragengineSkin.dtd"> | <!DOCTYPE skin SYSTEM 'DragengineSkin.dtd'> |
<skin> | <skin> |
<texture name="skin"> | <texture name='material'> |
<image property="diffuse">skin_diffuse.png</image> | <image property='color'>color.png</image> |
<color property="normal" r="0.5" g="0.5" b="1.0"/> | <renderable property='color.tint'>tint</renderable> |
<value property="specularity">0.2</value> | <image property='normal'>normal.png</image> |
<renderable property="transparency">dynamicTransparency</renderable> | <color property='reflectivity' r='0.17' g='0.17' b='0.17'/> |
| <image property='roughness'>roughness.png</image> |
| <value property='roughness.remap.lower'>0.1</value> |
| <value property='roughness.remap.upper'>0.2</value> |
</texture> | </texture> |
</skin></code> | </skin></code> |
| |
====== Links ====== | |
* [[gamedev:main|Game Development Informations]] | |
* [[:start|Main page]] | |