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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.24.2;)
m (Move done)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Part config|Small Hardpoint|2=PART
 
{{Part config|Small Hardpoint|2=PART
 
{
 
{
///KSP Asset Configuration File
+
name = smallHardpoint
//C7 Small Pylon
+
module = Part
 
+
author = Porkjet
// --- general parameters ---
+
rescaleFactor = 1
name = smallHardpoint
+
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
module = Part
+
fx_gasBurst_white = -0.0, 0.0, -0.0, -1.0, 0.0, 0.0, decouple
author = C. Jenkins
+
sound_vent_large = decouple
 
+
TechRequired = advAerodynamics
// --- asset parameters ---
+
entryCost = 6800
mesh = model.mu
+
cost = 60
scale = 0.1
+
category = Structural
 
+
subcategory = 0
// --- node definitions ---
+
title = #autoLOC_500766 //#autoLOC_500766 = Small Hardpoint
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
node_attach = 2.05, 0.0, 0.0, 1.0, 0.0, 0.0
+
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
// --- editor parameters ---
+
dragModelType = default
TechRequired = highAltitudeFlight
+
maximum_drag = 0.2
entryCost = 7800
+
minimum_drag = 0.2
cost = 1275
+
angularDrag = 1
category = Structural
+
crashTolerance = 20
subcategory = 0
+
maxTemp = 2000 // = 3200
title = Small Hardpoint
+
fuelCrossFeed = False
manufacturer = C7 Aerospace Division
+
stagingIcon = DECOUPLER_HOR
description = 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.
+
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.02
+
{
dragModelType = default
+
model = Squad/Parts/Structural/structuralPylons/PylonSmall
maximum_drag = 0.2
+
}
minimum_drag = 0.2
+
MODULE
angularDrag = 1
+
{
crashTolerance = 20
+
name = ModuleDecouple
maxTemp = 3200
+
ejectionForce = 60
fuelCrossFeed = True
+
explosiveNodeID = srf
 
+
}
PhysicsSignificance = 1
+
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
	}
}