Difference between revisions of "Parts/Structural/structuralPylons/smallHardpoint.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Parts/smallHardpint/part.cfg to Parts/smallHardpoint/part.cfg without leaving a redirect: typo)
m (Move done)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Please move this, there is a typo in the title. Correct name should be [[Parts/smallHardpoint/part.cfg]].
+
{{Part config|Small Hardpoint|2=PART
 
+
{
<pre>
+
name = smallHardpoint
///KSP Asset Configuration File
+
module = Part
//C7 Small Pylon
+
author = Porkjet
 
+
rescaleFactor = 1
// --- general parameters ---
+
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
name = smallHardpoint
+
fx_gasBurst_white = -0.0, 0.0, -0.0, -1.0, 0.0, 0.0, decouple
module = Strut
+
sound_vent_large = decouple
author = C. Jenkins
+
TechRequired = advAerodynamics
 
+
entryCost = 6800
// --- asset parameters ---
+
cost = 60
mesh = model.mu
+
category = Structural
scale = 0.1
+
subcategory = 0
 
+
title = #autoLOC_500766 //#autoLOC_500766 = Small Hardpoint
// --- node definitions
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
---// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
description = #autoLOC_500767 //#autoLOC_500767 = A structural Pylon for engine Support. Designed to fit against fuselages, and hull bodies. This is the small variant, mostly for use with the smaller engines. Comes Equipped with emergency bolts to separate jet engines in the event of fire or catastrophic failure. (Not covered by warranty)
node_attach = 2.05, 0.0, 0.0, 1.0, 0.0, 0.0
+
attachRules = 0,1,0,1,0
 
+
mass = 0.05
// --- editor parameters ---
+
dragModelType = default
cost = 1275
+
maximum_drag = 0.2
category = 2
+
minimum_drag = 0.2
subcategory = 0
+
angularDrag = 1
title = Small Hardpoint
+
crashTolerance = 20
manufacturer = C7 Aerospace Division.
+
maxTemp = 2000 // = 3200
description = A structural Pylon for engine Support. Designed to fit  
+
fuelCrossFeed = False
against fuselages, and hull bodies. This is the small variant, mostly for
+
stagingIcon = DECOUPLER_HOR
use with the smaller engines.
+
stageOffset = 1
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
childStageOffset = 1
attachRules = 0,1,0,1,0
+
bulkheadProfiles = srf
 
+
tags = #autoLOC_500768 //#autoLOC_500768 = connect decouple hard point pylon separat stag structur
// --- standard part parameters ---
+
MODEL
mass = 0.1drag
+
{
ModelType = default
+
model = Squad/Parts/Structural/structuralPylons/PylonSmall
maximum_drag = 0.2
+
}
angularDrag = 1
+
MODULE
crashTolerance = 20
+
{
maxTemp = 3200
+
name = ModuleDecouple
fuelCrossFeed = True
+
ejectionForce = 60
physicsSignificance = 0
+
explosiveNodeID = srf
</pre>
+
}
 +
MODULE
 +
{
 +
name = ModuleToggleCrossfeed
 +
crossfeedStatus = false
 +
toggleEditor = true
 +
toggleFlight = true
 +
}
 +
MODULE
 +
{
 +
name = ModuleTestSubject
 +
useStaging = True
 +
useEvent = False
 +
situationMask = 127
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ALWAYS
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = BODYANDSITUATION
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = REPEATABILITY
 +
value = ONCEPERPART
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = GT
 +
value = 0 // this just registers altitude as something to care about
 +
situationMask = 8
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = GT
 +
value = 4000
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 8000
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = GT
 +
value = 2000
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 4000
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = GT
 +
value = 1000
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDEENV
 +
test = LT
 +
value = 2000
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 2000
 +
situationMask = 8
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = LT
 +
value = 300000
 +
situationMask = 16
 +
body = _NotSun
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = LT
 +
value = 600000
 +
situationMask = 32
 +
body = _NotSun
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
stackableQuantity = 1
 +
packedVolume = 400
 +
}
 +
}
 +
}}

Latest revision as of 18:37, 10 October 2024

This is the configuration file for Small Hardpoint.
PART
{
	name = smallHardpoint
	module = Part
	author = Porkjet
	rescaleFactor = 1
	node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
	fx_gasBurst_white = -0.0, 0.0, -0.0, -1.0, 0.0, 0.0, decouple
	sound_vent_large = decouple
	TechRequired = advAerodynamics
	entryCost = 6800
	cost = 60
	category = Structural
	subcategory = 0
	title = #autoLOC_500766 //#autoLOC_500766 = Small Hardpoint
	manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
	description = #autoLOC_500767 //#autoLOC_500767 = A structural Pylon for engine Support. Designed to fit against fuselages, and hull bodies. This is the small variant, mostly for use with the smaller engines. Comes Equipped with emergency bolts to separate jet engines in the event of fire or catastrophic failure. (Not covered by warranty)
	attachRules = 0,1,0,1,0
	mass = 0.05
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 1
	crashTolerance = 20
	maxTemp = 2000 // = 3200
	fuelCrossFeed = False
	stagingIcon = DECOUPLER_HOR
	stageOffset = 1
	childStageOffset = 1
	bulkheadProfiles = srf
	tags = #autoLOC_500768 //#autoLOC_500768 = connect decouple hard point pylon separat stag structur
	MODEL
	{
		model = Squad/Parts/Structural/structuralPylons/PylonSmall
	}
	MODULE
	{
		name = ModuleDecouple
		ejectionForce = 60
		explosiveNodeID = srf
	}
	MODULE
	{
		name = ModuleToggleCrossfeed
		crossfeedStatus = false
		toggleEditor = true
		toggleFlight = true
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = False
		situationMask = 127
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ALWAYS
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = BODYANDSITUATION
			prestige = Significant
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ONCEPERPART
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = GT
			value = 0 // this just registers altitude as something to care about
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 4000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 8000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 2000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 4000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 1000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 2000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 2000
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 300000
			situationMask = 16
			body = _NotSun
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 600000
			situationMask = 32
			body = _NotSun
		}
	}
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = 400
	}
}