Difference between revisions of "Parts/Command/Mk1-2Pod/mk1-2CommandPod.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<pre> PART { // this is a sample config file, for determining a good file format for defining part parameters // comment line - ignored by cfg parser // empty lines, or lines ...")
 
m (Update to 1.4)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Mk1-2 Command Pod|2=PART
PART
 
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = Mark1-2Pod
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = C. Jenkins
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
mesh = model.mu
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
scale = 1
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
rescaleFactor = 1
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
node_stack_bottom = 0.0, -0.47924, 0.0, 0.0, -1.0, 0.0, 2
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
node_stack_top = 0.0, 1.19319, 0.0, 0.0, 1.0, 0.0, 1
// This is done automatically, so any public variable defined in the loaded module can be accessed this way (provided it's value can be parsed)
+
CoPOffset = 0.0, 0.6, 0.0
 +
CenterOfBuoyancy = 0.0, 0.8, 0.0
 +
CenterOfDisplacement = 0.0, -0.3, 0.0
 +
buoyancyUseSine = False
 +
buoyancy = 1.1
 +
CoLOffset = 0.0, -0.45, 0.0
 +
TechRequired = commandModules
 +
TechHidden = True
 +
entryCost = 7600
 +
cost = 3800
 +
category = none
 +
subcategory = 0
 +
title = #autoLOC_500304 //#autoLOC_500304 = Mk1-2 Command Pod
 +
manufacturer = #autoLOC_501630 //#autoLOC_501630 = Kerlington Model Rockets and Paper Products Inc
 +
description = #autoLOC_500305 //#autoLOC_500305 = This modern cockpit is designed to be fully re-useable. Its spacious cabin can hold a maximum of 3 crew.
 +
attachRules = 1,0,1,1,0
 +
mass = 4
 +
 +
dragModelType = default
 +
maximum_drag = 0.20
 +
minimum_drag = 0.15
 +
angularDrag = 2
 +
crashTolerance = 45
 +
bodyLiftOnlyUnattachedLift = True
 +
bodyLiftOnlyAttachName = bottom
 +
 +
maxTemp = 1400
 +
skinMaxTemp = 2400
 +
 +
vesselType = Ship
 +
CrewCapacity = 3
 +
bulkheadProfiles = size2, size1
 +
tags = #autoLOC_500306 //#autoLOC_500306 = capsule cmg control ?eva fly gyro ?iva moment pilot react rocket space stab steer torque
 +
INTERNAL
 +
{
 +
name = PodCockpit
 +
}
 +
MODULE
 +
{
 +
name = ModuleCommand
 +
minimumCrew = 1
 +
}
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
amount = 150
 +
maxAmount = 150
 +
}
 +
MODULE
 +
{
 +
name = ModuleReactionWheel
 +
PitchTorque = 15
 +
YawTorque = 15
 +
RollTorque = 15
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 1.2
 +
}
 +
}
 +
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 = 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 = 2.0
 +
}
 +
RESOURCE
 +
{
 +
name = MonoPropellant
 +
amount = 30
 +
maxAmount = 30
 +
}
 +
MODULE
 +
{
 +
name = FlagDecal
 +
textureQuadName = flagTransform
 +
}
 +
MODULE
 +
{
 +
name = ModuleConductionMultiplier
 +
modifiedConductionFactor = 0.003
 +
convectionFluxThreshold = 3000
 +
}
  
 
+
MODULE
// --- general parameters ---
+
{
name = Mark1-2Pod
+
name = ModuleDataTransmitter
module = CommandPod
+
antennaType = INTERNAL
author = C. Jenkins
+
packetInterval = 1.0
 
+
packetSize = 2
// --- asset parameters ---
+
packetResourceCost = 12.0
mesh = model.mu
+
requiredResource = ElectricCharge
scale = 1
+
antennaPower = 5000
rescaleFactor = 1
+
optimumRange = 2500
 
+
packetFloor = .1
// --- node definitions ---
+
packetCeiling = 5
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
}
node_stack_bottom = 0.0, -0.47924, 0.0, 0.0, 1.0, 0.0, 2
+
MODULE
node_stack_top = 0.0, 1.19319, 0.0, 0.0, 1.0, 0.0, 1
+
{
 
+
name = ModuleProbeControlPoint
 
+
minimumCrew = 2
 
+
multiHop = False
// --- editor parameters ---
+
}
cost = 1800
+
category = Pods
+
MODULE
subcategory = 0
+
{
title = Mk1-2 Command Pod
+
name = ModuleLiftingSurface
manufacturer = Kerlington Model Rockets and Paper Products Inc.
+
useInternalDragModel = False
description = This modern cockpit is designed to be fully re-useable. Its spacious cabin can hold a maximum of 3 crew.
+
deflectionLiftCoeff = 1.4
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
liftingSurfaceCurve = CapsuleBottom
attachRules = 1,0,1,1,0
+
disableBodyLift = False
 
+
omnidirectional = False
// --- standard part parameters ---
+
perpendicularOnly = True
mass = 4
+
transformDir = Y
dragModelType = default
+
transformSign = -1
maximum_drag = 0.20
+
nodeEnabled = True
minimum_drag = 0.15
+
attachNodeName = bottom
angularDrag = 2
+
}
crashTolerance = 45
 
maxTemp = 3400
 
 
 
vesselType = Ship
 
 
 
// --- pod/rcs parameters ---
 
 
 
rotPower = 20
 
linPower = 20
 
 
 
Kp = 1.0
 
Kd = 1.0
 
 
 
// --- tweakables (coming soon...) ---
 
 
 
 
 
 
 
 
 
// --- internal setup ---
 
CrewCapacity = 3
 
 
 
INTERNAL
 
{
 
  name = PodCockpit
 
 
}
 
}
  
MODULE
+
}}
{
 
name = ModuleCommand
 
minimumCrew = 1
 
}
 
 
 
RESOURCE
 
{
 
name = ElectricCharge
 
amount = 150
 
maxAmount = 150
 
}
 
 
 
// ----- DO NOT EDIT BELOW THIS POINT ------
 
 
 
}
 
</pre>
 

Latest revision as of 10:04, 10 March 2018

This is the configuration file for Mk1-2 Command Pod.
PART
{
	name = Mark1-2Pod
	module = Part
	author = C. Jenkins
	mesh = model.mu
	scale = 1
	rescaleFactor = 1
	node_stack_bottom = 0.0, -0.47924, 0.0, 0.0, -1.0, 0.0, 2
	node_stack_top = 0.0, 1.19319, 0.0, 0.0, 1.0, 0.0, 1
	CoPOffset = 0.0, 0.6, 0.0
	CenterOfBuoyancy = 0.0, 0.8, 0.0
	CenterOfDisplacement = 0.0, -0.3, 0.0
	buoyancyUseSine = False
	buoyancy = 1.1
	CoLOffset = 0.0, -0.45, 0.0
	TechRequired = commandModules
	TechHidden = True
	entryCost = 7600
	cost = 3800
	category = none
	subcategory = 0
	title = #autoLOC_500304 //#autoLOC_500304 = Mk1-2 Command Pod
	manufacturer = #autoLOC_501630 //#autoLOC_501630 = Kerlington Model Rockets and Paper Products Inc
	description = #autoLOC_500305 //#autoLOC_500305 = This modern cockpit is designed to be fully re-useable. Its spacious cabin can hold a maximum of 3 crew.
	attachRules = 1,0,1,1,0
	mass = 4
	
	dragModelType = default
	maximum_drag = 0.20
	minimum_drag = 0.15
	angularDrag = 2
	crashTolerance = 45
	bodyLiftOnlyUnattachedLift = True
	bodyLiftOnlyAttachName = bottom
	
	maxTemp = 1400
	skinMaxTemp = 2400
	
	vesselType = Ship
	CrewCapacity = 3
	bulkheadProfiles = size2, size1
	tags = #autoLOC_500306 //#autoLOC_500306 = capsule cmg control ?eva fly gyro ?iva moment pilot react rocket space stab steer torque
	INTERNAL
	{
		name = PodCockpit
	}
	MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 150
		maxAmount = 150
	}
	MODULE
	{
		name = ModuleReactionWheel
		PitchTorque = 15
		YawTorque = 15
		RollTorque = 15
		RESOURCE
		{
			name = ElectricCharge
			rate = 1.2
		}
	}
	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 = 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 = 2.0
	}
	RESOURCE
	{
		name = MonoPropellant
		amount = 30
		maxAmount = 30
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = flagTransform
	}
	MODULE
	{
		name = ModuleConductionMultiplier
		modifiedConductionFactor = 0.003
		convectionFluxThreshold = 3000
	}

	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 = ModuleProbeControlPoint
		minimumCrew = 2
		multiHop = False
	}
	
	MODULE
	{
		name = ModuleLiftingSurface
		useInternalDragModel = False
		deflectionLiftCoeff = 1.4
		liftingSurfaceCurve = CapsuleBottom
		disableBodyLift = False
		omnidirectional = False
		perpendicularOnly = True
		transformDir = Y
		transformSign = -1
		nodeEnabled = True
		attachNodeName = bottom
	}
}