<Witos>
<append xpath="/vehicles">
	<vehicle name="WitosApacheHelicopter">
	  <property name="VehicleCameraScope" value="true" />
      <property name="cameraDistance" value="20, 25"/>
      <property name="cameraTurnRate" value=".2, .35"/>
      <property name="upAngleMax" value="15"/>
      <property name="upForce" value="0"/>
      <property name="steerRate" value="80"/>
      <property name="steerCenteringRate" value="90"/>
      <property name="tiltAngleMax" value="120"/>
      <property name="tiltThreshold" value="45"/>
      <property name="tiltDampening" value="20"/>
      <property name="tiltDampenThreshold" value="0"/>
      <property name="tiltUpForce" value="0"/>
      <property name="waterDrag_y_velScale_velMaxScale" value="1.5, .9, 1"/>
      <property name="waterLift_y_depth_force" value="1, .5, .1"/>
      <property name="motorTorque_turbo" value="1500, 900, 1500, 900"/>
      <property name="velocityMax_turbo" value="66, 66, 66, 66"/>
      <property name="brakeTorque" value="200"/>
      <property name="unstickForce" value="1"/>
      <property name="hornSound" value="gyrocopter_horn"/>
	  <property name="rotorWashEnabled" value="true"/>
	  <property name="disableTurboSound" value="true"/>
      <property name="invertPitch" value="true"/>
      <property name="turnCoordination" value="0.05"/>
      <property name="angularDamping" value="0.995"/>
      <property name="controlDeadZone" value="0.08"/>
      <property name="throttleUpRate" value="0.10"/>
      <property name="throttleDownRate" value="0.05"/>
      <property name="idleThrottle" value="0.6"/>
      <property name="enableTVOL" value="true"/>
      <property name="startInTVOL" value="true"/>
	  <property name="tvolForwardSpeedMul" value="2"/>
      <property name="allowTVOLToggle" value="false"/>
      <property name="tvolHoverForceMul" value="1.30"/>
      <property name="tvolMaxUpSpeed" value="9"/>
      <property name="tvolMaxPlanarSpeed" value="18"/>
      <property name="tvolMaxTiltDeg" value="35"/>
      <property name="tvolStabilizeTorque" value="5000"/>
      <property name="tvolYawTorque" value="7500"/>
      <property name="tvolVelDamp" value="0.988"/>
      <property name="tvolAngDamp" value="0.980"/>
      <property name="tvolYawStrafeEnabled" value="true"/>
      <property name="tvolYawStrafeForceMul" value="0.50"/>
      <property name="tvolYawStrafeYawMul" value="0.65"/>
	  <property name="tvolRotorPitchTiltDegMax" value="25"/>
      <property name="tvolRotorPitchTiltSmooth" value="8"/>
	  
		<property name="TowHitch"             value="true"/>
		<property name="TowHitchOffset"       value="0,-1,0"/>
		<property name="TowHitchKey"          value="H"/>
		<property name="TowHitchSearchRadius" value="1.5"/>
		<property name="TowHitchSpring"       value="2000"/>   <!-- solo uno -->
		<property name="TowHitchDamper"       value="200"/>    <!-- solo uno -->
		<property name="TowHitchMaxAngle"     value="45"/>
		<property name="TowHitchMaxForce"     value="4000"/>
		<property name="TowHitchSwayDamping"  value="0.08"/>
		<property name="TowHitchWheelFriction" value="0.6"/>


		<property name="TowHitchRope"         value="true"/>
		<property name="TowHitchRopeSegments" value="20"/>
		<property name="TowHitchRopeSag"      value="1.2"/>
		<property name="TowHitchRopeWidth"    value="0.05"/>
		<property name="TowHitchRopeColor"    value="0.15,0.15,0.15"/>
		<property name="TowHitchRopeSwing"    value="0.2"/>
		<property name="TowHitchMagnetName"  value="TowMagnet"/>
		<property name="TowHitchMagnetRotation" value="-90,0,0"/>
		<property name="TowHitchMagnetSize"  value="0.15"/>
		<property name="TowHitchMagnetColor" value="0.3,0.3,0.35"/>
		<property name="TowHitchAerial" value="true"/>
		<property name="TowHitchRopeDeployLength"  value="4.0"/>  <!-- longitud máxima, nunca pasa de aquí -->
		<property name="TowHitchRopeDescendSpeed"  value="2.0"/>  <!-- m/s que baja la cuerda al desplegar -->
		<property name="TowHitchMagnetWeight"      value="100.0"/> <!-- más alto = más pesado, cae más rápido -->
		<property name="TowHitchMagnetRopeT"   value="1.0"/>   <!-- 0=hitch, 0.5=mitad, 1=cargo -->
		<property name="TowHitchMod"           value="modVehicleMagnet"/>

	  
	  

      <property name="maxWheelVisualSlots" value="3"/>
      <property name="wheelSpinAxisLocal" value="0,0,-1"/>
      <property name="wheelSpinSpeed" value="120"/>
      <property name="wheel0" value="M/Body/trennowhels/Wheel1"/>
      <property name="wheel1" value="M/Body/trennowhels/Wheel0"/>
      <property name="wheel2" value="M/Body/wheel2"/>
	  
      <property name="autoGearEnabled" value="true"/>
      <property name="gearRetractAltitude" value="20"/>
      <property name="gearDeployAltitude" value="12"/>
      <property name="gearAnimStateName" value="anitren"/>
      <property name="gearAnimSpeed" value="0.6"/>
      <property name="gearAnimatorPath" value="M/Body/trennowhels"/>
      <property name="gearUseAltitudeAboveGround" value="true"/>
	  
	 <property class="damageVisual">
		 <property name="class" value="VisualDamageRootByHealth, suspension"/>
		 <property name="disableDamageRootSwap" value="true"/> 
		 <property name="damagedAt01" value="0.66" />
		 <property name="criticalAt01" value="0.30" /> 
		 <property name="refreshSeconds" value="0.25" /> 
		 <property name="applyTint" value="true" /> 
		 <property name="shaderColorProperty" value="_Color" />
		 <property name="tintChildNames" value="Body" /> 
		 <property name="debugLog" value="false" />
		 <property name="criticalEngineStutterEnabled" value="true" /> 
		 <property name="criticalPowerMul" value="0.55" />
		 <property name="criticalOffMin" value="1.10" /> 
		 <property name="criticalOffMax" value="1.35" /> 
		 <property name="criticalOnMin" value="14.25" /> 
		 <property name="criticalOnMax" value="15.90" /> 
		 <property name="criticalBeepEnabled" value="true" /> 
		 <property name="criticalBeepSound" value="WitosALARM" />
		 <property name="criticalBeepInterval" value="1.0" /> 
	 </property>
	 
	 <property class="ScopeMonitorMain">
		<property name="enabled" value="true"/>
		<property name="allowControlInSeat" value="true"/>
		<property name="seatIndex" value="1"/>
		<property name="sourceName" value="camerascope"/>
		<property name="screenName" value="camerascreen"/>
		<property name="cloneScreenName" value="camerascreenclone1"/>
		<property name="textureSize" value="1024"/>
		<property name="showCrosshair" value="true"/>
		<property name="brightness" value="0.9"/>
		<property name="mouseSensitivityMultiplier" value="1.0"/>
		<property name="crosshairSizeScale" value="5.0"/>
		<property name="crosshairThicknessScale" value="1.0"/>
		<property name="flipHorizontal" value="true"/>
		<property name="flipVertical" value="true"/>
		<property name="releaseKey" value=""/>
		<property name="fov" value="60"/>
	</property>
	
	    <!-- Segunda pantalla: asiento 2 -->
<!--     <property class="ScopeMonitorMain">
        <property name="enabled" value="true"/>
        <property name="allowControlInSeat" value="true"/>
        <property name="seatIndex" value="2"/>
        <property name="sourceName" value="camerascope_2"/>
        <property name="screenName" value="camerascreen_2"/>
        <property name="cloneScreenName" value="camerascreenclone_2"/>
        <property name="textureSize" value="1024"/>
        <property name="showCrosshair" value="true"/>
        <property name="brightness" value="0.9"/>
        <property name="mouseSensitivityMultiplier" value="1.0"/>
        <property name="crosshairSizeScale" value="5.0"/>
        <property name="crosshairThicknessScale" value="1.0"/>
        <property name="flipHorizontal" value="true"/>
        <property name="flipVertical" value="true"/>
        <property name="releaseKey" value="RightAlt"/>
        <property name="fov" value="60"/>
    </property> -->
	 
	  
     <property class="chassis">
        <property name="class" value="VPScreenMFD, suspension"/>
        <property name="paint" value="M/TopP/helis/h"/>

        <property name="mfd0" value="GameObject/M/PANTALLAS/Screen0"/>
        <property name="page0" value="0"/>
        <property name="mfd1" value="GameObject/M/PANTALLAS/Screen1"/>
        <property name="page1" value="2"/>
        <property name="mfd2" value="GameObject/M/PANTALLAS/Screen2"/>
        <property name="page2" value="1"/>
        <property name="mfd3" value="GameObject/M/PANTALLAS/Screen3"/>
        <property name="page3" value="0"/>
        <property name="mfd4" value="GameObject/M/PANTALLAS/Screen4"/>
        <property name="page4" value="2"/>

        <property name="sph0" value="GameObject/M/PANTALLAS/Sphere0"/>
        <property name="page5" value="1"/>
        <property name="sph1" value="GameObject/M/PANTALLAS/Sphere1"/>
        <property name="page6" value="1"/>
	</property>
	 
	 <property class="engine">
			<property name="class" value="Engine"/>
			<property name="slot_type" value="engine"/>
			<property name="particleOn" value="Particles/p_on"/>
			<property name="particleDamaged" value="Particles/p_damaged"/>
			<property name="particleBroken" value="Particles/p_broken"/>		
			<property name="fuelKmPerL" value="0.15"/>
			<property name="foodDrain" value=".002,.00811"/>
			<property name="gear1" value="
				650,2600, -1200,700,0, 1700,9999,9999,
				,
				,
				0.08, .65, .48, .18,  -6, .08, .18, Helicopter_flying,
				-.05, .12, .62, .72,  -2, 7, .12, Helicopter_med_lp
			"/>
			<property name="sound_start" value="Helicopter_start"/>
			<property name="sound_shut_off" value="Helicopter_stop"/>
			<property name="sound_no_fuel_shut_off" value="Vehicles/Gyrocopter/gyrocopter_sputter"/>
		</property>
			
	<property class="handlebars">
			<property name="paint" value="Wheel0/Cam1"/>
			<property name="class" value="Steering"/>
			<property name="steerMaxAngle" value="0"/>
			<property name="steerAngle" value="0, 0, -8"/>
			<property name="transform" value="M/control"/>
			<property name="IKHandLPosition" value="-0.050, 0.450, -0.188"/>
			<property name="IKHandLRotation" value="280, 90, 0"/>
			<property name="IKHandRPosition" value="0.030, 0.408, -0.216"/>
			<property name="IKHandRRotation" value="90, 260 ,0"/>
		</property>
		
	<property class="seat1">
			<property name="paint" value="Wheel1/Cam2"/>
			<property name="class" value="Seat"/>
			<property name="pose" value="41"/>			
			<property name="position" value="0.100, 0.880, 3.548"/>
			<property name="rotation" value="0, 0, 0"/>
			<property name="exit" value="-3,0,.9 ~ 3,0,.9 ~ 0,0,-2.4 ~ 0,0,2.4 ~ 0,2,0"/>

		</property>				
		
		<property class="seat0">
			<property name="paint" value="Wheel0/Cam1/cam"/>
			<property name="class" value="Seat"/>
			<property name="pose" value="50"/>			
			<property name="position" value="0.070, 1.359, 1.911"/> 
			<property name="rotation" value="0, 0, 0"/>
			<property name="exit" value="-3,0,.9 ~ 3,0,.9 ~ 0,0,-2.4 ~ 0,0,2.4 ~ 0,2,0"/>
		</property>

		<property class="fuelTank">
			<property name="class" value="FuelTank"/>
			<property name="capacity" value="500"/>
		</property>
		
		<property class="motor0">
			<property name="engine" value="engine"/>
			<property name="engineOffPer" value=".02"/>
			<property name="rpmAccel_min_max" value="0.01, .2"/>
			<property name="rpmMax" value="8"/>
			<property name="rpmDrag" value=".993"/>
			<property name="trigger" value="relative"/> 
			<property name="type" value="spin"/> 
			<property name="transform" value="M/TopP"/>
			<property name="axis" value="1"/>
		</property>

		<property class="motor1">
			<property name="engine" value="engine"/>
			<property name="turbo" value="1.35"/>
			<property name="rpmAccel_min_max" value="0.01, .1"/>
			<property name="rpmMax" value="8"/>
			<property name="rpmDrag" value=".993"/>
			<property name="trigger" value="relative"/>
			<property name="type" value="spin"/>
			<property name="transform" value="M/PB"/>
			<property name="axis" value="2"/>
		</property>
	
		<property class="wheel0">
			<property name="steerTransform" value="Wheel0"/>
		</property>

		<property class="wheel1">
			<property name="steerTransform" value="Wheel1"/>
		</property>
			
		<property class="headlight">
			<property name="class" value="Headlight"/>

			<property name="bright" value=".75"/>

			<property name="transform" value="Wheel1/Cam2/HeadLights/Lights"/>
			<property name="matT" value="Wheel1/Cam2/HeadLights"/>
			<property name="matEmissive" value="808080"/>

		</property>
		
		<property class="headlight2">
			<property name="class" value="Headlight"/>

			<property name="bright" value=".75"/>

			<property name="transform" value="Wheel0/Cam1/HeadLights2/Lights"/>
			<property name="matT" value="Wheel0/Cam1/HeadLights2"/>
			<property name="matEmissive" value="808080"/>

		</property>
					
		<property class="storage">
			<property name="class" value="Storage"/>
		</property>
       </vehicle> 

	</append>
</Witos>