PART
{
	// --- general parameters ---
	name = OctoSat_Sc_TopDish
	module = Part
	author = Nookos
	
	// --- Model ---
	
	MODEL
	{
		model = NSS/Parts/OctoSat_Sc_TopDish
	}
	// --- asset parameters ---
	scale = 1
	rescaleFactor = 1

	// --- node definitions ---
	node_stack_bottom = 0, 0, 0, 0, -1, 0, 0
	node_stack_top = 0.0, 0.3446, 0.0, 0, 1, 0, 0

	// --- editor parameters ---
	TechRequired = advUnmanned
	entryCost = 9000
	cost = 2300
	category = Communication
	subcategory = 0
	title = OctoSat Gargantuan Dish
	manufacturer = NSS
	description = A 4.6m (15 feet) dish to keep in touch with mission control wherever you go. Comes with two integrated tanks to be filled with whatever you fancy.
	// --- attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision ---
	attachRules = 1,0,1,0,0


	// --- standard part parameters ---
	mass = 0.1
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 9
	maxTemp = 1800

	bulkheadProfiles = srf,size0
	tags = octosat aerial antenna deploy direct dish extend fold radio signal transmi fueltank ?lfo liquid oxidizer propellant xenon mono
	// --- resources ---

	// --- Modules ---
	MODULE
	{
		name = ModuleDeployableAntenna
		showStatus = false
		isTracking = false
		pivotName = Rescalar
		windResistance = 1		
		animationName = Deploy
	}	
	//MODULE
	//{
	//	name = ModuleAnimateGeneric
	//	animationName = Deploy
	//	isOneShot = false
	//	startEventGUIName = Extend
	//	endEventGUIName = Retract
	//	actionGUIName = Toggle Antenna
	//	allowAnimationWhileShielded = False
	//}
	//MODULE
	//{
	//	name = ModuleDataTransmitter
	//	antennaType = DIRECT
	//	packetInterval = 0.03
	//	packetSize = 2
	//	packetResourceCost = 50
	//	requiredResource = ElectricCharge
	//	DeployFxModules = 0
	//	antennaPower = 125000000000
	//	ProgressFxModules = 1
	//	antennaCombinable = True
	//}
	MODULE
	{
		name = SelectableDataTransmitter

		defaultAntennaType = DIRECT
		reconfigTime = 15 // seconds

		ANTENNATYPE
		{
			antennaType = DIRECT
			packetInterval = 0.10
			packetSize = 2
			packetResourceCost = 25
			requiredResource = ElectricCharge
			DeployFxModules = 0
			antennaPower = 125000000000
			ProgressFxModules = 1
			antennaCombinable = True
		}
		ANTENNATYPE
		{
			antennaType = RELAY
			packetInterval = 0.35
			packetSize = 4
			packetResourceCost = 50
			requiredResource = ElectricCharge
			DeployFxModules = 0
			antennaPower = 125000000000
			ProgressFxModules = 1
			antennaCombinable = True
		}

	}
	MODULE
	{
		name = ModuleJettison
		jettisonName = OP_TD_FairingA
		bottomNodeName = top
		isFairing = True
		jettisonedObjectMass = 0.02
		jettisonForce = 5
		jettisonDirection = 0 0 1
	}
	MODULE
	{
		name = ModuleJettison
		jettisonName = OP_TD_FairingB
		bottomNodeName = top
		isFairing = True
		jettisonedObjectMass = 0.02
		jettisonForce = 5
		jettisonDirection = 1 0 0
	}
	MODULE
	{
		name = ModuleJettison
		jettisonName = OP_TD_FairingC
		bottomNodeName = top
		isFairing = True
		jettisonedObjectMass = 0.02
		jettisonForce = 5
		jettisonDirection = 0 1 0
	}
	MODULE
	{
		name = ModuleJettison
		jettisonName = OP_TD_FairingD
		bottomNodeName = top
		isFairing = True
		jettisonedObjectMass = 0.02
		jettisonForce = 5
		jettisonDirection = 0,0,1
	}
	MODULE
	{
		name = ModuleJettison
		jettisonName = OP_TD_FairingE
		bottomNodeName = top
		isFairing = True
		jettisonedObjectMass = 0.02
		jettisonForce = 5
		jettisonDirection = 0,1,0
	}
	MODULE
	{
		name = ModuleJettison
		jettisonName = OP_TD_FairingF
		bottomNodeName = top
		isFairing = True
		jettisonedObjectMass = 0.02
		jettisonForce = 5
		jettisonDirection = 0 0 1
	}
	MODULE
	{
		name = ModuleJettison
		jettisonName = OP_TD_FairingG
		bottomNodeName = top
		isFairing = True
		jettisonedObjectMass = 0.02
		jettisonForce = 5
		jettisonDirection = 1 0 0
	}
	MODULE
	{
		name = ModuleJettison
		jettisonName = OP_TD_FairingH
		bottomNodeName = top
		isFairing = True
		jettisonedObjectMass = 0.02
		jettisonForce = 5
		jettisonDirection = 0 1 0
	}
	MODULE
	{
		name = FXModuleLookAtConstraint
		CONSTRAINLOOKFX
		{
			targetName = Cylinder011
			rotatorsName = OP_TD_PistonBottom002
		}
		CONSTRAINLOOKFX
		{
			targetName = Cylinder001
			rotatorsName = OP_TD_PistonTop002
		}
		CONSTRAINLOOKFX
		{
			targetName = Cylinder003
			rotatorsName = OP_TD_PistonBottom003
		}
		CONSTRAINLOOKFX
		{
			targetName = Cylinder004
			rotatorsName = OP_TD_PistonTop003
		}
		CONSTRAINLOOKFX
		{
			targetName = Cylinder006
			rotatorsName = OP_TD_PistonTop
		}
		CONSTRAINLOOKFX
		{
			targetName = Cylinder009
			rotatorsName = OP_TD_PistonBottom
		}
		CONSTRAINLOOKFX
		{
			targetName = Cylinder010
			rotatorsName = OP_TD_PistonBottom001
		}
		CONSTRAINLOOKFX
		{
			targetName = Cylinder008
			rotatorsName = OP_TD_PistonTop001
		}
	}
	MODULE
	{
		name = FSfuelSwitch
		resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer;XenonGas;MonoPropellant;ElectricCharge
		resourceAmounts = 20,26;42;50;660;60;500
		initialResourceAmounts = 20,26;42;50;660;60;500
		basePartMass = 0.02
		tankMass = 0.0;0.0;0.0;0.0;0.0;0.0
		tankCost = 0.0;0.0;0.0;0.0;0.0;0.0
		displayCurrentTankCost = false
		hasGUI = true
		availableInFlight = false
		availableInEditor = true
		showInfo = true
	}
}
