User Tools

Site Tools


formats:modules:deskinxml:xml_skin_file_.skin.xml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
formats:modules:deskinxml:xml_skin_file_.skin.xml [2012/11/30 20:49] dragonlordformats:modules:deskinxml:xml_skin_file_.skin.xml [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord
Line 1: Line 1:
 +{{tag>graphic skin texture fileformat}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> **Skin File Format**+[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> **Skin File Format**
 </WRAP> </WRAP>
 +
 +====== Skin File Format (*.deskin) ======
  
 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.
  
-<WRAP boxheader> 
 ====== Structure ====== ====== Structure ======
-</WRAP> 
-<WRAP boxcontent> 
 {{  :formats:modules:deskinxml:xml_file.png  |XML File Structure}} {{  :formats:modules:deskinxml:xml_file.png  |XML File Structure}}
-</WRAP> 
  
-<WRAP boxheader> 
 ====== Tags ====== ====== Tags ======
-</WRAP> 
-<WRAP boxcontent> 
 ^Tag^Description^Required^Occurance^Default^ ^Tag^Description^Required^Occurance^Default^
 |skin|Defines the skin.|yes|once|-| |skin|Defines the skin.|yes|once|-|
Line 25: Line 21:
 |source|Defines a property with the type in the 'property' attribute having a complex and dynamic content. Definition is not finished yet so this tag does not do much yet.|no|multiple|-| |source|Defines a property with the type in the 'property' attribute having a complex and dynamic content. Definition is not finished yet so this tag does not do much yet.|no|multiple|-|
 |renderable|Defines a property with the type in the 'property' attribute having a renderable name ( cdata string ). The content of this property is defined at runtime using a component renderable of the same name. Name can be reused in multiple properties.|no|multiple|-| |renderable|Defines a property with the type in the 'property' attribute having a renderable name ( cdata string ). The content of this property is defined at runtime using a component renderable of the same name. Name can be reused in multiple properties.|no|multiple|-|
-</WRAP> 
  
-<WRAP boxheader> 
 ====== Sample file ====== ====== Sample file ======
-</WRAP> 
-<WRAP boxcontent> 
 <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="normalr="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>
-</WRAP> 
formats/modules/deskinxml/xml_skin_file_.skin.xml.1354308554.txt.gz · Last modified: 2012/11/30 20:49 by dragonlord