Difference between revisions of "Parts/Engine/liquidEngine48-7S v2/liquidEngine48-7S v2.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Updated for 0.23)
m (Update config)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Part config|Rockomax 48-7S|2=PART {
+
{{Part config|48-7S "Spark" Liquid Fuel Engine|2=PART
 +
{
 +
name = liquidEngineMini_v2
 +
module = Part
 +
author = RoverDude
 +
MODEL
 +
{
 +
model = Squad/Parts/Engine/liquidEngine48-7S_v2/SparkV2
 +
}
 +
rescaleFactor = 1.0
 +
node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0
 +
node_stack_bottom = 0.0, -0.4, 0.0, 0.0, -1.0, 0.0, 0
 +
 +
 +
TechRequired = propulsionSystems
 +
entryCost = 2800
 +
cost = 240
 +
category = Engine
 +
subcategory = 0
 +
title = #autoLOC_500421 //#autoLOC_500421 = 48-7S "Spark" Liquid Fuel Engine
 +
manufacturer = #autoLOC_501637 //#autoLOC_501637 = Rockomax Conglomerate
 +
description = #autoLOC_500422 //#autoLOC_500422 = The 48-7S may be small, but it packs quite a punch for its size. This little engine is a testament to how larger does not always mean more advanced, at least according to Rockomax's marketing department. The box it comes in is pretty cool, in any case.
 +
attachRules = 1,0,1,0,0
 +
mass = 0.13
 +
heatConductivity = 0.06 // half default
 +
skinInternalConductionMult = 4.0
 +
emissiveConstant = 0.8 // engine nozzles are good at radiating.
 +
dragModelType = default
 +
maximum_drag = 0.2
 +
minimum_drag = 0.2
 +
angularDrag = 2
 +
crashTolerance = 7
 +
breakingForce = 200
 +
breakingTorque = 200
 +
maxTemp = 2000 // = 3600
 +
bulkheadProfiles = size0
 +
tags = #autoLOC_500423 //#autoLOC_500423 = lander propuls rocket (spark
 +
EFFECTS
 +
{
 +
running
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_rocket_mini
 +
volume = 0.0 0.0
 +
volume = 1.0 1.0
 +
pitch = 0.0 0.75
 +
pitch = 1.0 0.95
 +
loop = true
 +
}
 +
PREFAB_PARTICLE
 +
{
 +
prefabName = fx_exhaustFlame_yellow_tiny_Z
 +
transformName = thrustTransform
 +
emission = 0.0 0.0
 +
emission = 1.0 1.0
 +
speed = 0.0 0.8
 +
speed = 1.0 1.0
 +
localPosition = 0, 0, 0.2
 +
}
  
name = liquidEngineMini
+
}
module = Part
+
engage
author = Squad
+
{
mesh = model.mu
+
AUDIO
 
+
{
rescaleFactor = 1.0
+
channel = Ship
 
+
clip = sound_vent_medium
node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0
+
loop = false
node_stack_bottom = 0.0, -0.375, 0.0, 0.0, 1.0, 0.0, 0
+
}
 
+
}
fx_exhaustFlame_yellow_tiny = 0.0, -0.5, 0.0, 0.0, 1.0, 0.0, running
+
disengage
 
+
{
sound_vent_medium = engage
+
AUDIO
sound_rocket_mini = running
+
{
sound_vent_soft = disengage
+
channel = Ship
 
+
clip = sound_vent_soft
TechRequired = fuelSystems
+
loop = false
entryCost = 2800
+
}
cost = 300
+
}
category = Propulsion
+
}
subcategory = 0
+
MODULE
title = Rockomax 48-7S
+
{
manufacturer = Rockomax Conglomerate
+
name = ModuleEnginesFX
description = The 48-7S may be small, but it packs quite a punch for its size. This little engine is a testament to how larger does not always means more advanced, at least according to Rockomax's marketing department. The box it comes in is pretty cool, in any case.
+
thrustVectorTransformName = thrustTransform
attachRules = 1,0,1,0,0
+
exhaustDamage = True
 
+
ignitionThreshold = 0.1
mass = 0.1
+
minThrust = 0
dragModelType = default
+
maxThrust = 20
maximum_drag = 0.2
+
heatProduction = 150
minimum_drag = 0.2
+
fxOffset = 0, 0, 0.125
angularDrag = 2
+
EngineType = LiquidFuel
crashTolerance = 7
+
exhaustDamageDistanceOffset = 0.15
breakingForce = 200
+
PROPELLANT
breakingTorque = 200
+
{
maxTemp = 3600
+
name = LiquidFuel
 
+
ratio = 0.9
MODULE
+
DrawGauge = True
{
+
}
name = ModuleEngines
+
PROPELLANT
thrustVectorTransformName = thrustTransform
+
{
exhaustDamage = True
+
name = Oxidizer
ignitionThreshold = 0.1
+
ratio = 1.1
minThrust = 0
+
}
maxThrust = 30
+
atmosphereCurve
heatProduction = 150
+
{
fxOffset = 0, 0, 0.125
+
key = 0 320
PROPELLANT
+
key = 1 265
 +
key = 7 0.001
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleJettison
 +
jettisonName = Shroud
 +
bottomNodeName = bottom
 +
isFairing = True
 +
jettisonedObjectMass = 0.1
 +
jettisonForce = 2
 +
jettisonDirection = 0 0 1
 +
}
 +
MODULE
 
{
 
{
name = LiquidFuel
+
name = ModuleGimbal
ratio = 0.9
+
gimbalTransformName = gimbal
DrawGauge = True
+
gimbalRange = 3
 +
gimbalResponseSpeed = 10
 
}
 
}
PROPELLANT
+
MODULE
 
{
 
{
name = Oxidizer
+
name = ModuleTestSubject
ratio = 1.1
+
useStaging = True
 +
useEvent = True
 +
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 = 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 = ALTITUDE
 +
test = GT
 +
value = 0 // this just registers altitude as something to care about
 +
situationMask = 8
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = LT
 +
value = 300000
 +
situationMask = 16
 +
body = _NotSun
 +
}
 +
CONSTRAINT
 +
{
 +
type = ALTITUDE
 +
test = LT
 +
value = 600000
 +
situationMask = 32
 +
body = _NotSun
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 0
 +
situationMask = 8
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 600
 +
situationMask = 8
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 300
 +
situationMask = 8
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 1200
 +
situationMask = 8
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 600
 +
situationMask = 8
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 2500
 +
situationMask = 8
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 200
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 100
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 100
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 50
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = LT
 +
value = 50
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEEDENV
 +
test = GT
 +
value = 20
 +
prestige = Exceptional
 +
}
 
}
 
}
atmosphereCurve
 
{
 
key = 0 350
 
key = 1 300
 
}
 
 
 
}
 
 
MODULE
 
{
 
      name = ModuleJettison
 
      jettisonName = node_fairing_collider
 
      bottomNodeName = bottom
 
      isFairing = True
 
      jettisonedObjectMass = 0.1
 
      jettisonForce = 2
 
      jettisonDirection = 0 0 1
 
 
 
}
+
MODULE
 
+
{
MODULE
+
name = ModulePartVariants
{
+
baseVariant = Shroud
name = ModuleGimbal
+
VARIANT
gimbalTransformName = thrustTransform
+
{
gimbalRange = 1
+
name = Shroud
}
+
displayName = #autoLOC_8007114
 +
primaryColor = #ffffff
 +
secondaryColor = #999999
 +
sizeGroup = GroupB
 +
GAMEOBJECTS
 +
{
 +
LgMount = true
 +
BoatTail = true
 +
}
 +
}
 +
VARIANT
 +
{
 +
name = TrussMount
 +
displayName= #autoLOC_8007113
 +
primaryColor = #cccccc
 +
secondaryColor = #d96200
 +
sizeGroup = GroupA
 +
GAMEOBJECTS
 +
{
 +
LgMount = true
 +
BoatTail = false
 +
}
 +
}
 +
VARIANT
 +
{
 +
name = Bare
 +
displayName =  #autoLOC_8007115
 +
primaryColor = #d96200
 +
secondaryColor = #999999
 +
sizeGroup = GroupA
 +
GAMEOBJECTS
 +
{
 +
LgMount = false
 +
BoatTail = false
 +
}
 +
}
 +
}
 +
 +
MODULE
 +
{
 +
name = FXModuleAnimateThrottle
 +
animationName = SparkEmissive
 +
responseSpeed = 0.001
 +
dependOnEngineState = True
 +
dependOnThrottle = True
 +
}
  
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
packedVolume = 140
 +
}
 
}
 
}
 
}}
 
}}

Latest revision as of 16:34, 10 October 2024

This is the configuration file for 48-7S "Spark" Liquid Fuel Engine.
PART
{
	name = liquidEngineMini_v2
	module = Part
	author = RoverDude
	MODEL
	{
		model = Squad/Parts/Engine/liquidEngine48-7S_v2/SparkV2
	}
	rescaleFactor = 1.0
	node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0
	node_stack_bottom = 0.0, -0.4, 0.0, 0.0, -1.0, 0.0, 0
	
	
	TechRequired = propulsionSystems
	entryCost = 2800
	cost = 240
	category = Engine
	subcategory = 0
	title = #autoLOC_500421 //#autoLOC_500421 = 48-7S "Spark" Liquid Fuel Engine
	manufacturer = #autoLOC_501637 //#autoLOC_501637 = Rockomax Conglomerate
	description = #autoLOC_500422 //#autoLOC_500422 = The 48-7S may be small, but it packs quite a punch for its size. This little engine is a testament to how larger does not always mean more advanced, at least according to Rockomax's marketing department. The box it comes in is pretty cool, in any case.
	attachRules = 1,0,1,0,0
	mass = 0.13
	heatConductivity = 0.06 // half default
	skinInternalConductionMult = 4.0
	emissiveConstant = 0.8 // engine nozzles are good at radiating.
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 7
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 2000 // = 3600
	bulkheadProfiles = size0
	tags = #autoLOC_500423 //#autoLOC_500423 = lander propuls rocket (spark
	EFFECTS
	{
		running
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_mini
				volume = 0.0 0.0
				volume = 1.0 1.0
				pitch = 0.0 0.75
				pitch = 1.0 0.95
				loop = true
			}
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustFlame_yellow_tiny_Z
				transformName = thrustTransform
				emission = 0.0 0.0
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
				localPosition = 0, 0, 0.2
			}

		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_medium
				loop = false
			}
		}
		disengage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				loop = false
			}
		}
	}
	MODULE
	{
		name = ModuleEnginesFX
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 20
		heatProduction = 150
		fxOffset = 0, 0, 0.125
		EngineType = LiquidFuel
		exhaustDamageDistanceOffset = 0.15
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 320
			key = 1 265
			key = 7 0.001
		}
	}
	MODULE
	{
		name = ModuleJettison
		jettisonName = Shroud
		bottomNodeName = bottom
		isFairing = True
		jettisonedObjectMass = 0.1
		jettisonForce = 2
		jettisonDirection = 0 0 1		
	}
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = gimbal
		gimbalRange = 3
 		gimbalResponseSpeed = 10		
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = True
		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 = 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 = ALTITUDE
			test = GT
			value = 0 // this just registers altitude as something to care about
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 300000
			situationMask = 16
			body = _NotSun
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 600000
			situationMask = 32
			body = _NotSun
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 0
			situationMask = 8
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 600
			situationMask = 8
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 300
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 1200
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 600
			situationMask = 8
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 2500
			situationMask = 8
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 200
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 100
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 100
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 50
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 50
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 20
			prestige = Exceptional
		}
	}
	
	
	MODULE
	{
		name = ModulePartVariants
		baseVariant = Shroud
		VARIANT
		{
			name = Shroud
			displayName = #autoLOC_8007114
			primaryColor = #ffffff
			secondaryColor = #999999
			sizeGroup = GroupB
			GAMEOBJECTS
			{
				LgMount = true
				BoatTail = true
			}
		}
		VARIANT
		{
			name = TrussMount
			displayName= #autoLOC_8007113
			primaryColor = #cccccc
			secondaryColor = #d96200
			sizeGroup = GroupA
			GAMEOBJECTS
			{
				LgMount = true
				BoatTail = false
			}
		}		
		VARIANT
		{
			name = Bare
			displayName =  #autoLOC_8007115
			primaryColor = #d96200
			secondaryColor = #999999
			sizeGroup = GroupA
			GAMEOBJECTS
			{
				LgMount = false
				BoatTail = false
			}
		}		
	}	
	
	MODULE
	{
		name = FXModuleAnimateThrottle
		animationName = SparkEmissive
		responseSpeed = 0.001
		dependOnEngineState = True
		dependOnThrottle = True
	}	

	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 140
	}
}