PART
{
//Basic
	name = O_back_ramp
	module = Part
	author = ClimberFX
	//mesh = O_back_ramp.mu
	MODEL
	{
		model = Omicron/Parts/O_back_ramp
	}
	rescaleFactor = 1.25
	tags = back egg climberfx car omicron end back ramp

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

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

//Description
	category = Structural
	subcategory = 0
	title = Omicron Back Ramp
	manufacturer = ClimberFX
	description = This is the back cover with a ramp to access cargo bay. Don't run.
	
//Drag
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.1
	angularDrag = 1

//Physical
	mass = 0.125
	//buoyancy = 0.375
	crashTolerance = 25
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 3500
	fuelCrossFeed = True
	bulkheadProfiles = egg, fuel, mk2, size1, size2, srf

	emissiveConstant = 0.7
	heatConductivity = 0.25

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

	MODULE
	{
    	name = FlagDecal
    	textureQuadName = flag
	}

	//Animation
	MODULE
	{
//		name = ModuleAnimateGeneric
//		animationName = back_ramp_anim
//		startEventGUIName = Open Back Ramp
//		endEventGUIName = Close Back Ramp
//		actionGUIName = Toggle Back Ramp
//		actionAvailable = True
//		layer = 1
		
		name = FSanimateGeneric
		animationName = back_ramp_anim
		animSpeed = 1.5
		startEventGUIName = Open Back Ramp
		endEventGUIName = Close Back Ramp
		toggleActionName = Toggle Back Ramp
		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
	}

	//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
			}	
		}
		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
			}	
		}
	}
}
