Difference between revisions of "Parts/Engine/liquidEngineLV-1 v2/liquidEngineLV-1 v2.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (BobBot moved page Parts/Engine/microEngine/part.cfg to Parts/Engine/liquidEngineLV-1/liquidEngineLV-1.cfg without leaving a redirect: Renamed part configuration file after update.)
m (Update config)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Part config|LV-1 Liquid Fuel Engine|2=PART
+
{{Part config|LV-1 "Ant" Liquid Fuel Engine|2=PART
 
{
 
{
name = microEngine
+
name = microEngine_v2
module = Part
+
module = Part
author = NovaSilisko
+
author = AlexanderM
 
+
MODEL
mesh = model.mu
+
{
scale = 1
+
model = Squad/Parts/Engine/liquidEngineLV-1_v2/Assets/Ant
rescaleFactor = 1
+
}
 
+
scale = 1
node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0
+
rescaleFactor = 1
node_stack_bottom = 0.0, -0.2816985, 0.0, 0.0, 1.0, 0.0, 0
+
node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0
 
+
node_stack_bottom = 0.0, -0.2816985, 0.0, 0.0, -1.0, 0.0, 0
fx_exhaustFlame_white_tiny = 0.0, -0.2816985, 0.0, 0.0, 1.0, 0.0, running
+
node_attach = 0.0, 0.0, 0.00, 0.0, 90.0, 0.0, 0
 
+
// fx_exhaustFlame_white_tiny = 0.0, -0.2816985, 0.0, 0.0, 1.0, 0.0, running
sound_vent_medium = engage
+
TechRequired = propulsionSystems
sound_rocket_mini = running
+
entryCost = 1500
sound_vent_soft = disengage
+
cost = 110
sound_explosion_low = flameout
+
category = Engine
 
+
subcategory = 0
TechRequired = precisionEngineering
+
title = #autoLOC_500427 //#autoLOC_500427 = LV-1 "Ant" Liquid Fuel Engine
entryCost = 4000
+
manufacturer = #autoLOC_501627 //#autoLOC_501627 = Jebediah Kerman's Junkyard and Spacecraft Parts Co
cost = 350
+
description = #autoLOC_500428 //#autoLOC_500428 = What is this, an engine for ants?
category = Propulsion
+
attachRules = 1,1,1,1,0
subcategory = 0
+
mass = 0.02
title = LV-1 Liquid Fuel Engine
+
heatConductivity = 0.06 // half default
manufacturer = Jebediah Kerman's Junkyard and Spaceship Parts Co.
+
skinInternalConductionMult = 4.0
description = What is this, an engine for ants?
+
emissiveConstant = 0.8 // engine nozzles are good at radiating.
attachRules = 1,0,1,0,0
+
dragModelType = default
 
+
maximum_drag = 0.2
mass = 0.03
+
minimum_drag = 0.2
dragModelType = default
+
angularDrag = 2
maximum_drag = 0.2
+
crashTolerance = 7
minimum_drag = 0.2
+
maxTemp = 2000 // = 3600
angularDrag = 2
+
bulkheadProfiles = size0, srf
crashTolerance = 7
+
tags = #autoLOC_500429 //#autoLOC_500429 = (ant probe propuls rocket vacuum
maxTemp = 3600
+
EFFECTS
 
+
{
MODULE
+
running
{
+
{
name = ModuleEngines
+
AUDIO
thrustVectorTransformName = thrustTransform
+
{
exhaustDamage = False
+
channel = Ship
ignitionThreshold = 0.1
+
clip = sound_rocket_mini
minThrust = 0
+
volume = 0.0 0.0
maxThrust = 4
+
volume = 1.0 0.3
heatProduction = 30
+
pitch = 0.0 0.75
fxOffset = 0, 0, 0.02
+
pitch = 1.0 1.5
PROPELLANT
+
loop = true
 +
}
 +
MODEL_MULTI_PARTICLE
 +
{
 +
modelName = Squad/FX/Monoprop_small
 +
transformName = FXTransform
 +
emission = 0.0 0.0
 +
emission = 0.4 0.8
 +
emission = 1.0 1.0
 +
speed = 0.0 0.8
 +
speed = 1.0 1.0
 +
//localOffset = 0, 0, 1
 +
localPosition = 0, 0, 0.08
 +
}
 +
}
 +
engage
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_vent_soft
 +
volume = 1.0
 +
pitch = 2.0
 +
loop = false
 +
}
 +
}
 +
flameout
 +
{
 +
PREFAB_PARTICLE
 +
{
 +
prefabName = fx_exhaustSparks_flameout_2
 +
transformName = thrustTransform
 +
oneShot = true
 +
}
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = sound_explosion_low
 +
volume = 1.0
 +
pitch = 2.0
 +
loop = false
 +
}
 +
}
 +
}
 +
MODULE
 
{
 
{
name = LiquidFuel
+
name = ModuleEnginesFX
        ratio = 0.9
+
thrustVectorTransformName = thrustTransform
 +
exhaustDamage = False
 +
ignitionThreshold = 0.1
 +
minThrust = 0
 +
maxThrust = 2
 +
heatProduction = 25
 +
fxOffset = 0, 0, 0.99
 +
EngineType = LiquidFuel
 +
exhaustDamageDistanceOffset = 0.05
 +
runningEffectName = running
 +
PROPELLANT
 +
{
 +
name = LiquidFuel
 +
ratio = 0.9
 +
DrawGauge = True
 +
}
 +
PROPELLANT
 +
{
 +
name = Oxidizer
 +
ratio = 1.1
 +
}
 +
atmosphereCurve
 +
{
 +
key = 0 315
 +
key = 1 80
 +
key = 3 0.001
 +
}
 
}
 
}
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
+
MODULE
{
+
{
  key = 0 290
+
name = FXModuleAnimateThrottle
  key = 1 220
+
animationName = AntNoozleGlow
}
+
responseSpeed = 0.001
+
dependOnEngineState = True
}
+
dependOnThrottle = True
 
+
}
MODULE
 
{
 
name = ModuleTestSubject
 
 
 
// nowhere: 0, srf: 1, ocean: 2, atmo: 4, space: 8
+
//MODULE
environments = 8
+
//{
 +
// name = ModuleGimbal
 +
// gimbalTransformName = engine
 +
// gimbalRange = 5
 +
//}
 
 
useStaging = False
+
MODULE
useEvent = True
+
{
}
+
name = ModulePartVariants
 +
baseVariant = Shroud
 +
VARIANT
 +
{
 +
name = Shroud
 +
displayName = #autoLOC_8007114
 +
primaryColor = #ffffff
 +
secondaryColor = #999999
 +
useMultipleDragCubes = false
 +
GAMEOBJECTS
 +
{
 +
Shroud = true
 +
Case = false
 +
}
 +
}
 +
VARIANT
 +
{
 +
name = Bare
 +
displayName =  #autoLOC_8007115
 +
primaryColor = #d96200
 +
secondaryColor = #999999
 +
useMultipleDragCubes = false
 +
GAMEOBJECTS
 +
{
 +
Shroud = false
 +
Case = true
 +
}
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
stackableQuantity = 2
 +
packedVolume = 20
 +
}
 
}
 
}
 
 
}}
 
}}

Latest revision as of 16:35, 10 October 2024

This is the configuration file for LV-1 "Ant" Liquid Fuel Engine.
PART
{
	name = microEngine_v2
	module = Part
	author = AlexanderM
	MODEL
	{
		model = Squad/Parts/Engine/liquidEngineLV-1_v2/Assets/Ant
	}
	scale = 1
	rescaleFactor = 1
	node_stack_top = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0
	node_stack_bottom = 0.0, -0.2816985, 0.0, 0.0, -1.0, 0.0, 0
	node_attach = 0.0, 0.0, 0.00, 0.0, 90.0, 0.0, 0
//	fx_exhaustFlame_white_tiny = 0.0, -0.2816985, 0.0, 0.0, 1.0, 0.0, running
	TechRequired = propulsionSystems
	entryCost = 1500
	cost = 110
	category = Engine
	subcategory = 0
	title = #autoLOC_500427 //#autoLOC_500427 = LV-1 "Ant" Liquid Fuel Engine
	manufacturer = #autoLOC_501627 //#autoLOC_501627 = Jebediah Kerman's Junkyard and Spacecraft Parts Co
	description = #autoLOC_500428 //#autoLOC_500428 = What is this, an engine for ants?
	attachRules = 1,1,1,1,0
	mass = 0.02
	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
	maxTemp = 2000 // = 3600
	bulkheadProfiles = size0, srf
	tags = #autoLOC_500429 //#autoLOC_500429 = (ant probe propuls rocket vacuum
	EFFECTS
	{
		running
		{
			AUDIO
			{
				channel = Ship
				clip = sound_rocket_mini
				volume = 0.0 0.0
				volume = 1.0 0.3
				pitch = 0.0 0.75
				pitch = 1.0 1.5
				loop = true
			}
			MODEL_MULTI_PARTICLE
			{
				modelName = Squad/FX/Monoprop_small
				transformName = FXTransform
				emission = 0.0 0.0
				emission = 0.4 0.8
				emission = 1.0 1.0
				speed = 0.0 0.8
				speed = 1.0 1.0
				//localOffset = 0, 0, 1
				localPosition = 0, 0, 0.08
			}
		}
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = sound_vent_soft
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
		flameout
		{
			PREFAB_PARTICLE
			{
				prefabName = fx_exhaustSparks_flameout_2
				transformName = thrustTransform
				oneShot = true
			}
			AUDIO
			{
				channel = Ship
				clip = sound_explosion_low
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}			
	}
	MODULE
	{
		name = ModuleEnginesFX
		thrustVectorTransformName = thrustTransform
		exhaustDamage = False
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 2
		heatProduction = 25
		fxOffset = 0, 0, 0.99
		EngineType = LiquidFuel
		exhaustDamageDistanceOffset = 0.05
		runningEffectName = running
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 315
			key = 1 80
			key = 3 0.001
		}
	}
	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 = FXModuleAnimateThrottle
		animationName = AntNoozleGlow
		responseSpeed = 0.001
		dependOnEngineState = True
		dependOnThrottle = True
	}	
	
	//MODULE
	//{
	//	name = ModuleGimbal
	//	gimbalTransformName = engine
	//	gimbalRange = 5
	//}
	
	MODULE
	{
		name = ModulePartVariants		
		baseVariant = Shroud
		VARIANT
		{
			name = Shroud
			displayName = #autoLOC_8007114
			primaryColor = #ffffff
			secondaryColor = #999999
			useMultipleDragCubes = false
			GAMEOBJECTS
			{
				Shroud = true
				Case = false
			}
		}
		VARIANT
		{ 
			name = Bare
			displayName =  #autoLOC_8007115
			primaryColor = #d96200
			secondaryColor = #999999
			useMultipleDragCubes = false
			GAMEOBJECTS
			{
				Shroud = false
				Case = true
			}
		}		
	}
	MODULE
	{
		name = ModuleCargoPart
		stackableQuantity = 2
		packedVolume = 20
	}
}