PART {

	name = xl_landing_leg
	module = Part
	author = Bonus Eventus
	MODEL
	{
		model = kerbodynePlus/Parts/Utility/xl_landing_leg
		scale = 1.25, 1.25, 1.25
	}
	scale = 1.25
	//rescaleFactor = 1
	PhysicsSignificance = 1
	node_attach = 0.0, 3.0, 0.0, 1.0, 0.0, 0.0
	TechRequired = metaMaterials
	entryCost = 42000
	cost = 16000
	category = Utility
	subcategory = 0
	title = XL-6 Landing Strut
	manufacturer = Kerbodyne
	description = XL-6 Landing Strut is the most impressive feat of spacecraft stability engineering ever! These struts can support payloads upwards of 500 tons. When its between your cargo and the ground XL-6 always wins… …always…
	attachRules = 0,1,0,0,0
	mass = 4
	//thermalMassModifier = 3.0
	// heatConductivity = 0.06 // half default
	emissiveConstant = 0.9 	
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 80
	maxTemp = 2000
	breakingForce = 400
	breakingTorque = 400
	bulkheadProfiles = kp, srf
	tags = kerbodyne kerbodynePlus kp ground land leg support strut landing xl
	CoMOffset = 0, 0, 0
	MODULE
	{
   		name = ModuleAnimateGeneric
   		animationName = leg_light
   		isOneShot = false
 		startEventGUIName = Landing Lights On
 		endEventGUIName = Landing Lights Off
 		actionGUIName = Toggle Landing Lights
	}
	//MODULE
	//{
	//	name = ModuleLandingLeg
	//	animationName = deploy
	//	wheelColliderName = wheelCollider
	//	suspensionTransformName = pivot
	//	orientFootToGround = true
	//	landingFootName = foot
	//	alignFootUp = true
	//	suspensionUpperLimit = 0
	//	suspensionSpring = 1
	//	suspensionDamper = 1
	//}
	MODULE
	{
		name = ModuleWheelBase
		
		wheelColliderTransformName = wheelCollider		
		
		wheelType = LEG

		// setting this to true will override the radius and center parameters
		FitWheelColliderToMesh = False		
		radius = 0.152
		center = 0,0,0
		mass = 1
		autoFrictionAvailable = False
				
		TooltipTitle = Landing Leg
		TooltipPrimaryField = 
		
		groundHeightOffset = 5
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = pivot
		
		suspensionDistance = 0
		suspensionOffset = 0
		
		targetPosition = 1.0			
		springRatio = 1
		damperRatio = 1.0
		boostRatio = 1
	}
	MODULE
	{
		name = ModuleWheelDeployment
		baseModuleIndex = 0
		
		animationTrfName = xl_landing_leg
		animationStateName = deploy
		deployedPosition = 0
		deployTargetTransformName = target
		
		TsubSys = 0.5
	}
	MODULE
	{
		name = ModuleWheelLock
		maxTorque = 1500
	}
	MODULE
	{
		name = ModuleWheelBogey
		baseModuleIndex = 0
		
		bogeyTransformName = foot
		deployModuleIndex = 2
		
		maxPitch = 160
		minPitch = -160
		restPitch = 0
		pitchResponse = 100
		
		bogeyAxis = 0, 0, 1
		bogeyUpAxis = 0, -1, 0
	}
}
