PART
{
//Basic
	name = O_cockpit_window_A
	module = Part
	author = ClimberFX
	//mesh = O_cockpit_window_A.mu
	MODEL
	{
		model = Omicron/Parts/O_cockpit_window_A
	}
	rescaleFactor = 1.25
	tags = egg climberfx car omicron cockpit window glass

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


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

//Description
	category = Utility
	subcategory = 0
	title = Omicron Cockpit Window A
	manufacturer = ClimberFX
	description = This is the cockpit window A. Safe use to protect Kerbals from Flies and Fires.
	
//Drag
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.1
	angularDrag = .5

//Physical
	mass = 0.035
	//buoyancy = 0.375
	crashTolerance = 25
	breakingForce = 250
	breakingTorque = 250
	maxTemp = 3500
	fuelCrossFeed = False
	bulkheadProfiles = window

//Modules
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = False
		deflectionLiftCoeff = 0.25
		dragAtMaxAoA = 0.1
		dragAtMinAoA = 0.05
	}
	
	MODULE:NEEDS[TextureReplacer]
	{
	    name = TRReflection
//	    shader = Reflective/Bumped Diffuse
	    colour = 0.75 0.75 0.75
	    interval = 1
	    meshes = vidro
	}

	MODULE
	{
//		name = ModuleAnimateGeneric
//		animationName = cockpit_glass_anim_A
//		startEventGUIName = Open Cockpit Window
//		endEventGUIName = Close Cockpit Window
//		actionGUIName = Toggle Cockpit Window
//		actionAvailable = True
		
		name = FSanimateGeneric
		animationName = cockpit_glass_anim_A
		animSpeed = 1
		startEventGUIName = Open Cockpit Window
		endEventGUIName = Close Cockpit Window
		toggleActionName = Toggle Cockpit Window
		startDeployed = False
		availableInEVA = True
		availableInVessel = True
		EVArange = 5
		playAnimationOnEditorSpawn = False

		fullyRetractedEffect = closed_window
		fullyDeployedEffect = 
		startDeployEffect = open_window
		startRetractEffect = close_window
		layer = 0
		moduleID = 0
	}


//Effects
	EFFECTS
	{
		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
			}	
		}
	}
}
