Difference between revisions of "Parts/Engine/Size1 SRBs/solidBoosterRT-10 v2.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Update config)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|RT-10 "Hammer" Solid Fuel Booster|2=PART
 
 
// Kerbal Space Program - Part Config
 
// RT-10 Solid Fuel Booster
 
//
 
 
 
// --- general parameters ---
 
name = solidBooster
 
module = Part
 
author = NovaSilisko
 
 
 
// --- asset parameters ---
 
mesh = model.mu
 
scale = 0.1
 
 
 
 
 
// --- node definitions ---
 
node_stack_bottom = 0.0, -12.5127, 0.0, 0.0, 1.0, 0.0, 1
 
node_stack_top = 0.0, 10.2547, 0.0, 0.0, 1.0, 0.0, 1
 
node_attach = 0.0, 0.0, -5, 0.0, 0.0, 1.0, 1
 
 
 
// --- FX definitions ---
 
 
 
fx_exhaustFlame_yellow = 0.0, -11.2673, 0.0, 0.0, 1.0, 0.0, running
 
fx_exhaustSparks_yellow = 0.0, -11.2673, 0.0, 0.0, 1.0, 0.0, running
 
// fx_exhaustLight_yellow = 0.0, -11.2673, 0.0, 0.0, 0.0, 1.0, running
 
fx_smokeTrail_medium = 0.0, -11.2673, 0.0, 0.0, 1.0, 0.0, running
 
 
 
// --- Sound FX definition ---
 
 
 
 
 
sound_vent_medium = engage
 
sound_rocket_hard = running
 
sound_vent_soft = disengage
 
sound_explosion_low = flameout
 
 
 
// --- editor parameters ---
 
cost = 450
 
category = Propulsion
 
subcategory = 0
 
title = RT-10 Solid Fuel Booster
 
//manufacturer = Jebediah Kerman's Junkyard and Spaceship Parts Co.
 
description = While considered by some to be little more than "a trash bin full o' boom", The RT-10 is used in many space programs, whenever the need to save cash is greater than the need to keep astronauts alive. Use with caution, though. Once lit, solid fuel motors cannot be put out until the fuel runs out.
 
 
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 1,1,1,1,0
 
 
 
// --- standard part parameters ---
 
mass = 0.5
 
dragModelType = default
 
maximum_drag = 0.3
 
minimum_drag = 0.2
 
angularDrag = 2
 
crashTolerance = 7
 
maxTemp = 3600
 
 
 
// --- solid booster parameters --- 3.75
 
 
 
stagingIcon = SOLID_BOOSTER
 
 
 
MODULE
 
 
{
 
{
name = ModuleEngines
+
name = solidBooster_v2
thrustVectorTransformName = thrustTransform
+
module = Part
throttleLocked = True
+
author = Roverdude
exhaustDamage = True
+
rescaleFactor = 1
ignitionThreshold = 0.1
+
scale = 1
minThrust = 0
+
MODEL
maxThrust = 250
+
{
heatProduction = 550
+
model = Squad/Parts/Engine/Size1_SRBs/SRB10
useEngineResponseTime = True
+
texture = SRB_O, Squad/Parts/Engine/Size1_SRBs/SRB_W
engineAccelerationSpeed = 10.0
+
}
allowShutdown = False
+
node_stack_bottom = 0.0, -1.56208, 0.0, 0.0, -1.0, 0.0, 1
fxOffset = 0, 0, 0.12
+
node_stack_top = 0.0, 1.2818375, 0.0, 0.0, 1.0, 0.0, 1
PROPELLANT
+
node_attach = 0.0, 0.0, -0.625, 0.0, 0.0, 1.0, 1
 +
fx_exhaustFlame_yellow = 0.0, -1.4084125, 0.0, 0.0, 1.0, 0.0, running
 +
fx_exhaustSparks_yellow = 0.0, -1.4084125, 0.0, 0.0, 1.0, 0.0, running
 +
fx_smokeTrail_medium = 0.0, -1.4084125, 0.0, 0.0, 1.0, 0.0, running
 +
sound_vent_medium = engage
 +
sound_rocket_hard = running
 +
sound_vent_soft = disengage
 +
sound_explosion_low = flameout
 +
TechRequired = basicRocketry
 +
entryCost = 1200
 +
cost = 400
 +
category = Engine
 +
subcategory = 0
 +
title = #autoLOC_500484 //#autoLOC_500484 = RT-10 "Hammer" Solid Fuel Booster
 +
description = #autoLOC_500485 //#autoLOC_500485 = Packing a powerful punch for its size, The RT-10 is widely used in many space programs, whenever the need to save cash is greater than the need to keep astronauts alive.
 +
attachRules = 1,1,1,1,0
 +
mass = 0.75
 +
heatConductivity = 0.06 // 1/2 default
 +
skinInternalConductionMult = 4.0
 +
emissiveConstant = 0.5 // yes, it's white. But let's claim it's an emissive white...
 +
dragModelType = default
 +
maximum_drag = 0.3
 +
minimum_drag = 0.2
 +
angularDrag = 2
 +
crashTolerance = 7
 +
maxTemp = 2000 // = 3600
 +
stagingIcon = SOLID_BOOSTER
 +
bulkheadProfiles = size1, srf
 +
tags = #autoLOC_500486 //#autoLOC_500486 = (hammer moar (more motor rocket srb
 +
MODULE
 +
{
 +
name = ModuleEngines
 +
thrustVectorTransformName = thrustTransform
 +
throttleLocked = True
 +
exhaustDamage = True
 +
ignitionThreshold = 0.1
 +
minThrust = 0
 +
maxThrust = 227
 +
heatProduction = 550
 +
useEngineResponseTime = True
 +
engineAccelerationSpeed = 10.0
 +
allowShutdown = False
 +
fxOffset = 0, 0, 0.45
 +
 +
// Possible EngineType values:
 +
// Generic, SolidBooster, LiquidFuel, Piston, Turbine, ScramJet, Electric, Nuclear, MonoProp
 +
EngineType = SolidBooster
 +
exhaustDamageDistanceOffset = 0.6
 +
 +
PROPELLANT
 +
{
 +
name = SolidFuel
 +
ratio = 1.0
 +
DrawGauge = True
 +
}
 +
atmosphereCurve
 +
{
 +
key = 0 195
 +
key = 1 170
 +
key = 7 0.001
 +
}
 +
}
 +
MODULE
 +
{
 +
name = FXModuleAnimateThrottle
 +
animationName = heatAnimation
 +
responseSpeed = 0.002
 +
dependOnEngineState = True
 +
dependOnThrottle = True
 +
}
 +
RESOURCE
 
{
 
{
 
name = SolidFuel
 
name = SolidFuel
        ratio = 1.0
+
amount = 375
DrawGauge = True
+
maxAmount = 375
 +
}
 +
MODULE
 +
{
 +
name = ModuleTestSubject
 +
useStaging = True
 +
useEvent = True
 +
situationMask = 60
 +
CONSTRAINT
 +
{
 +
// disable all but home
 +
type = SITUATION
 +
value = 0
 +
body = _NotHome
 +
prestige = Trivial
 +
}
 +
CONSTRAINT
 +
{
 +
// disable all but home
 +
type = SITUATION
 +
value = 0
 +
body = _NotHome
 +
prestige = Significant
 +
}
 +
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 = 0
 +
situationMask = 8
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 900
 +
situationMask = 8
 +
prestige = Significant
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = GT
 +
value = 300
 +
situationMask = 8
 +
prestige = Exceptional
 +
}
 +
CONSTRAINT
 +
{
 +
type = SPEED
 +
test = LT
 +
value = 1200
 +
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 240
+
name = ModuleSurfaceFX
  key = 1 225
+
thrustProviderModuleIndex = 0
}
+
fxMax = 0.75
 +
maxDistance = 50
 +
falloff = 1.8
 +
thrustTransformName = thrustTransform
 +
}
 +
 +
MODULE
 +
{
 +
name = ModulePartVariants
 +
primaryColor = #ffffff
 +
secondaryColor = #ffffff
 +
baseDisplayName = #autoLOC_8007119
 +
baseThemeName = White
 +
useMultipleDragCubes = false
 +
VARIANT
 +
{
 +
name = Orange
 +
displayName = #autoLOC_8007100
 +
themeName = Orange
 +
primaryColor = #f49841
 +
secondaryColor = #f49841
 +
TEXTURE
 +
{
 +
mainTextureURL = Squad/Parts/Engine/Size1_SRBs/SRB_O
 +
}
 +
}
 +
VARIANT
 +
{
 +
name = YellowAndWhite
 +
displayName = #autoLOC_8003114
 +
themeName = YellowAndWhite
 +
primaryColor = #E8DB27
 +
secondaryColor = #ffffff
 +
TEXTURE
 +
{
 +
mainTextureURL = Squad/Parts/Engine/Size1_SRBs/SRB_Y
 +
}
 +
}
 +
}
 
 
 +
MODULE
 +
{
 +
name = ModuleJettison
 +
jettisonName = shroud
 +
bottomNodeName = bottom
 +
isFairing = True
 +
jettisonedObjectMass = 0.1
 +
jettisonForce = 5
 +
jettisonDirection = 0 0 1
 +
}
 
}
 
}
 
+
}}
MODULE
 
{
 
      name = ModuleAnimateHeat
 
      ThermalAnim = heatAnimation
 
}
 
 
 
 
 
 
 
RESOURCE
 
{
 
name = SolidFuel
 
amount = 433
 
maxAmount = 433
 
}
 
 
 
</pre>
 

Latest revision as of 16:22, 10 October 2024

This is the configuration file for RT-10 "Hammer" Solid Fuel Booster.
PART
{
	name = solidBooster_v2
	module = Part
	author = Roverdude
	rescaleFactor = 1
	scale = 1
	MODEL
	{
		model = Squad/Parts/Engine/Size1_SRBs/SRB10
		texture = SRB_O, Squad/Parts/Engine/Size1_SRBs/SRB_W
	}
	node_stack_bottom = 0.0, -1.56208, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_top = 0.0, 1.2818375, 0.0, 0.0, 1.0, 0.0, 1
	node_attach = 0.0, 0.0, -0.625, 0.0, 0.0, 1.0, 1
	fx_exhaustFlame_yellow = 0.0, -1.4084125, 0.0, 0.0, 1.0, 0.0, running
	fx_exhaustSparks_yellow = 0.0, -1.4084125, 0.0, 0.0, 1.0, 0.0, running
	fx_smokeTrail_medium = 0.0, -1.4084125, 0.0, 0.0, 1.0, 0.0, running
	sound_vent_medium = engage
	sound_rocket_hard = running
	sound_vent_soft = disengage
	sound_explosion_low = flameout
	TechRequired = basicRocketry
	entryCost = 1200
	cost = 400
	category = Engine
	subcategory = 0
	title = #autoLOC_500484 //#autoLOC_500484 = RT-10 "Hammer" Solid Fuel Booster
	description = #autoLOC_500485 //#autoLOC_500485 = Packing a powerful punch for its size, The RT-10 is widely used in many space programs, whenever the need to save cash is greater than the need to keep astronauts alive.
	attachRules = 1,1,1,1,0
	mass = 0.75
	heatConductivity = 0.06 // 1/2 default
	skinInternalConductionMult = 4.0
	emissiveConstant = 0.5 // yes, it's white. But let's claim it's an emissive white...
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 7
	maxTemp = 2000 // = 3600
	stagingIcon = SOLID_BOOSTER
	bulkheadProfiles = size1, srf
	tags = #autoLOC_500486 //#autoLOC_500486 = (hammer moar (more motor rocket srb
	MODULE
	{
		name = ModuleEngines
		thrustVectorTransformName = thrustTransform
		throttleLocked = True
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 227
		heatProduction = 550
		useEngineResponseTime = True
		engineAccelerationSpeed = 10.0
		allowShutdown = False
		fxOffset = 0, 0, 0.45
		
		// Possible EngineType values:
		// Generic, SolidBooster, LiquidFuel, Piston, Turbine, ScramJet, Electric, Nuclear, MonoProp
		EngineType = SolidBooster
		exhaustDamageDistanceOffset = 0.6
		
		PROPELLANT
		{
			name = SolidFuel
			ratio = 1.0
			DrawGauge = True
		}
		atmosphereCurve
		{
			key = 0 195
			key = 1 170
			key = 7 0.001
		}
	}
	MODULE
	{
		name = FXModuleAnimateThrottle
		animationName = heatAnimation
		responseSpeed = 0.002
		dependOnEngineState = True
		dependOnThrottle = True
	}
	RESOURCE
	{
		name = SolidFuel
		amount = 375
		maxAmount = 375
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = True
		situationMask = 60
		CONSTRAINT
		{
			// disable all but home
			type = SITUATION
			value = 0
			body = _NotHome
			prestige = Trivial
		}
		CONSTRAINT
		{
			// disable all but home
			type = SITUATION
			value = 0
			body = _NotHome
			prestige = Significant
		}
		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 = 0
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 900
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 300
			situationMask = 8
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 1200
			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 = ModuleSurfaceFX
		thrustProviderModuleIndex = 0
		fxMax = 0.75
		maxDistance = 50
		falloff = 1.8
		thrustTransformName = thrustTransform
	}
	
	MODULE
	{
		name = ModulePartVariants
		primaryColor = #ffffff
		secondaryColor = #ffffff
		baseDisplayName = #autoLOC_8007119
		baseThemeName = White
		useMultipleDragCubes = false
		VARIANT
		{
			name = Orange	
			displayName = #autoLOC_8007100
			themeName = Orange
			primaryColor = #f49841
			secondaryColor = #f49841
			TEXTURE
			{
				mainTextureURL = Squad/Parts/Engine/Size1_SRBs/SRB_O
			}
		}				
		VARIANT
		{
			name = YellowAndWhite
			displayName = #autoLOC_8003114
			themeName = YellowAndWhite
			primaryColor = #E8DB27
			secondaryColor = #ffffff
			TEXTURE
			{
				mainTextureURL = Squad/Parts/Engine/Size1_SRBs/SRB_Y
			}
		}
	}	
	
	MODULE
	{
		name = ModuleJettison
		jettisonName = shroud
		bottomNodeName = bottom
		isFairing = True
		jettisonedObjectMass = 0.1
		jettisonForce = 5
		jettisonDirection = 0 0 1		
	}	
}