Difference between revisions of "Parts/Command/mk3CockpitShuttle/mk3CockpitShuttle.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 (updated)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Mk3 Cockpit|2=PART
PART
 
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = mk3Cockpit_Shuttle
// comment line - ignored by cfg parser
+
module = Part
// empty lines, or lines without a '=' sign are also ignored
+
author = Porkjet
// 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)
+
rescaleFactor = 1
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
node_stack_bottom = 0.0, -1.25, 0.0, 0.0, -1.0, 0.0, 3
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
node_stack_top = 0.0, 3.1875, 0.625, 0.0, 1.0, 0.0, 1
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
TechRequired = heavyAerodynamics
// 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)
+
entryCost = 50000
 
+
cost = 10000
 
+
category = Pods
// --- general parameters ---
+
subcategory = 0
name = mark3Cockpit
+
title = #autoLOC_500334 //#autoLOC_500334 = Mk3 Cockpit
module = CommandPod
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
author = C. Jenkins
+
description = #autoLOC_500335 //#autoLOC_500335 = A cockpit for those die hard explorers. Especially useful when transporting extra crew to a remote rock to save the day.
 
+
attachRules = 1,0,1,1,0
// --- asset parameters ---
+
mass = 3.5
mesh = model.mu
+
dragModelType = default
scale = 0.1
+
maximum_drag = 0.1
 
+
minimum_drag = 0.1
 
+
angularDrag = 2
// --- node definitions ---
+
crashTolerance = 50
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
maxTemp = 1500
node_stack_top = 0.0, 7.6, 0.0, 0.0, 1.0, 0.0
+
skinMaxTemp = 2700
node_stack_bottom = 0.0, -7.8, 0.0, 0.0, 1.0, 0.0
+
emissiveConstant = 0.9
 
+
fuelCrossFeed = True
// --- editor parameters ---
+
vesselType = Plane
cost = 1600
+
CrewCapacity = 4
category = Pods
+
bulkheadProfiles = size1, mk3
subcategory = 0
+
breakingForce = 300
title = Mk3 Cockpit
+
breakingTorque = 300
manufacturer = C7 Aerospace
+
tags = #autoLOC_500336 //#autoLOC_500336 = aero aircraft armageddon bruce cmg command control ?eva fly gyro ?iva moment pilot plane react shuttle space stab steer torque willis
description = The Mk 3 Cockpit is the pinnacle of airframe cockpit technology. In the rare event of a Kerbin Penetrating anomaly, this cockpit will ensure your Kerbs are interred according to health and sanitation guidelines.
+
INTERNAL
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
{
attachRules = 1,0,1,1,0
+
name = MK3_Cockpit_Int
 
+
}
// --- standard part parameters ---
+
MODULE
mass = 3.5
+
{
dragModelType = default
+
name = ModuleCommand
maximum_drag = 0.2
+
minimumCrew = 1
minimum_drag = 0.15
+
}
angularDrag = 2
+
RESOURCE
crashTolerance = 50
+
{
breakingForce = 50
+
name = ElectricCharge
breakingTorque = 50
+
amount = 500
maxTemp = 3400
+
maxAmount = 500
 
+
}
vesselType = Ship
+
MODULE
 
+
{
// --- pod/rcs parameters ---
+
name = ModuleReactionWheel
 
+
actionGUIName = #autoLOC_502014 //#autoLOC_502014 = Toggle RW
rotPower = 10
+
PitchTorque = 40
linPower = 10
+
YawTorque = 40
 
+
RollTorque = 20
Kp = 1.0
+
RESOURCE
Kd = 1.0
+
{
 
+
name = ElectricCharge
// --- tweakables (coming soon...) ---
+
rate = 1.0
 
+
}
 
+
}
 
+
MODULE
// --- internal setup ---
+
{
CrewCapacity = 3
+
name = ModuleScienceExperiment
 
+
experimentID = crewReport
INTERNAL
+
experimentActionName = #autoLOC_502009 //#autoLOC_502009 = Crew Report
{
+
resetActionName = #autoLOC_502010 //#autoLOC_502010 = Discard Crew Report
  name = GenericSpace3
+
reviewActionName = #autoLOC_502200 //#autoLOC_502200 = Review Report
}
+
useStaging = False
 
+
useActionGroups = True
MODULE
+
hideUIwhenUnavailable = True
{
+
rerunnable = True
name = ModuleCommand
+
xmitDataScalar = 1.0
minimumCrew = 1
+
usageReqMaskInternal = 5
}
+
usageReqMaskExternal = -1
 
+
}
RESOURCE
+
MODULE
{
+
{
name = ElectricCharge
+
name = ModuleScienceContainer
amount = 150
+
reviewActionName = #autoLOC_502201 //#autoLOC_502201 = Review Stored Data
maxAmount = 150
+
storeActionName = #autoLOC_502202 //#autoLOC_502202 = Store Experiments
}
+
evaOnlyStorage = True
// ----- DO NOT EDIT BELOW THIS POINT ------
+
storageRange = 4.0
 
+
}
 +
RESOURCE
 +
{
 +
name = MonoPropellant
 +
amount = 100
 +
maxAmount = 100
 +
}
 +
MODULE
 +
{
 +
name = FlagDecal
 +
textureQuadName = FLAG
 +
}
 +
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 = ModuleDataTransmitter
 +
antennaType = INTERNAL
 +
packetInterval = 1.0
 +
packetSize = 2
 +
packetResourceCost = 12.0
 +
requiredResource = ElectricCharge
 +
antennaPower = 5000
 +
optimumRange = 2500
 +
packetFloor = .1
 +
packetCeiling = 5
 +
}
 +
 +
MODULE
 +
{
 +
name = ModuleInventoryPart
 +
InventorySlots = 4
 +
packedVolumeLimit = 800
 +
}
 
}
 
}
</pre>
+
}}

Latest revision as of 15:55, 8 October 2024

This is the configuration file for Mk3 Cockpit.
PART
{
	name = mk3Cockpit_Shuttle
	module = Part
	author = Porkjet
	mesh = model.mu
	rescaleFactor = 1
	node_stack_bottom = 0.0, -1.25, 0.0, 0.0, -1.0, 0.0, 3
	node_stack_top = 0.0, 3.1875, 0.625, 0.0, 1.0, 0.0, 1
	TechRequired = heavyAerodynamics
	entryCost = 50000
	cost = 10000
	category = Pods
	subcategory = 0
	title = #autoLOC_500334 //#autoLOC_500334 = Mk3 Cockpit
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500335 //#autoLOC_500335 = A cockpit for those die hard explorers. Especially useful when transporting extra crew to a remote rock to save the day.
	attachRules = 1,0,1,1,0
	mass = 3.5
	dragModelType = default
	maximum_drag = 0.1
	minimum_drag = 0.1
	angularDrag = 2
	crashTolerance = 50
	maxTemp = 1500
	skinMaxTemp = 2700
	emissiveConstant = 0.9
	fuelCrossFeed = True
	vesselType = Plane
	CrewCapacity = 4
	bulkheadProfiles = size1, mk3
	breakingForce = 300
	breakingTorque = 300
	tags = #autoLOC_500336 //#autoLOC_500336 = aero aircraft armageddon bruce cmg command control ?eva fly gyro ?iva moment pilot plane react shuttle space stab steer torque willis
	INTERNAL
	{
		name = MK3_Cockpit_Int
	}
	MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 500
		maxAmount = 500
	}
	MODULE
	{
		name = ModuleReactionWheel
		actionGUIName = #autoLOC_502014 //#autoLOC_502014 = Toggle RW
		PitchTorque = 40
		YawTorque = 40
		RollTorque = 20
		RESOURCE
		{
			name = ElectricCharge
			rate = 1.0
		}
	}
	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 = 4.0
	}
	RESOURCE
	{
		name = MonoPropellant
		amount = 100
		maxAmount = 100
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = FLAG
	}
	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 = ModuleDataTransmitter
		antennaType = INTERNAL
		packetInterval = 1.0
		packetSize = 2
		packetResourceCost = 12.0
		requiredResource = ElectricCharge
		antennaPower = 5000
		optimumRange = 2500
		packetFloor = .1
		packetCeiling = 5
	}
	
	MODULE
	{
		name = ModuleInventoryPart
		InventorySlots = 4
		packedVolumeLimit = 800
	}
}