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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.90.0;)
m (Update config)
 
(4 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
 
module = Part
 
author = Squad
 
mesh = model.mu
 
 
 
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.375, 0.0, 0.0, 1.0, 0.0, 0
 
 
 
TechRequired = fuelSystems
 
entryCost = 2800
 
cost = 300
 
category = Engine
 
subcategory = 0
 
title = Rockomax 48-7S
 
manufacturer = Rockomax Conglomerate
 
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.
 
attachRules = 1,0,1,0,0
 
 
 
mass = 0.1
 
dragModelType = default
 
maximum_drag = 0.2
 
minimum_drag = 0.2
 
angularDrag = 2
 
crashTolerance = 7
 
breakingForce = 200
 
breakingTorque = 200
 
maxTemp = 3600
 
 
 
EFFECTS
 
 
{
 
{
  running
+
name = liquidEngineMini_v2
  {
+
module = Part
    AUDIO
+
author = RoverDude
    {
+
MODEL
      channel = Ship
+
{
      clip = sound_rocket_mini
+
model = Squad/Parts/Engine/liquidEngine48-7S_v2/SparkV2
      volume = 0.0 0.0
+
}
      volume = 1.0 1.0
+
rescaleFactor = 1.0
      pitch = 0.0 0.75
+
node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0
      pitch = 1.0 0.95
+
node_stack_bottom = 0.0, -0.4, 0.0, 0.0, -1.0, 0.0, 0
      loop = true
+
    }
+
    PREFAB_PARTICLE
+
TechRequired = propulsionSystems
    {
+
entryCost = 2800
      prefabName = fx_exhaustFlame_yellow_tiny_Z
+
cost = 240
      transformName = thrustTransform
+
category = Engine
      emission = 0.0 0.0
+
subcategory = 0
      emission = 1.0 1.0
+
title = #autoLOC_500421 //#autoLOC_500421 = 48-7S "Spark" Liquid Fuel Engine
      speed = 0.0 0.8
+
manufacturer = #autoLOC_501637 //#autoLOC_501637 = Rockomax Conglomerate
      speed = 1.0 1.0
+
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
  engage
+
heatConductivity = 0.06 // half default
  {
+
skinInternalConductionMult = 4.0
    AUDIO
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
    {
+
dragModelType = default
      channel = Ship
+
maximum_drag = 0.2
      clip = sound_vent_medium
+
minimum_drag = 0.2
      loop = false
+
angularDrag = 2
    }
+
crashTolerance = 7
  }
+
breakingForce = 200
  disengage
+
breakingTorque = 200
  {
+
maxTemp = 2000 // = 3600
    AUDIO
+
bulkheadProfiles = size0
    {
+
tags = #autoLOC_500423 //#autoLOC_500423 = lander propuls rocket (spark
      channel = Ship
+
EFFECTS
      clip = sound_vent_soft
+
{
      loop = false
+
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
 +
}
  
MODULE
+
}
{
+
engage
name = ModuleEnginesFX
+
{
thrustVectorTransformName = thrustTransform
+
AUDIO
exhaustDamage = True
+
{
ignitionThreshold = 0.1
+
channel = Ship
minThrust = 0
+
clip = sound_vent_medium
maxThrust = 30
+
loop = false
heatProduction = 150
+
}
fxOffset = 0, 0, 0.125
+
}
PROPELLANT
+
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 = 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
MODULE
+
secondaryColor = #999999
{
+
sizeGroup = GroupB
name = ModuleTestSubject
+
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
 +
}
 +
}
 +
}
 
 
// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8
+
MODULE
environments = 15
+
{
+
name = FXModuleAnimateThrottle
useStaging = True
+
animationName = SparkEmissive
useEvent = True
+
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
	}
}