<hill version="DSJ4-1.11.0" author="Kamil Ślęczka">
    <location latitude="65.664239" longitude="-18.254252" orientation="0" timezone="0" altitude="1040" />
    <weather pollution="0" firstsnow="240" lastsnow="150" maxsnow="1.5" precipitationprobability="0" fogprobability="0" />
	<time minhour="11" maxhour="12" /> 
	
	<camera type="startgate" refx="inrun" x="9.6" z="-1.15" y="1.3" refz="inrun-right" refy="inrun"/>
	<camera type="takeoff" refx="dhill" x="45" z="17" y="4.5" refz="inrun-right" refy="inrun-top"/>
	
	<camera type="judge" refx="dhill" x="124.2" z="-51.6" y="10" refz="inrun-right" refy="inrun-top"/>
	<camera type="audience" refx="dhill" x="415" z="-30" y="2" refy="dhill-top"/>
	
    <inrun>
        <profile e="130" es="15" t="7" gamma="30" alpha="11" r1="125" s="2" b1="2" z0="0" l="0" f="0" />
        <guardrail z1="-1" z2="1" x="-9999" />
        <startgate default="24" max="31" step="0.4" wind="5" z1="-1.5" z2="1" pz1="-1" pz2="1" t1="Textures\wood1.png" m1="Materials\wood.xml" c1="0xcfbf9f" t2="Textures\rust1.png" m2="Materials\metal.xml" c2="0xb6c0c8"/>
		<startbanner z="-9999" text="" textsize="0" />
        <frame by="-9999" bh="1.25" pt="false" topsnow="true" snow="true" t="Textures\snow.png" m="Materials\snow.xml" c="0x858176" />
        <twigs lz="1" rz="-1" />
		<track type="ceramic" snow="true"/>
		<flag x="0" z="0" hf="0" pf="0" hp="0" rb="0" rt="0" tf="Textures\flag-isl.png" mf="Materials\flag.xml" tp="Textures\wood1.png" mp="Materials\material1.xml" cp="0xffffff" />
    </inrun>
	
    <dhill> 
        <profile alpha="3" h="136.9" n="234" l1="201" l2="0" a="0" beta-p="34.8" beta="34.1" beta-l="34.1" rl="372" r2="500" 
			b0="10" bk="40" ba="65" hr="0" nr="100" ar="0" x0="0" k="253" hs="300" />
        <fence t="Textures\fenceback.png" m="Materials\material1.xml" c="0xffffff" h="0" />
        <windflags h="-1" l="1" d="0.96" t="Textures\rust1.png" m="Materials\metal.xml" c="0x353535" />
        <plastic c="0xffffff"/> <!--0x949ea8 lub 0x58a362-->
        <lines summer-min="0" summer-max="300" winter-min="0" winter-max="300" />
        <numbers min="0" max="300" h1="0" h2="0" />
		
		<custom-markings>
			<summer>	
				<grass d1="0"   d2="25"  side="custom"  refz1="dhill-right" z1="0"   z2="0"/>
				<grass d1="0"   d2="25"  side="custom"  refz2="dhill-left"  z1="0"   z2="0"/>
				<grass d1="25"  d2="75"  side="custom"  refz1="dhill-right" z1="0"   z2="-5"/>
				<grass d1="25"  d2="75"  side="custom"  refz2="dhill-left"  z1="5"   z2="0"/>
				<grass d1="75"  d2="150" side="custom"  refz1="dhill-right" z1="0"   z2="-7.5"/>
				<grass d1="75"  d2="150" side="custom"  refz2="dhill-left"  z1="7.5" z2="0"/>
				<grass d1="150" d2="350" side="custom"  refz1="dhill-right" z1="0"   z2="-15"/>
				<grass d1="150" d2="350" side="custom"  refz2="dhill-left"  z1="15"  z2="0"/>
				<grass d1="350" d2="650" side="custom"  refz1="dhill-right" z1="0"   z2="0"/>
				<grass d1="350" d2="650" side="custom"  refz2="dhill-left"  z1="0"   z2="0"/>
				
				<line step="50" count="2" d="100" w="0.5" z1="-6.25" z2="6.25" c="0xffffff" />
				<line d="200" w="0.5" z1="-13.75" z2="13.75" c="0x2c87bc" />
				<line d="253.5" w="0.5" z1="-13.75" z2="13.75" c="0xd53944" />
				<line d="300" w="0.5" z1="-13.75" z2="13.75" c="0x2c87bc" />
			</summer>
            <winter>
				<spray d="100" refz1="right" refz2="left" w="1" z1="2" z2="-2" c="0x2e8de0"/>
				<spray d="100" refz1="right" refz2="left" w="2.5" fade1="10" fade2="10" z1=".5" z2="-.5" c="0x2e8de0"/>
				
				<spray d="150" refz1="right" refz2="left" w="1" z1="2" z2="-2" c="0x2e8de0"/>
				<spray d="150" refz1="right" refz2="left" w="2.5" fade1="10" fade2="10" z1=".5" z2="-.5" c="0x2e8de0"/>
 
				<spray d="200" refz1="right" refz2="left" w="1" z1="2" z2="-2" c="0x2e8de0"/>
				<spray d="200" refz1="right" refz2="left" w="2.5" fade1="10" fade2="10" z1=".5" z2="-.5" c="0x2e8de0"/>
				
				<spray d="253" refz1="right" refz2="left" w="1" z1="2" z2="-2" c="0xed3b59"/>
				<spray d="253" refz1="right" refz2="left" w="2.5" fade1="10" fade2="10" z1=".5" z2="-.5" c="0xed3b59"/>
				
				<spray d="300" refz1="right" refz2="left" w="1" z1="2" z2="-2" c="0x2e8de0"/>
				<spray d="300" refz1="right" refz2="left" w="2.5" fade1="10" fade2="10" z1=".5" z2="-.5" c="0x2e8de0"/>
            </winter>
        </custom-markings>
    </dhill>

    <profile id="inrun-left" side="left" maxstep="1000">
        <start x="-10" y="1" refx="inrun" />
        <line x="0" y="1" refx="dhill" />
    </profile>

    <profile id="inrun-right" side="right" maxstep="1000">
        <start x="-10" y="-1" refx="inrun" />
        <line x="0" y="-1" refx="dhill" />
    </profile>
	
	<profile id="inrun-terrain">
        <start x="-125" y="1.1"/>
		<line  x="-120" y="1.8"/>
		<line  x="-110" y="1.75"/>
		<line  x="-100" y="1.8"/>
		<line  x="-90"  y="1.95"/>
		<line  x="-80"  y="1.95"/>
		<line  x="-70"  y="1.95"/>
		<line  x="-60"  y="1.95"/>
		<line  x="-50"  y="1.95"/>
		<line  x="-40"  y="1.95"/>
		<line  x="-35"  y="1.92"/>
		<line  x="-30"  y="1.91"/>
		<line  x="-25"  y="1.91"/>
		<line  x="-20"  y="1.91"/>
		<line  x="-15"  y="1.91"/>
		<line  x="-10"  y="1.92"/>
		<line  x="-5"   y="1.93"/>
		<line  x="-2"   y="1.95"/>
		<line  x="0"    y="0"/>
    </profile>

    <terrain><!-- rs="921" / 23 / 52 -->
        <profile in="1" y0="0" sd="15" fd="900" sc="0.2" sm="0.6" rs="52" c1="0x524335" c2="0x858176" tsc="0.008" tsm="0.5"/>
        <audience count="100" d="25" x0="0" seed="413" />
    </terrain>
	
	<!-- INRUN UNDER -->
	<pillar refx1="inrun" refx2="dhill" x1="0" x2="0" rz="-1.15" lz="1.15" refy="inrun-top" ty="0" by="-2" top="false" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff"/>
	<pillar refx="dhill" x1="-4" x2="0" rz="-1.15" lz="-1" refy="inrun-top" ty="0" by="-2" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff"/>
	<pillar refx="dhill" x1="-4" x2="0" rz="1" lz="1.15" refy="inrun-top" ty="0" by="-2" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff"/>
	
	<!-- INRUN SIDES -->
	<pillar refx1="inrun" refx2="dhill" x1="0" x2="-4" rz="-1.15" lz="-1" refy="inrun-top" ty="0.01" by="0" scale="3" t="Textures\wood1.png" m="Materials\wood.xml" c="0xeedbb4"/>
	<pillar refx1="inrun" refx2="dhill" x1="0" x2="-4" lz="1.15"   rz="1" refy="inrun-top" ty="0.01" by="0" scale="3" t="Textures\wood1.png" m="Materials\wood.xml" c="0xeedbb4"/>
	
	<pillar refx1="inrun" refx2="dhill" x1="0" x2="0" lz="1.7" rz="1.4" refy="inrun-top" ty="0.01" by="0" front="false" t="Textures\wood7.png" m="Materials\material1.xml" c="0xc71e4e"/>
	
	<pillar refx1="inrun" refx2="dhill" x1="0" x2="0" rz="1.15" lz="1.7" refy="inrun-top" ty="0" by="-2" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff"/>
	<pillar refx1="inrun" refx2="dhill" x1="0" x2="0" rz="1.7" lz="5.7" refy="inrun-top" tly="-.8" try="0" by="-2" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff"/>
	<pillar refx1="inrun" refx2="dhill" x1="13.6" x2="0" rz="-8.15" lz="-1.15" refy="inrun-top" try="-2" tly="0" by="-2" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff"/>
	
	<!-- INRUN TABLE -->	
	<pillar refx="dhill" x1="-4" x2="0" rz="1.15" lz="10" refy="inrun-top" ty="0" by="-2" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff" pt="true"/>
	
	<!-- INRUN BACK -->
	<profile id="end-platform" refx="inrun">
		<start x="-4" y="0" refy="inrun-top" refyx="0"/>
		<line  x="0"  y="0" refy="inrun-top" refyx="0"/>
	</profile>
	
	<pillar refx="inrun" refy="end-platform" x1="-4" x2="0"   rz="-1.15" lz="1.15"  ty="0.01" by="-.1" scale="3" t="Textures\wood1.png" m="Materials\wood.xml" c="0xeedbb4"/>
	<pillar refx="inrun" refy="end-platform" x1="-4" x2="-.4" rz="-3.1"  lz="-1.15" ty="0"    by="-1" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff"/>
	<pillar refx="inrun" refy="end-platform" x1="-4" x2="0"   rz="1.15"  lz="1.7"   ty="0"    by="-1" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff"/>
	<pillar refx="inrun" refy="end-platform" x1="-4" x2="0"   rz="1.7"   lz="5.7"   tly="-.8" try="0"    by="-1" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff"/>
	
	<!-- GATE STAIRS -->
	<profile id="inrun-gates" refx="inrun">
		<start refy="inrun-top" x="-0.4"    y="0.4" refyx="0"/>
		<line refy="inrun-top"  x="-0.001"  y="0.4"/>
		<line refy="inrun-top"  x="0"       y="0.4" refyx="0.4"/>
		<line refy="inrun-top"  x="0.399"   y="0.4"/>
		<line refy="inrun-top"  x="0.4"     y="0.4" refyx="0.8"/>
		<line refy="inrun-top"  x="0.799"   y="0.4"/>
		<line refy="inrun-top"  x="0.8"     y="0.4" refyx="1.2"/>
		<line refy="inrun-top"  x="1.199"   y="0.4"/>
		<line refy="inrun-top"  x="1.2"     y="0.4" refyx="1.6"/>
		<line refy="inrun-top"  x="1.599"   y="0.4"/>
		<line refy="inrun-top"  x="1.6"     y="0.4" refyx="2.0"/>
		<line refy="inrun-top"  x="1.999"   y="0.4"/>
		<line refy="inrun-top"  x="2.0"     y="0.4" refyx="2.4"/>
		<line refy="inrun-top"  x="2.399"   y="0.4"/>
		<line refy="inrun-top"  x="2.4"     y="0.4" refyx="2.8"/>
		<line refy="inrun-top"  x="2.799"   y="0.4"/>
		<line refy="inrun-top"  x="2.8"     y="0.4" refyx="3.2"/>
		<line refy="inrun-top"  x="3.199"   y="0.4"/>
		<line refy="inrun-top"  x="3.2"     y="0.4" refyx="3.6"/>
		<line refy="inrun-top"  x="3.599"   y="0.4"/>
		<line refy="inrun-top"  x="3.6"     y="0.4" refyx="4.0"/>
		<line refy="inrun-top"  x="3.999"   y="0.4"/>
		<line refy="inrun-top"  x="4.0"     y="0.4" refyx="4.4"/>
		<line refy="inrun-top"  x="4.399"   y="0.4"/>
		<line refy="inrun-top"  x="4.4"     y="0.4" refyx="4.8"/>
		<line refy="inrun-top"  x="4.799"   y="0.4"/>
		<line refy="inrun-top"  x="4.8"     y="0.4" refyx="5.2"/>
		<line refy="inrun-top"  x="5.199"   y="0.4"/>
		<line refy="inrun-top"  x="5.2"     y="0.4" refyx="5.6"/>
		<line refy="inrun-top"  x="5.599"   y="0.4"/>
		<line refy="inrun-top"  x="5.6"     y="0.4" refyx="6.0"/>
		<line refy="inrun-top"  x="5.999"   y="0.4"/>
		<line refy="inrun-top"  x="6.0"     y="0.4" refyx="6.4"/>
		<line refy="inrun-top"  x="6.399"   y="0.4"/>
		<line refy="inrun-top"  x="6.4"     y="0.4" refyx="6.8"/>
		<line refy="inrun-top"  x="6.799"   y="0.4"/>
		<line refy="inrun-top"  x="6.8"     y="0.4" refyx="7.2"/>
		<line refy="inrun-top"  x="7.199"   y="0.4"/>
		<line refy="inrun-top"  x="7.2"     y="0.4" refyx="7.6"/>
		<line refy="inrun-top"  x="7.599"   y="0.4"/>
		<line refy="inrun-top"  x="7.6"     y="0.4" refyx="8.0"/>
		<line refy="inrun-top"  x="7.999"   y="0.4"/>
		<line refy="inrun-top"  x="8.0"     y="0.4" refyx="8.4"/>
		<line refy="inrun-top"  x="8.399"   y="0.4"/>
		<line refy="inrun-top"  x="8.4"     y="0.4" refyx="8.8"/>
		<line refy="inrun-top"  x="8.799"   y="0.4"/>
		<line refy="inrun-top"  x="8.8"     y="0.4" refyx="9.2"/>
		<line refy="inrun-top"  x="9.199"   y="0.4"/>      
		<line refy="inrun-top"  x="9.2"     y="0.4" refyx="9.6"/>
		<line refy="inrun-top"  x="9.599"   y="0.4"/>
		<line refy="inrun-top"  x="9.6"     y="0.4" refyx="10.0"/>
		<line refy="inrun-top"  x="9.999"   y="0.4"/>
		<line refy="inrun-top"  x="10.0"    y="0.4" refyx="10.4"/>
		<line refy="inrun-top"  x="10.399"  y="0.4"/>
		<line refy="inrun-top"  x="10.4"    y="0.4" refyx="10.8"/>
		<line refy="inrun-top"  x="10.799"  y="0.4"/>
		<line refy="inrun-top"  x="10.8"    y="0.4" refyx="11.2"/>
		<line refy="inrun-top"  x="11.199"  y="0.4"/>      
		<line refy="inrun-top"  x="11.2"    y="0.4" refyx="11.6"/>
		<line refy="inrun-top"  x="11.599"  y="0.4"/>
		<line refy="inrun-top"  x="11.6"    y="0.4" refyx="12.0"/>
		<line refy="inrun-top"  x="11.999"  y="0.4"/>
		<line refy="inrun-top"  x="12.0"    y="0.4" refyx="12.4"/>
		<line refy="inrun-top"  x="12.399"  y="0.4"/>
		<line refy="inrun-top"  x="12.4"    y="0.4" refyx="12.8"/>
		<line refy="inrun-top"  x="12.799"  y="0.4"/>
		<line refy="inrun-top"  x="12.8"    y="0.4" refyx="13.2"/>
		<line refy="inrun-top"  x="13.199"  y="0.4"/>      
		<line refy="inrun-top"  x="13.2"    y="0.4" refyx="13.6"/>
		<line refy="inrun-top"  x="13.599"  y="0.4"/>
		<line refy="inrun-top"  x="13.6"    y="0.4" refyx="14.0"/>
		<line refy="inrun-top"  x="13.999"  y="0.4"/>
		<line refy="inrun-top"  x="14.0"    y="0.4" refyx="14.4"/>
		<line refy="inrun-top"  x="14.399"  y="0.4"/>
		<line refy="inrun-top"  x="14.4"    y="0.4" refyx="14.8"/>
		<line refy="inrun-top"  x="14.799"  y="0.4"/>
		<line refy="inrun-top"  x="14.8"    y="0.4" refyx="15.2"/>
		<line refy="inrun-top"  x="15.199"  y="0.4"/>      
		<line refy="inrun-top"  x="15.2"    y="0.4" refyx="15.6"/>
		<line refy="inrun-top"  x="15.599"  y="0.4"/>
	</profile>
	
	<pillar refx="inrun" refy="inrun-gates" scale="5" x1="-.38" x2="-.02" ty="-.39" by="-.4" rz="-2.4" lz="-1.4" step="0.4" count="35" t="Textures\rubbermat.png" m="Materials\material1.xml" c="0xaaaaaa"/>
	<pillar refx="inrun" refy="inrun-gates" x1="-0.4" x2="0" ty="-.4" by="-1.5" rz="-3.1" lz="-1.1" step="0.4" count="35" t="Textures\snow.png" m="Materials\snow.xml" c="0xffffff"/>
	
	<!-- NETS -->	
	<pillar refx="dhill" refz="dhill-right" refy="dhill-top" step="2" count="150" x1="173" x2="173.01" lz="-0.11" rz="-0.12" ntop="1" nbottom="-0.1" t="Textures\metal.png" m="Materials\material1.xml" c="0x23698f"/>	
	<pillar refx="dhill" refz="dhill-left"  refy="dhill-top" step="2" count="150" x1="173" x2="173.01"  rz="0.11"  lz="0.12" ntop="1" nbottom="-0.1" t="Textures\metal.png" m="Materials\material1.xml" c="0x23698f"/>
	
	<pillar refx="dhill" refz="dhill-right" refy="dhill-top" scale="3" type="blend" x1="173" x2="473" lz="-0.1125" rz="-0.1175" ntop="0.9" nbottom="0" top="false" bottom="false" t="Textures\net.png" m="Materials\material1.xml" c="0xffffff"/>	
	<pillar refx="dhill" refz="dhill-left"  refy="dhill-top" scale="3" type="blend" x1="173" x2="473"  rz="0.1125"  lz="0.1175" ntop="0.9" nbottom="0" top="false" bottom="false" t="Textures\net.png" m="Materials\material1.xml" c="0xffffff"/>	

</hill>