<?xml version="1.0" ?>
<scene AmbientColor="0.7,0.7,0.7"
	FullName="Forward and backwards"
	formatVersion="1.0">
	<BoundingBox MaxCorner="136.236,74.1711,20"
		MinCorner="-108.486,-86.1464,-20"
		Name="Boundaries">
		<Mesh Mesh="Boundary"
			Name="ForceFieldAccuracy/Boundary"
			Position="0, 0, 0"
			Rotation="0,0,0"
			Scale="5, 5, 5" />
	</BoundingBox>
	<ForceFieldVisualization TimeToLive="10,20">
		<Trail HeadHeight="5"
			HeadMaterial="ForceFieldAccuracy/LightRibbonTrailHead"
			HeadWidth="5"
			Material="ForceFieldAccuracy/LightRibbonTrail"
			MaxElements="20"
			NumberOfChains="1"
			TrailLength="50"
			UseColours="true"
			UseTextureCoords="true">
			<Chain ColorChange="0.1, 0.1, 0.1, 0.1"
				Index="0"
				InitialColor="1.0, 0.8, 0"
				InitialWidth="4"
				WidthChange="0.5" />
		</Trail>
	</ForceFieldVisualization>
	<GroundLevel Value="300" />
	<Preset>
		<Camera Pos="-7.49229,-4.14915,237.76"
			Type="camera_script1" />
		<Jumper Create="1"
			Position="-7.71244,49.1112,0" />
		<Wind Enabled="true">
			<Region>
				<Description>Creates wind in a given direction.

No change with the time</Description>
				<Function>-- CONSTANT_FUNCTION --
function CalculateForce()
  -- Strength of the field depends on the Radius1
  return -CVector.UNIT_X * Radius1 * 0.5;
end
function Update()
	-- Does not return anything
end</Function>
				<Radius Name="1"
					Position="-7.75278,4.58088,0">Direction and strength of the wind</Radius>
				<Radius Name="2"
					Position="28.5803,4.13476,0">Half width of the affected area</Radius>
				<Radius Name="3"
					Position="24.3065,0.938682,0">Half height of the affected area</Radius>
				<Shape Orientation="1,0,0,0"
					Position="24.1034,4.45444,0"
					Size="213.062,36.1542,20" />
			</Region>
		</Wind>
	</Preset>
	<SkyBox Distance="5000"
		Material="ForceFieldAccuracy/SkyBox/CloudySky" />
	<Stream File="../data/sounds/wind.mp3"
		Loop="true"
		Name="BgMusic" />
	<Target File="../data/ForceFieldAccuracy/models/PortalTarget.phs"
		Material="Target"
		Name="Target"
		Orientation="1, 0, 0, 0"
		Position="-1.45836,-54.9294,0" />
</scene>
