PART
{
//Basic
	name = O_docking_port_crew
	module = Part
	author = ClimberFX
	//mesh = O_docking_port_crew.mu
	MODEL
	{
		model = Omicron/Parts/O_docking_port_crew
	}
	rescaleFactor = 1.25
	tags = crew climberfx car docking port size1 omicron

//Node
	//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,1,1,1,0

	//nodes definition: Pos X, Pos Y, Pos Z, Up X, Up Y, Up Z, node size, crossfeed = 1 (true), rigid attach = 0 (false)
	node_stack_bottom = 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1
	node_attach = 0.0, 0.0, 0.0, 0.0, 0.0, -1.0, 1
	node_stack_top = 0.0, 0.0, -0.22, 0.0, 0.0, -1.0, 1

//Cost & RD
	TechRequired = advMetalworks
	entryCost = 0
	cost = 275

//Description
	category = Utility
	subcategory = 0
	title = Omicron Docking Port Crew
	manufacturer = ClimberFX
	description = This is a stand alone docking port size1, that can pass crew inside, done to be used with sotch and other mod parts. Use as you wish.
	
//Drag
	dragModelType = default
	maximum_drag = 0.1
	minimum_drag = 0.05
	angularDrag = 1

//Physical
	mass = 0.035
	crashTolerance = 25
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 2500
	fuelCrossFeed = True
	bulkheadProfiles = egg, srf, size1
//	PhysicsSignificance = 1

	emissiveConstant = 0.8
	heatConductivity = 0.45

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

	MODULE
	{
		name = ModuleDockingNode
		deployAnimationController = 1
		referenceAttachNode = top
		nodeType = size1
		controlTransformName = control_from_here_node
		nodeTransformName = docking_node
		staged = False
		stagingEnabled = False
	}

//Animation
	MODULE
	{
		name = FSanimateGeneric
		animationName = hatch_docking_port_alone
		animSpeed = 1
		startEventGUIName = Open Docking Hatch Doors
		endEventGUIName = Close Docking Hatch Doors
		toggleActionName = Toggle Docking Hatch Doors
		startDeployed = False
		availableInEVA = True
		availableInVessel = True
		EVArange = 5
		playAnimationOnEditorSpawn = False

		fullyRetractedEffect = closed_hatch
		fullyDeployedEffect = no_sound
		startDeployEffect = open_hatch
		startRetractEffect = close_hatch
		layer = 4
		moduleID = 4
	}

	MODULE
	{
		name = FSanimateGeneric
		animationName = docking_extend_alone
		animSpeed = 1
		startEventGUIName = Extend Docking port
		endEventGUIName = Retract Docking port
		toggleActionName = Toggle Docking Extensor
		startDeployed = False
		availableInEVA = True
		availableInVessel = True
		EVArange = 5
		playAnimationOnEditorSpawn = False

		fullyRetractedEffect = no_sound
		fullyDeployedEffect = no_sound
		startDeployEffect = extend_dock
		startRetractEffect = retract_dock
		layer = 5
		moduleID = 5
	}

//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
			}	
		}
		extend_dock
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/docking_port
			  volume = 0.0 0.0
			  volume = 1.0 2.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
		retract_dock
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/docking_port
			  volume = 0.0 0.0
			  volume = 1.0 2.0
			  pitch = 0.0 0.25
			  pitch = 1.0 0.75
			  loop = false
			}	
		}
		no_sound
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/empty
			  volume = 0.0 0.0
			  volume = 1.0 1.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
	}
}
