PART
{
//Basic
	name = O_cockpit_one
	module = Part
	author = ClimberFX
	MODEL
	{
		model = Omicron/Parts/O_cockpit_one
	}
	rescaleFactor = 1.25
	tags = crew egg climberfx car omicron cockpit command control cabine

//Node
	//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_bottom = 0, 0, 0, 0, -1, 0, 1
	node_stack_connect01 =  -0.405, 0.395, 0.228, 0, 0, 1.0, 0
	node_stack_connect02 =  0.405, 0.395, 0.228, 0, 0, 1.0, 0
	node_stack_connect03 =  0, 1.118, 0.12, 0, 1.0, 0, 0 
	node_stack_connect04 =  0, 0.075, -0.55, 0, 1.0, 0, 0 
	node_stack_connect05 =  0, 0.935, 0.091, 0, 0, 1.0, 0

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

//Description
	category = Pods
	subcategory = 0
	title = Omicron Cockpit One
	manufacturer = ClimberFX
	description = This is the cockpit for Omicron parts, with variant from closed to open back. Feel free to walk around before take off.
	
//Drag
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.1
	angularDrag = 1

//Physical
	mass = 0.55
	crashTolerance = 35
	breakingForce = 250
	breakingTorque = 250
	maxTemp = 3200
	fuelCrossFeed = True
	bulkheadProfiles = egg, seat, window, intake
	emissiveConstant = 0.9
	heatConductivity = 0.75
	radiatorHeadroom = 0.75
	thermalMassModifier = 2.5
	stagingIcon = COMMAND_POD
	vesselType = Ship

//Resources (Total Volume = 875.6 - 50% Struture + Systems = 437.8)

	RESOURCE
	{
		name = LiquidFuel
		amount = 197.01
		maxAmount = 197.01
	}
	
	RESOURCE
	{
		name = Oxidizer
		amount = 240.79
		maxAmount = 240.79
	}
	
	RESOURCE
	{
		name = ElectricCharge
		amount = 500.0
		maxAmount = 500.0
	}

	RESOURCE
	{
		name = MonoPropellant
		amount = 25
		maxAmount = 25
	}

//Modules
	MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
		hasHibernation = True
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.005
		}
	}

	MODULE
	{
		name = MuMechModuleHullCameraZoom
		cameraName = Omicron Cockpit Camera
		cameraForward = 0, 1, 0.35
		cameraUp = 0, 0, -1
		cameraPosition = 0, 0.35, -0.40
		cameraFoVMax = 77
		cameraFoVMin = 77
		cameraMode = 0
		cameraClip = 0.1
	}

//	MODULE
//	{
//		name = ModuleDockingNode
//		nodeType = none
//		controlTransformName = //precisa criar um null de posição da camera
//		staged = False
//		stagingEnabled = False
//		canRotate = False
//		RESOURCE
//		{
//			name = ElectricCharge
//			rate = 0.01
//		}
//		rotationAxis = Y
//	}

	MODULE
	{
		name = ModuleKerbNetAccess
		MinimumFoV = 12
		MaximumFoV = 73
		AnomalyDetection = 0.18
		DISPLAY_MODES
		{
			Mode = Terrain
		}
	}

	MODULE
	{
		name = ModuleDataTransmitter
		antennaType = INTERNAL
		packetInterval = 1.0
		packetSize = 2
		packetResourceCost = 12.0
		requiredResource = ElectricCharge
		antennaPower = 5000
		optimumRange = 2500
		packetFloor = .1
		packetCeiling = 5
	}

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

    MODULE
    {
		name = ModuleScienceExperiment
		experimentID = crewReport
		experimentActionName = Crew Report
		resetActionName = Discard Crew Report
		reviewActionName = Review Report
		useStaging = False
		useActionGroups = True
		hideUIwhenUnavailable = True
		rerunnable = True
		xmitDataScalar = 1.0
	}

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

	//Animation
	MODULE
	{
		name = FSanimateGeneric
		animationName = hatch_cockpit
		animSpeed = 1
		startEventGUIName = Open Hatch Doors
		endEventGUIName = Close Hatch Doors
		toggleActionName = Toggle 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
			}	
		}
	}
}