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

//Nodes
	//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,0,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_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_bottom = 0.0, -0.75, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_connect01 =  -0.48, 0.18, 0.3, 0.0, 0.0, 1.0, 0
	node_stack_connect02 =  0.48, 0.18, 0.3, 0.0, 0.0, 1.0, 0
	node_stack_connect03 =  -0.48, -0.39, 0.3, 0.0, 0.0, 1.0, 0
	node_stack_connect04 =  0.48, -0.39, 0.3, 0.0, 0.0, 1.0, 0
	node_stack_connect05 = 0, 0, -0.74, 0, 0, -1.0, 1

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

//Description
	category = Utility
	subcategory = 0
	title = Omicron Crew Module Two
	manufacturer = ClimberFX
	description = This is Crew Module of Egg Type, Model Two, with windows plus a top docking port. There are two other variants of this model, Crew One (Windows without Docking port) and Crew Three (Convertible). Kerbals go wild on this third one.
	
//Drag
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.1
	angularDrag = 1

//Physical
	mass = 0.8
	//buoyancy = 0.375
	crashTolerance = 25
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 3200
	fuelCrossFeed = True
	bulkheadProfiles = egg, seat, docking
	emissiveConstant = 0.9
	heatConductivity = 0.75
	radiatorHeadroom = 0.75
	thermalMassModifier = 2.5

//Resources (Total Volume = 1000 - 40% Struture = 600)
	RESOURCE
	{
		name = ElectricCharge
		amount = 500
		maxAmount = 500
	}
	RESOURCE
	{
		name = LiquidFuel
		amount = 270
		maxAmount = 270
	}
	
	RESOURCE
	{
		name = Oxidizer
		amount = 330
		maxAmount = 330
	}

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

	MODULE
	{
		name = ModuleScienceContainer
		reviewActionName = Review Stored Data
		storeActionName = Store Experiments
		evaOnlyStorage = True
		storageRange = 4.0
	}
    MODULE
    {
        name = ModuleConnectedLivingSpace
        passable = true
        surfaceAttachmentsPassable = true
    }

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


//Animation
	MODULE
	{
		name = FSanimateGeneric
		animationName = window_left
		animSpeed = 1
		startEventGUIName = Open Left Window
		endEventGUIName = Close Left Window
		toggleActionName = Toggle Left Window
		startDeployed = False
		availableInEVA = True
		availableInVessel = True
		EVArange = 5
		playAnimationOnEditorSpawn = False
		fullyRetractedEffect = closed_window
		fullyDeployedEffect = no_sound
		startDeployEffect = open_window
		startRetractEffect = close_window
		layer = 0
		moduleID = 0
	}
	
	MODULE
	{
		name = FSanimateGeneric
		animationName = window_right
		animSpeed = 1
		startEventGUIName = Open Right Window
		endEventGUIName = Close Right Window
		toggleActionName = Toggle Right Window
		startDeployed = False
		availableInEVA = True
		availableInVessel = True
		EVArange = 5
		playAnimationOnEditorSpawn = False
		fullyRetractedEffect = closed_window
		fullyDeployedEffect = no_sound
		startDeployEffect = open_window
		startRetractEffect = close_window
		layer = 1
		moduleID = 1
	}

	MODULE
	{
		name = FSanimateGeneric
		animationName = hatch_front
		animSpeed = 1
		startEventGUIName = Open Front Hatch Doors
		endEventGUIName = Close Front Hatch Doors
		toggleActionName = Toggle Front 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 = 2
		moduleID = 2
	}

	MODULE
	{
		name = FSanimateGeneric
		animationName = hatch_back
		animSpeed = 1
		startEventGUIName = Open Back Hatch Doors
		endEventGUIName = Close Back Hatch Doors
		toggleActionName = Toggle Back 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 = 3
		moduleID = 3
	}

	MODULE
	{
		name = FSanimateGeneric
		animationName = hatch_docking_port
		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
		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
			}	
		}
		open_window
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/window_open
			  volume = 0.0 0.0
			  volume = 1.0 2.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
		close_window
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/window_close
			  volume = 0.0 0.0
			  volume = 1.0 2.0
			  pitch = 0.0 0.5
			  pitch = 1.0 1.0
			  loop = false
			}	
		}
		closed_window
		{
			AUDIO
			{
			  channel = Ship
			  clip = Omicron/Sounds/window_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
			}	
		}
	}
}
