PART
{
//Basic
	name = O_wall_hatch
	module = Part
	author = ClimberFX
	//mesh = O_wall_hatch.mu
	MODEL
	{
		model = Omicron/Parts/O_wall_hatch
	}
	rescaleFactor = 1.25
	tags = egg climberfx car omicron wall hatch

//Node
	//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,0,1,1,0
	node_stack_top = 0.0, 0.04, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_bottom = 0.0, -0.04, 0.0, 0.0, -1.0, 0.0, 1

//Cost & RD
	TechRequired = composites
	entryCost = 0
	cost = 550

//Description
	category = Structural
	subcategory = 0
	title = Omicron Wall Hatch
	manufacturer = ClimberFX
	description = This is hatched wall part. Normaly used on one side of a cargo bay, close to crew part.
	
//Drag
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.1
	angularDrag = 1

//Physical
	mass = 0.05
	crashTolerance = 7
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 3500
	fuelCrossFeed = True
	bulkheadProfiles = egg
	emissiveConstant = 0.7
	heatConductivity = 0.25

//Resources
	RESOURCE
	{
		name = ElectricCharge
		amount = 100
		maxAmount = 100.0
	}	

//Modules
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = False
		deflectionLiftCoeff = 0.25
		dragAtMaxAoA = 0.1
		dragAtMinAoA = 0.05
	}

	MODULE
    {
        name = ModuleConnectedLivingSpace
        passable = true
        surfaceAttachmentsPassable = true
    }

	MODULE
	{
		name = FSanimateGeneric
		animationName = hatch_wall
		animSpeed = 1
		startEventGUIName = Open Wall Hatch Doors
		endEventGUIName = Close Wall Hatch Doors
		toggleActionName = Toggle Wall Hatch Doors
		startDeployed = False
		availableInEVA = True
		availableInVessel = True
		EVArange = 5
		playAnimationOnEditorSpawn = False
		fullyRetractedEffect = closed_hatch
		fullyDeployedEffect = 
		startDeployEffect = open_hatch
		startRetractEffect = close_hatch
		layer = 0
		moduleID = 0
	}

//Effects
	EFFECTS
	{
		open_hatch
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/hatch_open
			  volume = 0.0 0.0
			  volume = 1.0 1.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
		close_hatch
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/hatch_close
			  volume = 0.0 0.0
			  volume = 1.0 1.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
		closed_hatch
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/hatch_closed
			  volume = 0.0 0.0
			  volume = 1.0 2.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
	}
}
