Difference between revisions of "Parts/Engine/liquidEngine24-77 v2/liquidEngine24-77 v2.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (BobBot moved page Parts/Engine/smallRadialEngine/part.cfg to Parts/Engine/liquidEngine24-77/liquidEngine24-77.cfg without leaving a redirect: Renamed part configuration file after update.)
m (Update config)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Part config|Rockomax 24-77|2=PART
+
{{Part config|24-77 "Twitch" Liquid Fuel Engine|2=PART
 
{
 
{
name = smallRadialEngine
+
name = smallRadialEngine_v2
module = Part
+
module = Part
author = NovaSilisko
+
author = RoverDude
mesh = model.mu
+
MODEL
 
+
{
rescaleFactor = 1
+
model = Squad/Parts/Engine/liquidEngine24-77_v2/Twitch_v2
 
+
}
node_attach = 0.0, 0.0, -0.1690665, 0.0, 0.0, 1.0
+
rescaleFactor = 1
 
+
node_attach = 0.0, 0.0, 0.0, 0.0, 0.0, -1.0
fx_exhaustFlame_yellow_tiny = 0.0, -0.4017511, 0.03656602, 0.0, 0.9, -0.1, running
+
CoMOffset = 0.0, -0.1, -0.2
 
+
TechRequired = precisionPropulsion
sound_vent_medium = engage
+
entryCost = 920
sound_rocket_mini = running
+
cost = 230
sound_vent_soft = disengage
+
category = Engine
 
+
subcategory = 0
TechRequired = precisionEngineering
+
title = #autoLOC_500418 //#autoLOC_500418 = 24-77 "Twitch" Liquid Fuel Engine
entryCost = 4500
+
manufacturer = #autoLOC_501637 //#autoLOC_501637 = Rockomax Conglomerate
cost = 480
+
description = #autoLOC_500419 //#autoLOC_500419 = Tiny engine! But very useful, good for craft where larger radial engines won't fit, or when you want more control in combination with large lifter engines.
category = Propulsion
+
attachRules = 0,1,0,1,0
subcategory = 0
+
mass = 0.08
title = Rockomax 24-77  
+
heatConductivity = 0.06 // half default
manufacturer = Rockomax Conglomerate
+
skinInternalConductionMult = 4.0
description = Tiny engine! But very useful, good for craft where larger radial engines won't fit. Although, you may need more of them to lift larger payloads.
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
 
+
dragModelType = default
attachRules = 0,1,0,1,0
+
maximum_drag = 0.2
 
+
minimum_drag = 0.2
mass = 0.09
+
angularDrag = 2
dragModelType = default
+
crashTolerance = 7
maximum_drag = 0.2
+
breakingForce = 200
minimum_drag = 0.2
+
breakingTorque = 200
angularDrag = 2
+
maxTemp = 2000 // = 3600
crashTolerance = 7
+
bulkheadProfiles = srf
breakingForce = 200
+
tags = #autoLOC_500420 //#autoLOC_500420 = orange propuls rocket thruster (twitch vernier
breakingTorque = 200
+
EFFECTS
maxTemp = 3600
+
{
 
+
running
MODULE
+
{
{
+
AUDIO
name = ModuleEngines
+
{
thrustVectorTransformName = thrustTransform
+
channel = Ship
exhaustDamage = True
+
clip = sound_rocket_mini
ignitionThreshold = 0.1
+
volume = 0.0 0.0
minThrust = 0
+
volume = 1.0 1.0
maxThrust = 20
+
pitch = 0.0 0.8
heatProduction = 150
+
pitch = 1.0 1.0
fxOffset = 0, 0, 0.01
+
loop = true
PROPELLANT
+
}
 +
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
 +
}
 +
}
 +
engage
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_vent_medium
 +
loop = false
 +
}
 +
}
 +
disengage
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_vent_soft
 +
loop = false
 +
}
 +
}
 +
}
 +
MODULE
 
{
 
{
name = LiquidFuel
+
name = ModuleEnginesFX
ratio = 0.9
+
thrustVectorTransformName = thrustTransform
DrawGauge = True
+
exhaustDamage = True
 +
ignitionThreshold = 0.1
 +
minThrust = 0
 +
maxThrust = 16
 +
heatProduction = 150
 +
fxOffset = 0, 0, 0.01
 +
localPosition = 0, 0, 0.12
 +
EngineType = LiquidFuel
 +
exhaustDamageDistanceOffset = 0.12
 +
PROPELLANT
 +
{
 +
name = LiquidFuel
 +
ratio = 0.9
 +
DrawGauge = True
 +
}
 +
PROPELLANT
 +
{
 +
name = Oxidizer
 +
ratio = 1.1
 +
}
 +
atmosphereCurve
 +
{
 +
key = 0 290
 +
key = 1 275
 +
key = 7 0.001
 +
}
 
}
 
}
PROPELLANT
+
MODULE
 
{
 
{
name = Oxidizer
+
name = ModuleGimbal
ratio = 1.1
+
gimbalTransformName = Gimbal
 +
gimbalRange = 8
 +
gimbalResponseSpeed = 30
 +
useGimbalResponseSpeed = true
 
}
 
}
atmosphereCurve
 
{
 
key = 0 300
 
key = 1 250
 
}
 
 
 
}
+
MODULE
 +
{
 +
name = FXModuleLookAtConstraint
 +
CONSTRAINLOOKFX
 +
{
 +
targetName = HiCyl1
 +
rotatorsName = LoCyl1
 +
}
 +
CONSTRAINLOOKFX
 +
{
 +
targetName = HiCyl2
 +
rotatorsName = LoCyl2
 +
}
  
MODULE
+
CONSTRAINLOOKFX
{
+
{
name = ModuleGimbal
+
targetName = LoCyl1
gimbalTransformName = thrustTransform
+
rotatorsName = HiCyl1
gimbalRange = 1
+
}
}
+
CONSTRAINLOOKFX
 +
{
 +
targetName = LoCyl2
 +
rotatorsName = HiCyl2
 +
}
  
 
+
}
MODULE
+
{
+
name = ModuleTestSubject
+
 +
 +
MODULE
 +
{
 +
name = FXModuleAnimateThrottle
 +
animationName = TwitchThrottle
 +
responseSpeed = 0.001
 +
dependOnEngineState = True
 +
dependOnThrottle = True
 +
}
 +
 +
 +
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
 +
}
 +
}
 
 
// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8
 
environments = 15
 
 
 
useStaging = True
+
MODULE
useEvent = True
+
{
}
+
name = ModulePartVariants
 +
baseVariant = Orange
 +
VARIANT
 +
{
 +
name = Orange
 +
displayName = #autoLOC_8007123
 +
themeName = Orange
 +
primaryColor = #f49841
 +
secondaryColor = #f49841
 +
TEXTURE
 +
{
 +
mainTextureURL = Squad/Parts/Engine/liquidEngine24-77_v2/Twitch
 +
}
 +
}
 +
VARIANT
 +
{
 +
name = GrayAndOrange
 +
displayName = #autoLOC_8007121
 +
themeName = GrayAndOrange
 +
primaryColor = #4c4f47
 +
secondaryColor = #f49841
 +
TEXTURE
 +
{
 +
mainTextureURL = Squad/Parts/Engine/liquidEngine24-77_v2/Twitch_G
 +
}
 +
}
 +
useMultipleDragCubes = false
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
packedVolume = 65
 +
}
 
}
 
}
 
 
}}
 
}}

Latest revision as of 16:34, 10 October 2024

This is the configuration file for 24-77 "Twitch" Liquid Fuel Engine.
PART
{
	name = smallRadialEngine_v2
	module = Part
	author = RoverDude
	MODEL
	{
		model = Squad/Parts/Engine/liquidEngine24-77_v2/Twitch_v2
	}
	rescaleFactor = 1
	node_attach = 0.0, 0.0, 0.0, 0.0, 0.0, -1.0
	CoMOffset = 0.0, -0.1, -0.2
	TechRequired = precisionPropulsion
	entryCost = 920
	cost = 230
	category = Engine
	subcategory = 0
	title = #autoLOC_500418 //#autoLOC_500418 = 24-77 "Twitch" Liquid Fuel Engine
	manufacturer = #autoLOC_501637 //#autoLOC_501637 = Rockomax Conglomerate
	description = #autoLOC_500419 //#autoLOC_500419 = Tiny engine! But very useful, good for craft where larger radial engines won't fit, or when you want more control in combination with large lifter engines.
	attachRules = 0,1,0,1,0
	mass = 0.08
	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 = srf
	tags = #autoLOC_500420 //#autoLOC_500420 = orange propuls rocket thruster (twitch vernier
	EFFECTS
	{
		running
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_mini
				volume = 0.0 0.0
				volume = 1.0 1.0
				pitch = 0.0 0.8
				pitch = 1.0 1.0
				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
			}
		}
		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 = 16
		heatProduction = 150
		fxOffset = 0, 0, 0.01
		localPosition = 0, 0, 0.12
		EngineType = LiquidFuel
		exhaustDamageDistanceOffset = 0.12
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 290
			key = 1 275
			key = 7 0.001
		}
	}
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = Gimbal
		gimbalRange = 8
 		gimbalResponseSpeed = 30
 		useGimbalResponseSpeed = true		
	}
	
	MODULE
	{
		name = FXModuleLookAtConstraint
		CONSTRAINLOOKFX
		{
			targetName = HiCyl1
			rotatorsName = LoCyl1
		}
		CONSTRAINLOOKFX
		{
			targetName = HiCyl2
			rotatorsName = LoCyl2
		}

		CONSTRAINLOOKFX
		{
			targetName = LoCyl1
			rotatorsName = HiCyl1
		}
		CONSTRAINLOOKFX
		{
			targetName = LoCyl2
			rotatorsName = HiCyl2
		}	

	}			
	
	
	
	
	MODULE
	{
		name = FXModuleAnimateThrottle
		animationName = TwitchThrottle
		responseSpeed = 0.001
		dependOnEngineState = True
		dependOnThrottle = True
	}	
	
	
	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 = Orange
		VARIANT
		{
			name = Orange
			displayName = #autoLOC_8007123
			themeName = Orange
			primaryColor = #f49841
			secondaryColor = #f49841
			TEXTURE
			{
				mainTextureURL = Squad/Parts/Engine/liquidEngine24-77_v2/Twitch
			}
		}
		VARIANT
		{
			name = GrayAndOrange
			displayName = #autoLOC_8007121
			themeName = GrayAndOrange
			primaryColor = #4c4f47
			secondaryColor = #f49841
			TEXTURE
			{
				mainTextureURL = Squad/Parts/Engine/liquidEngine24-77_v2/Twitch_G
			}
		}
		useMultipleDragCubes = false
	}	
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 65
	}
}