PART
{
	name = airramp
	module = Part
	author = blackheart612/neistridlar

	mesh = model.mu
	rescaleFactor = 1

	//node_stack_top2 = 0.0, 0.9175, 0.0, 0.0, -1.0, 0.0, 1
	//node_stack_bottom2 = 0.0, -0.9175, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_top = 0.0, 0.9375, 0.0, 0.0, 1.0, 0.0, 2
	node_stack_bottom = 0.0, -0.9375, 0.0, 0.0, -1.0, 0.0, 2
	//node_attach = 0.0, 0.0, -0.625, 0.0, 0.0, 1.0, 1
	attachRules = 1,0,1,1,1

	TechRequired = supersonicFlight
	entryCost = 32000
	cost = 1500
	category = Payload
	subcategory = 0
	title = #loc_APP_part_airramp_title
	manufacturer = #loc_APP_part_manufacturer
	description = #loc_APP_part_airramp_description
	bulkheadProfiles = size2, srf
	tags = aircraft airplane equipment freight hold hollow jet mk1 pipe plane tube payload

	mass = 0.2
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.3
	angularDrag = 2
	crashTolerance = 10
	breakingForce = 50
	breakingTorque = 50
	maxTemp = 2000 // = 3000
	fuelCrossFeed = True

	DRAG_CUBE
	{
		cube = A, 4.865,0.7701,1.345, 4.865,0.7701,1.345, 4.853,0.9716,0.1598, 4.853,0.9716,0.1598, 4.865,0.77,1.345, 4.865,0.77,1.345, -1.744E-06,3.876E-07,-2.422E-07, 2.5,1.9375,2.5 // half y lenth of autogenerated for size 2 liquid fuel tank
		cube = B, 4.865,0.7701,1.345, 4.865,0.85  ,1.5  , 5    ,1     ,0.3   , 5    ,1     ,0.3   , 5    ,0.8 ,1.4  , 5    ,0.8 ,1.4  , -1.744E-01,3.876E-07,-2.422E-07, 2.5,1.9375,2.6 // hand edited by neistridlar
	}

	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = airramp
		startEventGUIName = Close
		endEventGUIName = Open
		actionGUIName = Toggle Doors
		allowDeployLimit = true
		revClampDirection = false
		revClampSpeed = true
		revClampPercent = true
	}
//	MODULE
//	{	// Why this is here?
//		name = ModuleCargoBay
//		DeployModuleIndex = 0
//		closedPosition = 1
//		lookupRadius = 1.5
//		partTypeName = Ramp
//
//		nodeOuterForeID = top
//		nodeOuterAftID = bottom
//		nodeInnerForeID = top2
//		nodeInnerAftID = bottom2
//	}
//	MODULE
//	{
//		name = FlagDecal
//		textureQuadName = leftDecal
//	}
//	MODULE
//	{
//		name = FlagDecal
//		textureQuadName = rightDecal
//	}
	MODULE
	{
		name = FSmeshSwitch
		moduleID = 0
		buttonName = Next
		previousButtonName = Previous
		objectDisplayNames = No Ramp;Air Ramp
		objects = body2, body2collider, collider, doorholder, airbusdoorhinge, airbusdoor, airbusdoorcollider;body, body1collider, collider, door, doorcollider, hinge, mainstair, extender, extendercollider, tip, tipcollider, mainstaircollider
		updateSymmetry = true
	}
	MODULE
	{
		name = FStextureSwitch2
		moduleID = 1
		//showListButton = True
		nextButtonText = Next Paint
		prevButtonText = Previous Paint
		statusText = Current Paint
		textureRootFolder = AirplanePlus\Parts\Payload\
		textureNames = AirRamp\size2doortex1;AirRamp\size2doortex2
		objectNames = body;body2;door;airbusdoor
		textureDisplayNames = Standard;Striped
		switchableInFlight = false
		repaintableEVA = false
		debugMode = false
		showInfo = false
	}
}
