<?xml version="1.0" encoding="iso-8859-1"?>

<i3D name="RMC_Chain.i3d" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">
  <Asset>
    <Export program="GIANTS Editor 64bit" version="10.0.11"/>
  </Asset>

  <Files>
    <File fileId="6" filename="$data/shaders/glowShader.xml"/>
    <File fileId="9" filename="$data/shaders/vehicleShader.xml"/>
    <File fileId="8" filename="$data/shared/default_vmask.dds"/>
    <File fileId="11" filename="$data/shared/detailLibrary/calibrated/castIron_normal.dds"/>
    <File fileId="17" filename="$data/shared/detailLibrary/flat_normal.dds"/>
    <File fileId="19" filename="$data/shared/detailLibrary/metallic/scratched_diffuse.dds"/>
    <File fileId="18" filename="$data/shared/detailLibrary/metallic/scratched_specular.dds"/>
    <File fileId="12" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPainted_diffuse.dds"/>
    <File fileId="10" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPainted_specular.dds"/>
    <File fileId="21" filename="$data/shared/materialHolders/tensionBelts/ratchet_normal.dds"/>
    <File fileId="22" filename="$data/shared/materialHolders/tensionBelts/ratchet_specular.dds"/>
    <File fileId="5" filename="$data/shared/materialHolders/tensionBelts/tensionBeltDummy_diffuse.dds"/>
    <File fileId="7" filename="$data/shared/white_diffuse.dds"/>
    <File fileId="1" filename="chain_diffuse.dds"/>
    <File fileId="2" filename="chain_normal.dds"/>
    <File fileId="3" filename="chain_specular.dds"/>
    <File fileId="4" filename="tensionBeltShader_PLUS_VIS.xml"/>
  </Files>


  <Materials>
    <Material name="black" materialId="5" customShaderId="9">
      <Texture fileId="7"/>
      <Glossmap fileId="8"/>
      <Custommap name="detailSpecular" fileId="18"/>
      <Custommap name="detailNormal" fileId="17"/>
      <Custommap name="detailDiffuse" fileId="19"/>
    </Material>
    <Material name="black" materialId="6" customShaderId="9">
      <Texture fileId="7"/>
      <Glossmap fileId="8"/>
      <Custommap name="detailSpecular" fileId="10"/>
      <Custommap name="detailNormal" fileId="17"/>
      <Custommap name="detailDiffuse" fileId="12"/>
      <CustomParameter name="colorScale" value="0.02 0.02 0.02"/>
    </Material>
    <Material name="chains" materialId="7" customShaderId="9">
      <Texture fileId="7"/>
      <Glossmap fileId="8"/>
      <Custommap name="detailSpecular" fileId="10"/>
      <Custommap name="detailNormal" fileId="11"/>
      <Custommap name="detailDiffuse" fileId="12"/>
      <CustomParameter name="colorScale" value="1 0 0"/>
    </Material>
    <Material name="ratchet_mat" materialId="8" diffuseColor="0.494118 0.494118 0.494118 1" customShaderId="9">
      <Normalmap fileId="21"/>
      <Glossmap fileId="22"/>
    </Material>
    <Material name="tensionBelt_mat" materialId="9" alphaBlending="true" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <CustomParameter name="beltClipOffsets" value="0 100 0 100"/>
      <CustomParameter name="beltUVScale" value="1 14"/>
    </Material>
    <Material name="tensionBeltDummy_mat" materialId="10" alphaBlending="true" customShaderId="6" customShaderVariation="additive_colorScale">
      <Emissivemap fileId="5"/>
      <CustomParameter name="colorScale" value="0 1 0"/>
    </Material>
    <Material name="tensionBeltStatic_mat" materialId="11">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
  </Materials>


  <Shapes externalShapesFile="RMC_Chain.i3d.shapes">
  </Shapes>

  <Scene>
    <TransformGroup name="tensionBeltDefault" clipDistance="500" nodeId="21">
      <Shape name="material" shapeId="1" visibility="false" clipDistance="500" nodeId="22" castsShadows="true" receiveShadows="true" materialIds="9"/>
      <Shape name="dummyMaterial" shapeId="2" visibility="false" clipDistance="500" nodeId="23" castsShadows="true" receiveShadows="true" materialIds="10"/>
      <Shape name="binder" shapeId="3" clipDistance="500" nodeId="24" castsShadows="true" receiveShadows="true" materialIds="7,6,5">
        <TransformGroup name="sizeMarker" translation="1.12266e-12 0.0967177 8.63204" clipDistance="500" nodeId="25"/>
        <Shape name="beltPart" translation="2.41585e-12 0 8.74301" shapeId="4" visibility="false" clipDistance="500" nodeId="26" castsShadows="true" receiveShadows="true" materialIds="11"/>
      </Shape>
      <Shape name="hook" shapeId="5" clipDistance="500" nodeId="27" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="8">
        <TransformGroup name="sizeMarker" translation="0 0 1.38414" clipDistance="500" nodeId="28"/>
        <Shape name="beltPart" shapeId="6" clipDistance="500" nodeId="29" castsShadows="true" receiveShadows="true" nonRenderable="true" materialIds="11"/>
        <Shape name="hook" translation="1.05228e-07 0 1.49757" rotation="0 180 0" shapeId="7" clipDistance="500" nodeId="30" castsShadows="true" receiveShadows="true" materialIds="7"/>
      </Shape>
    </TransformGroup>
    <Shape name="demo" translation="3.46186 0 0" rotation="0 -0 -90" scale="1 1 200" shapeId="8" clipDistance="500" nodeId="31" castsShadows="true" receiveShadows="true" materialIds="9"/>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="21">
      <Attribute name="name" type="string" value="RMC_Chain"/>
      <Attribute name="onCreate" type="scriptCallback" value="TensionBeltManager.onCreateTensionBelt"/>
      <Attribute name="width" type="float" value="0.05"/>
    </UserAttribute>
    <UserAttribute nodeId="22">
      <Attribute name="isMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="23">
      <Attribute name="isDummyMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="24">
      <Attribute name="isRatchet" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="26">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="27">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="29">
      <Attribute name="isHook" type="boolean" value="true"/>
    </UserAttribute>
  </UserAttributes>

</i3D>
