PART
{
	// --- general parameters ---
	name = Eagle50CommandCJ
	module = Part
	author = MajorTom, ColdJ

	// --- asset parameters ---

	MODEL
	{
		model = Space199950/Parts/Eagle50Command
	}

	scale = 1
	rescaleFactor = 1

	// --- node definitions: Position X, Position Y, Position Z, Up X, Up Y, Up Z ---
	node_stack_bottom = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 3

	// --- editor parameters ---
	TechRequired = experimentalAerodynamics
	entryCost = 50000
	cost = 10000
	category = Pods
	subcategory = 0
	title = Eagle50 Command Module
	manufacturer = CJ Aeronautics
	description = Eagle50 Command Module.

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

	// --- standard part parameters ---
	mass = 5
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 200
	breakingForce = 3000
	breakingTorque = 3000
	maxTemp = 3500
	skinMaxTemp = 3700
	emissiveConstant = 0.9
	fuelCrossFeed = True
	vesselType = Ship
	CrewCapacity = 2
	bulkheadProfiles = size3,
	tags = eagle cockpit eagle50 cck-EG50
	
	// internals, resources, effects, modules

   	 INTERNAL

    	{

        	name = Eagle50IVA
    	}
	RESOURCE
	{
		name = MonoPropellant
		amount = 400
		maxAmount = 400
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 500
		maxAmount = 500
	}
	MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
	}
	MODULE
	{
		name = ModuleSAS
		SASServiceLevel = 3
	}
	MODULE
	{
		name = ModuleReactionWheel
		actionGUIName = Toggle Reaction Wheel
		PitchTorque = 100
		YawTorque = 100
		RollTorque = 100
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.24
		}
	}
	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
		usageReqMaskInternal = 5
		usageReqMaskExternal = -1
	}
	MODULE
	{
		name = ModuleScienceContainer
		reviewActionName = Review Stored Data
		storeActionName = Store Experiments
		evaOnlyStorage = True
		storageRange = 4.0
	}
	//MODULE
	{
		name = ModuleAnimateGeneric
		animationName = Command_lights
		actionGUIName = Toggle Lights
		defaultActionGroup = Light
		startEventGUIName = Lights On
		endEventGUIName = Lights Off
	}
	// Steering rockets (RCS)
	//EFFECTS
	{
		//running
		{
			AUDIO_MULTI_POOL
			{
				channel = Ship
				transformName = RCSthruster
				clip = sound_rocket_mini
				volume = 0.0 0.0
				volume = 0.1 0.0
				volume = 0.5 0.025
				volume = 1.0 0.1
				pitch = 0.0 0.75
				pitch = 1.0 1.5
				loop = true
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/Monoprop_small
				transformName = RCSthruster
				emission = 0.0 0.0
				emission = 0.1 0.0
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
				localRotation = -90, 0, 0
			}
		}		
	}
	//MODULE
	{
		name = ModuleRCSFX
		stagingEnabled = False
		thrusterTransformName = RCSthruster
		thrusterPower = 12
		resourceName = MonoPropellant
		resourceFlowMode = STAGE_PRIORITY_FLOW
		runningEffectName = running
		atmosphereCurve
		{
			key = 0 63700
			key = 1 63700
			key = 4 0.001
		}
	}
	MODULE
	{
		name = ModuleLight
		lightName = Spotlight
		lightMeshRendererName = Light
		useAnimationDim = True
		lightBrightenSpeed = 2.5
		lightDimSpeed = 2.5
		resourceAmount = 0.02
		//animationName = LandingGearMediumSpotlight
		useResources = True
	}
	MODULE
	{
		name = ModuleInventoryPart
		InventorySlots = 4
		packedVolumeLimit = 800
	}
}
