Difference between revisions of "Parts/Command/mk2CockpitStandard/mk2CockpitStandard.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 Cockpit|2=PART
 
{{Part config|Mk2 Cockpit|2=PART
 
{
 
{
 
+
name = mk2Cockpit_Standard
// --- general parameters ---
+
module = Part
name = mk2Cockpit_Standard
+
author = Porkjet
module = Part
+
mesh = model.mu
author = Porkjet
+
rescaleFactor = 1
 
+
node_stack_bottom = 0.0, -1.25, 0.0, 0.0, -1.0, 0.0, 1
// --- asset parameters ---
+
TechRequired = supersonicFlight
mesh = model.mu
+
entryCost = 20000
 
+
cost = 3500
rescaleFactor = 1
+
category = Pods
 
+
subcategory = 0
// --- node definitions ---
+
title = #autoLOC_500325 //#autoLOC_500325 = Mk2 Cockpit
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
node_stack_bottom = 0.0, -1.25, 0.0, 0.0, 1.0, 0.0, 1
+
description = #autoLOC_500326 //#autoLOC_500326 = Fits not one, but two Kerbals! This spearhead-shaped new Mk2 design from the lovable folks over at the C7 Aerospace Division should help you pierce the great blue yonder known as the Sky.
 
+
attachRules = 1,0,1,1,0
 
+
mass = 2.0
 
+
dragModelType = default
// --- editor parameters ---
+
maximum_drag = 0.1
TechRequired = supersonicFlight
+
minimum_drag = 0.1
entryCost = 20000
+
angularDrag = 2
cost = 3500
+
crashTolerance = 45
category = Pods
+
maxTemp = 1400
subcategory = 0
+
skinMaxTemp = 2500
title = Mk2 Cockpit
+
emissiveConstant = 0.8
manufacturer = C7 Aerospace Division
+
vesselType = Plane
description = Fits not one, but two Kerbals! This spearhead-shaped new Mk2 design from the lovable folks over at the C7 Aerospace Division should help you pierce the great blue yonder known as the Sky.  
+
CrewCapacity = 2
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
bulkheadProfiles = mk2
attachRules = 1,0,1,1,0
+
breakingForce = 50
 
+
breakingTorque = 50
// --- standard part parameters ---
+
tags = #autoLOC_500327 //#autoLOC_500327 = aero aircraft cmg command control ?eva fly gyro ?iva moment pilot plane react space stab steer torque
mass = 2.0
+
INTERNAL
dragModelType = override
+
{
maximum_drag = 0.1
+
name = mk2CockpitStandardInternals
minimum_drag = 0.1
+
}
angularDrag = 2
+
MODULE
crashTolerance = 45
+
{
maxTemp = 3400
+
name = ModuleCommand
 
+
minimumCrew = 1
vesselType = Ship
+
}
 
 
// --- internal setup ---
 
CrewCapacity = 2
 
 
 
INTERNAL
 
{
 
  name = mk2CockpitStandardInternals
 
}
 
 
 
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 = 15
 +
maxAmount = 15
 +
}
 +
MODULE
 +
{
 +
name = FlagDecal
 +
textureQuadName = FLAG
 +
}
 +
MODULE
 +
{
 +
name = ModuleLiftingSurface
 +
useInternalDragModel = False
 +
deflectionLiftCoeff = 0.6
 +
dragAtMaxAoA = 0.1
 +
dragAtMinAoA = 0.03
 
}
 
}
}
 
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 = 15
+
shaderProperty = _EmissiveColor
maxAmount = 15
+
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
 +
    }
 
}
 
}
MODULE
 
{
 
      name = FlagDecal
 
      textureQuadName = FLAG
 
}
 
MODULE
 
{
 
name = ModuleAnimateGeneric
 
animationName = CockpitStandardLight
 
actionGUIName = Toggle Lights
 
startEventGUIName = Lights On
 
endEventGUIName = Lights Off
 
}
 
MODULE
 
{
 
name = ModuleLiftingSurface
 
 
deflectionLiftCoeff = 0.6
 
dragAtMaxAoA = 0.1
 
dragAtMinAoA = 0.03
 
}
 
}
 
 
 
}}
 
}}

Latest revision as of 23:53, 4 October 2024

This is the configuration file for Mk2 Cockpit.
PART
{
	name = mk2Cockpit_Standard
	module = Part
	author = Porkjet
	mesh = model.mu
	rescaleFactor = 1
	node_stack_bottom = 0.0, -1.25, 0.0, 0.0, -1.0, 0.0, 1
	TechRequired = supersonicFlight
	entryCost = 20000
	cost = 3500
	category = Pods
	subcategory = 0
	title = #autoLOC_500325 //#autoLOC_500325 = Mk2 Cockpit
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500326 //#autoLOC_500326 = Fits not one, but two Kerbals! This spearhead-shaped new Mk2 design from the lovable folks over at the C7 Aerospace Division should help you pierce the great blue yonder known as the Sky.
	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_500327 //#autoLOC_500327 = aero aircraft cmg command control ?eva fly gyro ?iva moment pilot plane react space stab steer torque
	INTERNAL
	{
		name = mk2CockpitStandardInternals
	}
	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 = 15
		maxAmount = 15
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = FLAG
	}
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = False
		deflectionLiftCoeff = 0.6
		dragAtMaxAoA = 0.1
		dragAtMinAoA = 0.03
	}
	
	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
    }
}