Difference between revisions of "Parts/Command/mk2CockpitInline/mk2CockpitInline.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.90.0;)
m (updated)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Part config|Mk2 Inline Cockpit|2=PART
 
{{Part config|Mk2 Inline Cockpit|2=PART
 
{
 
{
 
+
name = mk2Cockpit_Inline
// --- general parameters ---
+
module = Part
name = mk2Cockpit_Inline
+
author = Porkjet
module = Part
+
mesh = model.mu
author = Porkjet
+
rescaleFactor = 1
 
+
node_stack_top = 0.0, 1.25, 0.0, 0.0, 1.0, 0.0, 1
// --- asset parameters ---
+
node_stack_bottom = 0.0, -1.25, 0.0, 0.0, -1.0, 0.0, 1
mesh = model.mu
+
TechRequired = highAltitudeFlight
rescaleFactor = 1
+
entryCost = 20000
 
+
cost = 3500
// --- node definitions ---
+
category = Pods
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
subcategory = 0
node_stack_top = 0.0, 1.25, 0.0, 0.0, 1.0, 0.0, 1
+
title = #autoLOC_500322 //#autoLOC_500322 = Mk2 Inline Cockpit
node_stack_bottom = 0.0, -1.25, 0.0, 0.0, 1.0, 0.0
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
 
+
description = #autoLOC_500323 //#autoLOC_500323 = After 'accidentally' snapping the nose off of the Mk2 Cockpit, the engineers over at the C7 Aerospace Division realised that such a design looked quite functional. They quickly hammered out the following part and spruced it up for all your inline spaceplane cockpit needs!
 
+
attachRules = 1,0,1,1,0
 
+
mass = 2.0
// --- editor parameters ---
+
dragModelType = default
TechRequired = highAltitudeFlight
+
maximum_drag = 0.1
entryCost = 20000
+
minimum_drag = 0.1
cost = 3500
+
angularDrag = 2
category = Pods
+
crashTolerance = 45
subcategory = 0
+
maxTemp = 1400
title = Mk2 Inline Cockpit
+
skinMaxTemp = 2500
manufacturer = C7 Aerospace Division
+
emissiveConstant = 0.8
description = After 'accidentally' snapping the nose off of the Mk2 Cockpit, the engineers over at the C7 Aerospace Division realised that such a design looked quite functional. They quickly hammered out the following part and spruced it up for all your inline spaceplane cockpit needs!
+
vesselType = Plane
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
CrewCapacity = 2
attachRules = 1,0,1,1,0
+
bulkheadProfiles = mk2
 
+
breakingForce = 50
// --- standard part parameters ---
+
breakingTorque = 50
mass = 2.0
+
tags = #autoLOC_500324 //#autoLOC_500324 = aero aircraft cmg command control ?eva fly gyro ?iva moment pilot plane react space stab steer torque
dragModelType = override
+
INTERNAL
maximum_drag = 0.1
+
{
minimum_drag = 0.1
+
name = mk2InlineInternal
angularDrag = 2
+
}
crashTolerance = 45
+
MODULE
maxTemp = 3400
+
{
 
+
name = ModuleCommand
 
+
minimumCrew = 1
vesselType = Ship
+
}
 
 
// --- internal setup ---
 
CrewCapacity = 2
 
 
 
INTERNAL
 
{
 
  name = mk2CockpitStandardInternals
 
  offset = 0.0, 0.5, 0.0
 
}
 
 
 
MODULE
 
{
 
name = ModuleCommand
 
minimumCrew = 1
 
}
 
 
 
RESOURCE
 
{
 
name = ElectricCharge
 
amount = 150
 
maxAmount = 150
 
}
 
 
 
MODULE
 
{
 
name = ModuleReactionWheel
 
 
 
actionGUIName = Toggle RW
 
 
 
PitchTorque = 15
 
YawTorque = 15
 
RollTorque = 15
 
 
 
RESOURCE
 
RESOURCE
 
{
 
{
 
name = ElectricCharge
 
name = ElectricCharge
rate = 0.5
+
amount = 150
 +
maxAmount = 150
 +
}
 +
MODULE
 +
{
 +
name = ModuleReactionWheel
 +
actionGUIName = #autoLOC_502014 //#autoLOC_502014 = Toggle RW
 +
PitchTorque = 15
 +
YawTorque = 15
 +
RollTorque = 15
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 0.5
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleScienceExperiment
 +
experimentID = crewReport
 +
experimentActionName = #autoLOC_502009 //#autoLOC_502009 = Crew Report
 +
resetActionName = #autoLOC_502010 //#autoLOC_502010 = Discard Crew Report
 +
reviewActionName = #autoLOC_502200 //#autoLOC_502200 = Review Report
 +
useStaging = False
 +
useActionGroups = True
 +
hideUIwhenUnavailable = True
 +
rerunnable = True
 +
xmitDataScalar = 1.0
 +
usageReqMaskInternal = 5
 +
usageReqMaskExternal = -1
 +
}
 +
MODULE
 +
{
 +
name = ModuleScienceContainer
 +
reviewActionName = #autoLOC_502201 //#autoLOC_502201 = Review Stored Data
 +
storeActionName = #autoLOC_502202 //#autoLOC_502202 = Store Experiments
 +
evaOnlyStorage = True
 +
storageRange = 3.0
 +
}
 +
RESOURCE
 +
{
 +
name = MonoPropellant
 +
amount = 25
 +
maxAmount = 25
 +
}
 +
MODULE
 +
{
 +
name = FlagDecal
 +
textureQuadName = FLAG
 +
}
 +
MODULE
 +
{
 +
name = ModuleLiftingSurface
 +
useInternalDragModel = False
 +
deflectionLiftCoeff = 0.47
 +
dragAtMaxAoA = 0.4
 +
dragAtMinAoA = 0.1
 
}
 
}
}
 
MODULE
 
{
 
name = ModuleScienceExperiment
 
 
 
experimentID = crewReport
+
MODULE
+
{
experimentActionName = Crew Report
+
name = ModuleDataTransmitter
resetActionName = Discard Crew Report
+
antennaType = INTERNAL
reviewActionName = Review Report
+
packetInterval = 1.0
+
packetSize = 2
useStaging = False
+
packetResourceCost = 12.0
useActionGroups = True
+
requiredResource = ElectricCharge
hideUIwhenUnavailable = True
+
antennaPower = 5000
rerunnable = True
+
optimumRange = 2500
+
packetFloor = .1
xmitDataScalar = 1.0
+
packetCeiling = 5
}
+
}
MODULE
 
{
 
name = ModuleScienceContainer
 
 
reviewActionName = Review Stored Data
 
storeActionName = Store Experiments
 
evaOnlyStorage = True
 
storageRange = 3.0
 
}
 
  
RESOURCE
+
MODULE
{
+
{
name = MonoPropellant
+
name = ModuleColorChanger
amount = 25
+
shaderProperty = _EmissiveColor
maxAmount = 25
+
animRate = 0.8
}
+
animState = false
MODULE
+
useRate = true
{
+
toggleInEditor = true
name = FlagDecal
+
toggleInFlight = true
textureQuadName = FLAG
+
toggleInFlight = true
}
+
unfocusedRange = 5
MODULE
+
toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
{
+
eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
name = ModuleAnimateGeneric
+
eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
animationName = CockpitInlineLight
+
toggleAction = True
actionGUIName = Toggle Lights
+
defaultActionGroup = Light
startEventGUIName = Lights On
+
redCurve
endEventGUIName = Lights Off
+
{
}
+
key = 0 0 0 3
 
+
key = 1 1 0 0
MODULE
+
}
{
+
greenCurve
name = ModuleLiftingSurface
+
{
 +
key = 0 0 0 1
 +
key = 1 1 1 0
 +
}
 +
blueCurve
 +
{
 +
key = 0 0 0 0
 +
key = 1 0.7 1.5 0
 +
}
 +
alphaCurve
 +
{
 +
key = 0 1
 +
}
 +
}
 
 
deflectionLiftCoeff = 0.4
+
    MODULE
dragAtMaxAoA = 0.4
+
{
dragAtMinAoA = 0.1
+
name = ModuleCargoPart
 +
stackableQuantity = 1
 +
packedVolume = -1
 +
}
 +
MODULE
 +
    {
 +
        name = ModuleInventoryPart
 +
        InventorySlots = 2
 +
        packedVolumeLimit = 150
 +
    }
 
}
 
}
 
}
 
 
 
}}
 
}}

Latest revision as of 14:19, 4 October 2024

This is the configuration file for Mk2 Inline Cockpit.
PART
{
	name = mk2Cockpit_Inline
	module = Part
	author = Porkjet
	mesh = model.mu
	rescaleFactor = 1
	node_stack_top = 0.0, 1.25, 0.0, 0.0, 1.0, 0.0, 1
	node_stack_bottom = 0.0, -1.25, 0.0, 0.0, -1.0, 0.0, 1
	TechRequired = highAltitudeFlight
	entryCost = 20000
	cost = 3500
	category = Pods
	subcategory = 0
	title = #autoLOC_500322 //#autoLOC_500322 = Mk2 Inline Cockpit
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500323 //#autoLOC_500323 = After 'accidentally' snapping the nose off of the Mk2 Cockpit, the engineers over at the C7 Aerospace Division realised that such a design looked quite functional. They quickly hammered out the following part and spruced it up for all your inline spaceplane cockpit needs!
	attachRules = 1,0,1,1,0
	mass = 2.0
	dragModelType = default
	maximum_drag = 0.1
	minimum_drag = 0.1
	angularDrag = 2
	crashTolerance = 45
	maxTemp = 1400
	skinMaxTemp = 2500
	emissiveConstant = 0.8
	vesselType = Plane
	CrewCapacity = 2
	bulkheadProfiles = mk2
	breakingForce = 50
	breakingTorque = 50
	tags = #autoLOC_500324 //#autoLOC_500324 = aero aircraft cmg command control ?eva fly gyro ?iva moment pilot plane react space stab steer torque
	INTERNAL
	{
		name = mk2InlineInternal
	}
	MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 150
		maxAmount = 150
	}
	MODULE
	{
		name = ModuleReactionWheel
		actionGUIName = #autoLOC_502014 //#autoLOC_502014 = Toggle RW
		PitchTorque = 15
		YawTorque = 15
		RollTorque = 15
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.5
		}
	}
	MODULE
	{
		name = ModuleScienceExperiment
		experimentID = crewReport
		experimentActionName = #autoLOC_502009 //#autoLOC_502009 = Crew Report
		resetActionName = #autoLOC_502010 //#autoLOC_502010 = Discard Crew Report
		reviewActionName = #autoLOC_502200 //#autoLOC_502200 = Review Report
		useStaging = False
		useActionGroups = True
		hideUIwhenUnavailable = True
		rerunnable = True
		xmitDataScalar = 1.0
		usageReqMaskInternal = 5
		usageReqMaskExternal = -1
	}
	MODULE
	{
		name = ModuleScienceContainer
		reviewActionName = #autoLOC_502201 //#autoLOC_502201 = Review Stored Data
		storeActionName = #autoLOC_502202 //#autoLOC_502202 = Store Experiments
		evaOnlyStorage = True
		storageRange = 3.0
	}
	RESOURCE
	{
		name = MonoPropellant
		amount = 25
		maxAmount = 25
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = FLAG
	}
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = False
		deflectionLiftCoeff = 0.47
		dragAtMaxAoA = 0.4
		dragAtMinAoA = 0.1
	}
	
		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 = ModuleColorChanger
		shaderProperty = _EmissiveColor
		animRate = 0.8
		animState = false
		useRate = true
		toggleInEditor = true
		toggleInFlight = true
		toggleInFlight = true
		unfocusedRange = 5
		toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
		eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
		eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
		toggleAction = True
		defaultActionGroup = Light
		redCurve
		{
			key = 0 0 0 3
			key = 1 1 0 0
		}
		greenCurve
		{
			key = 0 0 0 1
			key = 1 1 1 0
		}
		blueCurve
		{
			key = 0 0 0 0
			key = 1 0.7 1.5 0
		}
		alphaCurve
		{
			key = 0 1
		}
	}	
	
    MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
	MODULE
    {
        name = ModuleInventoryPart
        InventorySlots = 2
        packedVolumeLimit = 150
    }
}