608 lines
16 KiB
XML
608 lines
16 KiB
XML
<!-- Rotations around the three axes are given in degrees.
|
|
The objects are first rotated around the z-, then y- and then x-axis. -->
|
|
|
|
<!-- Marble: Do not change!(except for mass)-->
|
|
<composition>
|
|
<typeID>20</typeID>
|
|
<ignoreHeightmap>false</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>marbleSmooth.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>0.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>8.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Block -->
|
|
<composition>
|
|
<typeID>40</typeID>
|
|
<ignoreHeightmap>false</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>block.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>1.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>15.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Column -->
|
|
<composition>
|
|
<typeID>60</typeID>
|
|
<ignoreHeightmap>false</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>column.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>1.1</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>10.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Torch with Lightsource -->
|
|
<composition>
|
|
<typeID>80</typeID>
|
|
<ignoreHeightmap>false</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>torch.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>0.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<light>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>2</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<rColour>1.0</rColour>
|
|
<gColour>1.0</gColour>
|
|
<bColour>1.0</bColour>
|
|
<intensity>4.0</intensity>
|
|
</light>
|
|
</composition>
|
|
|
|
<!-- Lightsource -->
|
|
<composition>
|
|
<typeID>85</typeID>
|
|
<ignoreHeightmap>false</ignoreHeightmap>
|
|
<light>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>1.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<rColour>1.0</rColour>
|
|
<gColour>1.0</gColour>
|
|
<bColour>1.0</bColour>
|
|
<intensity>4.0</intensity>
|
|
</light>
|
|
</composition>
|
|
|
|
<!-- Block on 2 Pillars -->
|
|
<composition>
|
|
<typeID>100</typeID>
|
|
<ignoreHeightmap>false</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>column.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>2.1</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>10.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>column.obj</modelPath>
|
|
<xOffset>3.0</xOffset>
|
|
<yOffset>2.1</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>10.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>block.obj</modelPath>
|
|
<xOffset>1.5</xOffset>
|
|
<yOffset>4.2</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>15.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Switch -->
|
|
<composition>
|
|
<typeID>120</typeID>
|
|
<ignoreHeightmap>false</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>switch_inner.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>2</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>1.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>switch_outer.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>-1</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>1.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>switch_outerBox</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>-1</yOffset>
|
|
<zOffset>1.105</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>switch_outerBox</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>-1</yOffset>
|
|
<zOffset>-1.105</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>switch_outerBox</modelPath>
|
|
<xOffset>1.105</xOffset>
|
|
<yOffset>-1</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>90.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>switch_outerBox</modelPath>
|
|
<xOffset>-1.105</xOffset>
|
|
<yOffset>-1</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>90.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>switch_outerBox</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>-2.105</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>90.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.0</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Bridge Block -->
|
|
<composition>
|
|
<typeID>140</typeID>
|
|
<ignoreHeightmap>true</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>block.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>20.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Rotated Bridge Block -->
|
|
<composition>
|
|
<typeID>141</typeID>
|
|
<ignoreHeightmap>true</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>block.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>20.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>90.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
|
|
|
|
<!-- Bridge Block on Pillar-->
|
|
<composition>
|
|
<typeID>160</typeID>
|
|
<ignoreHeightmap>true</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>block.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>20.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>column.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>18.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>column.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>15.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>column.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>12.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Rotated Bridge Block on Pillar-->
|
|
<composition>
|
|
<typeID>161</typeID>
|
|
<ignoreHeightmap>true</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>block.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>20.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>90.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>column.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>18.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>90.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>column.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>15.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>90.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
<object>
|
|
<modelPath>column.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>12.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>90.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Wall -->
|
|
<composition>
|
|
<typeID>180</typeID>
|
|
<ignoreHeightmap>true</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>simpleWall.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>25.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.48</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Rotated Wall (90 degrees)-->
|
|
<composition>
|
|
<typeID>181</typeID>
|
|
<ignoreHeightmap>true</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>simpleWall.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>25.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>90.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.48</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Light Block -->
|
|
<composition>
|
|
<typeID>200</typeID>
|
|
<ignoreHeightmap>false</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>block.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>5.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>1.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Gate -->
|
|
<composition>
|
|
<typeID>220</typeID>
|
|
<ignoreHeightmap>true</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>gate.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>25.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>100.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Rotated Gate -->
|
|
<composition>
|
|
<typeID>221</typeID>
|
|
<ignoreHeightmap>true</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>gate.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>25.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>90.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>0.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
<!-- Block for Switch -->
|
|
<composition>
|
|
<typeID>240</typeID>
|
|
<ignoreHeightmap>false</ignoreHeightmap>
|
|
<object>
|
|
<modelPath>movableBlock.obj</modelPath>
|
|
<xOffset>0.0</xOffset>
|
|
<yOffset>5.0</yOffset>
|
|
<zOffset>0.0</zOffset>
|
|
<xRot>0.0</xRot>
|
|
<yRot>0.0</yRot>
|
|
<zRot>0.0</zRot>
|
|
<scale>1.5</scale>
|
|
<mass>1.0</mass>
|
|
</object>
|
|
</composition>
|
|
|
|
|
|
|
|
|
|
<!-- Available physicTypes are Player, Box, Button, TriangleMesh and None(no physics).
|
|
dampningL should be below 1, objects that can not move are enabled by setting their mass to 0. -->
|
|
|
|
<!-- Do not change the radius, it has to match the .obj -->
|
|
<objectData>
|
|
<modelPath>marbleSmooth.obj</modelPath>
|
|
<texturePath>Marbletexture.png</texturePath>
|
|
<ambientFactor>0.1</ambientFactor>
|
|
<diffuseFactor>0.5</diffuseFactor>
|
|
<specularFactor>0.5</specularFactor>
|
|
<shininess>3.0</shininess>
|
|
<physicType>Player</physicType>
|
|
<radius>1.0</radius>
|
|
<dampningL>0.15 </dampningL>
|
|
<dampningA>0.7</dampningA>
|
|
<renderable>true</renderable>
|
|
</objectData>
|
|
|
|
<!-- Do not change width height or length, they have to match the .obj -->
|
|
<objectData>
|
|
<modelPath>block.obj</modelPath>
|
|
<texturePath>blockTexture_small.png</texturePath>
|
|
<ambientFactor>0.1</ambientFactor>
|
|
<diffuseFactor>0.6</diffuseFactor>
|
|
<specularFactor>0.4</specularFactor>
|
|
<shininess>2.0</shininess>
|
|
<physicType>Box</physicType>
|
|
<width>4</width>
|
|
<height>1.88</height>
|
|
<length>1.99</length>
|
|
<dampningL>0.8</dampningL>
|
|
<dampningA>0.9</dampningA>
|
|
<renderable>true</renderable>
|
|
</objectData>
|
|
|
|
<objectData>
|
|
<modelPath>column.obj</modelPath>
|
|
<texturePath>columnTexture2.png</texturePath>
|
|
<ambientFactor>0.1</ambientFactor>
|
|
<diffuseFactor>0.6</diffuseFactor>
|
|
<specularFactor>0.4</specularFactor>
|
|
<shininess>2.0</shininess>
|
|
<physicType>TriangleMesh</physicType>
|
|
<dampningL>0.8</dampningL>
|
|
<dampningA>0.9</dampningA>
|
|
<renderable>true</renderable>
|
|
</objectData>
|
|
|
|
<objectData>
|
|
<modelPath>torch.obj</modelPath>
|
|
<texturePath>torchTexture.png</texturePath>
|
|
<ambientFactor>0.1</ambientFactor>
|
|
<diffuseFactor>0.3</diffuseFactor>
|
|
<specularFactor>0.7</specularFactor>
|
|
<shininess>10.0</shininess>
|
|
<physicType>TriangleMesh</physicType>
|
|
<dampningL>0.8</dampningL>
|
|
<dampningA>0.9</dampningA>
|
|
<renderable>true</renderable>
|
|
</objectData>
|
|
|
|
<!-- Do not change width height or length, they have to match the .obj -->
|
|
<objectData>
|
|
<modelPath>switch_inner.obj</modelPath>
|
|
<texturePath>switchTextureInner.png</texturePath>
|
|
<ambientFactor>0.1</ambientFactor>
|
|
<diffuseFactor>0.6</diffuseFactor>
|
|
<specularFactor>0.4</specularFactor>
|
|
<shininess>2.0</shininess>
|
|
<physicType>Button</physicType>
|
|
<width>1.8</width>
|
|
<height>1</height>
|
|
<length>1.8</length>
|
|
<dampningL>0.5</dampningL>
|
|
<dampningA>1.0</dampningA>
|
|
<renderable>true</renderable>
|
|
</objectData>
|
|
|
|
<!-- Do not change width height or length, they have to match the .obj -->
|
|
<objectData>
|
|
<modelPath>switch_outerBox</modelPath>
|
|
<physicType>Box</physicType>
|
|
<width>2.54</width>
|
|
<height>2.54</height>
|
|
<length>0.33</length>
|
|
<dampningL>0.555</dampningL>
|
|
<dampningA>0.5</dampningA>
|
|
<renderable>false</renderable>
|
|
</objectData>
|
|
|
|
<objectData>
|
|
<modelPath>switch_outer.obj</modelPath>
|
|
<texturePath>switchTextureOuter.png</texturePath>
|
|
<ambientFactor>0.1</ambientFactor>
|
|
<diffuseFactor>0.6</diffuseFactor>
|
|
<specularFactor>0.4</specularFactor>
|
|
<shininess>2.0</shininess>
|
|
<physicType>None</physicType>
|
|
<renderable>true</renderable>
|
|
</objectData>
|
|
|
|
<!-- lengh may not be exact -->
|
|
<objectData>
|
|
<modelPath>simpleWall.obj</modelPath>
|
|
<texturePath>simpleWallTexture.png</texturePath>
|
|
<ambientFactor>0.1</ambientFactor>
|
|
<diffuseFactor>0.6</diffuseFactor>
|
|
<specularFactor>0.4</specularFactor>
|
|
<shininess>2.0</shininess>
|
|
<physicType>Box</physicType>
|
|
<width>1.2</width>
|
|
<height>6</height>
|
|
<length>6</length>
|
|
<dampningL>0.555</dampningL>
|
|
<dampningA>0.5</dampningA>
|
|
<renderable>true</renderable>
|
|
</objectData>
|
|
|
|
<objectData>
|
|
<modelPath>gate.obj</modelPath>
|
|
<texturePath>gateTexture.png</texturePath>
|
|
<ambientFactor>0.1</ambientFactor>
|
|
<diffuseFactor>0.6</diffuseFactor>
|
|
<specularFactor>0.4</specularFactor>
|
|
<shininess>2.0</shininess>
|
|
<physicType>Box</physicType>
|
|
<width>1.2</width>
|
|
<height>6</height>
|
|
<length>6</length>
|
|
<dampningL>0.555</dampningL>
|
|
<dampningA>0.5</dampningA>
|
|
<renderable>true</renderable>
|
|
</objectData>
|
|
|
|
<objectData>
|
|
<modelPath>movableBlock.obj</modelPath>
|
|
<texturePath>movableBlockTexture.png</texturePath>
|
|
<ambientFactor>0.1</ambientFactor>
|
|
<diffuseFactor>0.6</diffuseFactor>
|
|
<specularFactor>0.4</specularFactor>
|
|
<shininess>2.0</shininess>
|
|
<physicType>Box</physicType>
|
|
<width>2</width>
|
|
<height>1.88</height>
|
|
<length>1.99</length>
|
|
<dampningL>0.555</dampningL>
|
|
<dampningA>0.5</dampningA>
|
|
<renderable>true</renderable>
|
|
</objectData>
|