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

	MODEL
	{
		model = AirplanePlus/Parts/Payload/Mk1Door/model
	}
	rescaleFactor = 1

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

	TechRequired = generalConstruction
	entryCost = 32000
	cost = 750
	category = Payload
	subcategory = 0
	title = #loc_APP_part_mk1cargodoor_title
	manufacturer = #loc_APP_part_manufacturer
	description = #loc_APP_part_mk1cargodoor_description
	bulkheadProfiles = size1, srf
	tags = aircraft airplane equipment freight hold hollow jet mk1 pipe plane tube payload

	mass = 0.15
	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, 2.418281,0.7749683,0.6994118, 2.418281,0.7749683,0.6994118, 1.213026,0.9717144,0.1341177, 1.213026,0.9717144,0.1341177, 2.418281,0.7723047,0.6994124, 2.418281,0.7723256,0.6994124, 0,0,0, 1.25,1.937501,1.250001 // by squad for structural fuselage
		cube = B, 2.5,     0.8      ,0.8      , 2.5,     0.8      ,0.8      , 1.3     ,0.9717144,0.1341177, 1.3     ,0.9717144,0.1341177, 2.6     ,0.9      ,0.8      , 2.6     ,0.9      ,0.8      , 0,1.8,0, 1.25,2.7   ,1.250001 // Handedited by neistridlar
	}

	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = openbay
		startEventGUIName = Close
		endEventGUIName = Open
		actionGUIName = Toggle Doors
		allowDeployLimit = true
		revClampDirection = false
		revClampSpeed = true
		revClampPercent = true
	}
	MODULE
	{
		name = ModuleCargoBay
		DeployModuleIndex = 0
		closedPosition = 1
		lookupRadius = 1.5
		partTypeName = Cargo bay

		nodeOuterForeID = top
		nodeOuterAftID = bottom
		nodeInnerForeID = top2
		nodeInnerAftID = bottom2
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = leftDecal
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = rightDecal
	}
}
