Difference between revisions of "Parts/Command/mk1Cockpits/mk1Cockpit.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (BobBot moved page Parts/Command/Mark1Cockpit/part.cfg to Parts/Command/mk1Cockpit/mk1Cockpit.cfg without leaving a redirect: Renamed part configuration file after update.)
m (Move done)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Part config|Mk1 Cockpit|2=PART
 
{{Part config|Mk1 Cockpit|2=PART
 
{
 
{
// this is a sample config file, for determining a good file format for defining part parameters
+
name = Mark1Cockpit
// 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
+
rescaleFactor = 1
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
node_stack_bottom = 0.0, -0.175, 0.0, 0.0, -1.0, 0.0, 1
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
CoMOffset = 0.0, 0.8, 0.0
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
CoPOffset = 0.0, 1.2, 0.0
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
CoLOffset = 0.0, 0.4, 0.0
// 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)
+
TechRequired = aviation
 
+
entryCost = 2600
 
+
cost = 1250
// --- general parameters ---
+
category = Pods
name = Mark1Cockpit
+
subcategory = 0
module = Part
+
title = #autoLOC_500307 //#autoLOC_500307 = Mk1 Cockpit
author = C. Jenkins
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
 
+
description = #autoLOC_500308 //#autoLOC_500308 = C7 Aerospace is proud to present our second generation cockpit. This unit is equipped to ensure survival in some of the worst conditions possible. The extra re-enforcement has slightly increased the weight.
// --- asset parameters ---
+
attachRules = 1,0,1,1,0
mesh = model.mu
+
mass = 1.25
scale = 0.1
+
dragModelType = default
 
+
maximum_drag = 0.1
// --- node definitions ---
+
minimum_drag = 0.1
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
angularDrag = 2
node_stack_bottom = 0.0, -2.15, 0.0, 0.0, 1.0, 0.0, 1
+
crashTolerance = 40
 
+
maxTemp = 1100
 
+
skinMaxTemp = 2000
 
+
vesselType = Plane
// --- editor parameters ---
+
CrewCapacity = 1
TechRequired = flightControl
+
bulkheadProfiles = size1
entryCost = 4200
+
tags = #autoLOC_500309 //#autoLOC_500309 = aero aircraft cmg command control ?eva fly gyro ?iva moment pilot plane react space stab steer torque
cost = 2200
+
MODEL
category = Pods
+
{
subcategory = 0
+
model = Squad/Parts/Command/mk1Cockpits/CockpitStandard
title = Mk1 Cockpit
+
}
manufacturer = C7 Aerospace Division
+
INTERNAL
description = C7 Aerospace is proud to present our second generation cockpit. This unit is equipped to ensure survival in some of the worst conditions possible. The extra re-enforcement has slightly increased the weight.
+
{
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
name = mk1CockpitInternal
attachRules = 1,0,1,1,0
+
}
 
+
MODULE
// --- standard part parameters ---
+
{
mass = 1.25
+
name = ModuleCommand
dragModelType = default
+
minimumCrew = 1
maximum_drag = 0.1
+
}
minimum_drag = 0.1
 
angularDrag = 2
 
crashTolerance = 45
 
maxTemp = 3400
 
 
 
vesselType = Ship
 
 
 
// --- internal setup ---
 
CrewCapacity = 1
 
 
 
INTERNAL
 
{
 
  name = mk1CockpitInternal
 
}
 
 
 
MODULE
 
{
 
name = ModuleCommand
 
minimumCrew = 1
 
}
 
 
 
RESOURCE
 
{
 
name = ElectricCharge
 
amount = 50
 
maxAmount = 50
 
}
 
MODULE
 
{
 
name = ModuleSAS
 
}
 
 
 
MODULE
 
{
 
name = ModuleReactionWheel
 
 
PitchTorque = 10
 
YawTorque = 10
 
RollTorque = 10
 
 
 
RESOURCE
 
RESOURCE
 
{
 
{
 
name = ElectricCharge
 
name = ElectricCharge
rate = 0.375
+
amount = 50
 +
maxAmount = 50
 +
}
 +
MODULE
 +
{
 +
name = ModuleReactionWheel
 +
PitchTorque = 10
 +
YawTorque = 10
 +
RollTorque = 10
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 0.375
 +
}
 +
}
 +
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 = 1.3
 +
}
 +
RESOURCE
 +
{
 +
name = MonoPropellant
 +
amount = 7.5
 +
maxAmount = 7.5
 +
}
 +
MODULE
 +
{
 +
name = FlagDecal
 +
textureQuadName = FLAG
 +
}
 +
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 = 1
 +
packedVolumeLimit = 75
 
}
 
}
 
}
 
}
MODULE
 
{
 
name = ModuleScienceExperiment
 
 
experimentID = crewReport
 
 
experimentActionName = Crew Report
 
resetActionName = Discard Crew Report
 
reviewActionName = Review Report
 
 
useStaging = False
 
useActionGroups = True
 
hideUIwhenUnavailable = True
 
rerunnable = True
 
 
xmitDataScalar = 1.0
 
}
 
MODULE
 
{
 
name = ModuleScienceContainer
 
 
reviewActionName = Review Stored Data
 
storeActionName = Store Experiments
 
evaOnlyStorage = True
 
storageRange = 1.3
 
}
 
 
RESOURCE
 
{
 
name = MonoPropellant
 
amount = 7.5
 
maxAmount = 7.5
 
}
 
 
MODULE
 
{
 
      name = FlagDecal
 
      textureQuadName = flagTransform
 
}
 
}
 
 
 
}}
 
}}

Latest revision as of 21:04, 9 October 2024

This is the configuration file for Mk1 Cockpit.
PART
{
	name = Mark1Cockpit
	module = Part
	author = Porkjet
	rescaleFactor = 1
	node_stack_bottom = 0.0, -0.175, 0.0, 0.0, -1.0, 0.0, 1
	CoMOffset = 0.0, 0.8, 0.0
	CoPOffset = 0.0, 1.2, 0.0
	CoLOffset = 0.0, 0.4, 0.0
	TechRequired = aviation
	entryCost = 2600
	cost = 1250
	category = Pods
	subcategory = 0
	title = #autoLOC_500307 //#autoLOC_500307 = Mk1 Cockpit
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500308 //#autoLOC_500308 = C7 Aerospace is proud to present our second generation cockpit. This unit is equipped to ensure survival in some of the worst conditions possible. The extra re-enforcement has slightly increased the weight.
	attachRules = 1,0,1,1,0
	mass = 1.25
	dragModelType = default
	maximum_drag = 0.1
	minimum_drag = 0.1
	angularDrag = 2
	crashTolerance = 40
	maxTemp = 1100
	skinMaxTemp = 2000
	vesselType = Plane
	CrewCapacity = 1
	bulkheadProfiles = size1
	tags = #autoLOC_500309 //#autoLOC_500309 = aero aircraft cmg command control ?eva fly gyro ?iva moment pilot plane react space stab steer torque
	MODEL
	{
		model = Squad/Parts/Command/mk1Cockpits/CockpitStandard
	}
	INTERNAL
	{
		name = mk1CockpitInternal
	}
	MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
	}
	RESOURCE
	{
		name = ElectricCharge
		amount = 50
		maxAmount = 50
	}
	MODULE
	{
		name = ModuleReactionWheel
		PitchTorque = 10
		YawTorque = 10
		RollTorque = 10
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.375
		}
	}
	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 = 1.3
	}
	RESOURCE
	{
		name = MonoPropellant
		amount = 7.5
		maxAmount = 7.5
	}
	MODULE
	{
		name = FlagDecal
		textureQuadName = FLAG
	}
	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 = 1
		packedVolumeLimit = 75
	}
}