mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
561 lines
9.8 KiB
INI
561 lines
9.8 KiB
INI
// ReStock+ 0.2.0
|
|
// 1.875m booster
|
|
PART
|
|
{
|
|
name = restock-engine-ursa-1
|
|
module = Part
|
|
author = Chris Adderley (Nertea)
|
|
rescaleFactor = 1.0
|
|
|
|
MODEL
|
|
{
|
|
model = ReStock/Assets/Engine/restock-engine-ursa-1
|
|
}
|
|
node_attach = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1
|
|
node_stack_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1
|
|
node_stack_bottom = 0.0, -1, 0.0, 0.0, -1.0, 0.0, 1
|
|
|
|
/// Flag to disable this part if MH is installed
|
|
MHReplacement = True
|
|
EFFECTS
|
|
{
|
|
engage
|
|
{
|
|
AUDIO
|
|
{
|
|
channel = Ship
|
|
clip = sound_vent_medium
|
|
volume = 1.0
|
|
pitch = 2.0
|
|
loop = false
|
|
}
|
|
}
|
|
flameout
|
|
{
|
|
AUDIO
|
|
{
|
|
channel = Ship
|
|
clip = sound_explosion_low
|
|
volume = 1.0
|
|
pitch = 2.0
|
|
loop = false
|
|
}
|
|
}
|
|
fx-ursa-running
|
|
{
|
|
AUDIO
|
|
{
|
|
channel = Ship
|
|
clip = sound_rocket_hard
|
|
volume = 0.0 0.0
|
|
volume = 0.01 0.2
|
|
volume = 1.0 0.6
|
|
pitch = 0.0 0.1
|
|
pitch = 0.01 0.2
|
|
pitch = 1.0 0.5
|
|
loop = true
|
|
}
|
|
MODEL_MULTI_PARTICLE
|
|
{
|
|
name = core
|
|
modelName = ReStock/FX/restock-fx-kodiak-core-1
|
|
transformName = fxTransformCore
|
|
emission = 0.0 0.0
|
|
emission = 0.01 0.1
|
|
emission = 0.075 0.25
|
|
emission = 1.0 1.0
|
|
speed = 0.0 0.8
|
|
speed = 1.0 1.0
|
|
}
|
|
MODEL_MULTI_PARTICLE
|
|
{
|
|
name = plume
|
|
modelName = ReStock/FX/restock-fx-kodiak-plume-1
|
|
transformName = fxTransformPlume
|
|
emission = 0.0 0.0
|
|
emission = 0.01 0.1
|
|
emission = 0.075 0.25
|
|
emission = 1.0 1.0
|
|
speed = 0.0 0.8
|
|
speed = 1.0 1.0
|
|
}
|
|
}
|
|
}
|
|
TechRequired = heavierRocketry
|
|
entryCost = 4400
|
|
cost = 1100
|
|
category = Engine
|
|
subcategory = 0
|
|
title = #LOC_RestockPlus_restock-engine-ursa_title
|
|
manufacturer = #autoLOC_501639
|
|
description = #LOC_RestockPlus_restock-engine-ursa_description
|
|
attachRules = 1,1,1,1,0
|
|
mass = 1.25
|
|
dragModelType = default
|
|
maximum_drag = 0.2
|
|
minimum_drag = 0.3
|
|
angularDrag = 2
|
|
crashTolerance = 9
|
|
breakingForce = 150
|
|
breakingTorque = 150
|
|
maxTemp = 2000 // = 3000
|
|
fuelCrossFeed = True
|
|
bulkheadProfiles = size1, size1p5, srf
|
|
tags = #LOC_RestockPlus_restock-engine-ursa_tags
|
|
|
|
MODULE
|
|
{
|
|
name = ModuleEnginesFX
|
|
thrustVectorTransformName = thrustTransform
|
|
runningEffectName = fx-ursa-running
|
|
exhaustDamage = True
|
|
ignitionThreshold = 0.1
|
|
minThrust = 0
|
|
maxThrust = 260
|
|
heatProduction = 175
|
|
fxOffset = 0, 0, 0
|
|
EngineType = LiquidFuel
|
|
exhaustDamageDistanceOffset = 0.35
|
|
PROPELLANT
|
|
{
|
|
name = LiquidFuel
|
|
ratio = 0.9
|
|
DrawGauge = True
|
|
}
|
|
PROPELLANT
|
|
{
|
|
name = Oxidizer
|
|
ratio = 1.1
|
|
}
|
|
atmosphereCurve
|
|
{
|
|
key = 0 300
|
|
key = 1 285
|
|
key = 9 0.001
|
|
}
|
|
}
|
|
|
|
MODULE
|
|
{
|
|
name = ModuleAlternator
|
|
RESOURCE
|
|
{
|
|
name = ElectricCharge
|
|
rate = 5.0
|
|
}
|
|
}
|
|
|
|
MODULE
|
|
{
|
|
name = ModulePartVariants
|
|
baseVariant = Size1p5Bare
|
|
VARIANT
|
|
{
|
|
name = Bare
|
|
displayName = #LOC_Restock_variant-engine_compact
|
|
primaryColor = #999999
|
|
secondaryColor = #999999
|
|
GAMEOBJECTS
|
|
{
|
|
Kodiak1875 = false
|
|
Kodiak125 = false
|
|
KodiakCompact = true
|
|
UrsaBoattail125 = false
|
|
UrsaBoattail1875 = false
|
|
UrsaBoattailCommon = false
|
|
UrsaShroud1875 = false
|
|
UrsaShroud125 = false
|
|
Shroud1p5x2 = true
|
|
Shroud1x0 = false
|
|
Shroud1p5x0 = false
|
|
}
|
|
NODES
|
|
{
|
|
node_stack_bottom = 0.0, -1.125, 0.0, 0.0, -1.0, 0.0, 1
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
// 1.25 covered
|
|
name = ShroudSmall
|
|
displayName = #LOC_Restock_variant-engine_boattail_size1
|
|
primaryColor = #ffffff
|
|
secondaryColor = #f69449
|
|
GAMEOBJECTS
|
|
{
|
|
Kodiak1875 = false
|
|
Kodiak125 = false
|
|
KodiakCompact = false
|
|
UrsaBoattail125 = true
|
|
UrsaBoattail1875 = false
|
|
UrsaBoattailCommon = true
|
|
UrsaShroud1875 = false
|
|
UrsaShroud125 = false
|
|
Shroud1p5x2 = false
|
|
Shroud1x0 = true
|
|
Shroud1p5x0 = false
|
|
}
|
|
NODES
|
|
{
|
|
node_stack_bottom = 0.0, -1.292, 0.0, 0.0, -1.0, 0.0, 1
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
// 1.25 bare
|
|
name = Size1Bare
|
|
displayName = #LOC_Restock_variant-engine_size1
|
|
primaryColor = #999999
|
|
secondaryColor = #f69449
|
|
GAMEOBJECTS
|
|
{
|
|
Kodiak1875 = false
|
|
Kodiak125 = true
|
|
KodiakCompact = false
|
|
UrsaBoattail125 = false
|
|
UrsaBoattail1875 = false
|
|
UrsaBoattailCommon = false
|
|
UrsaShroud1875 = false
|
|
UrsaShroud125 = true
|
|
Shroud1p5x2 = false
|
|
Shroud1x0 = false
|
|
Shroud1p5x0 = false
|
|
}
|
|
NODES
|
|
{
|
|
node_stack_bottom = 0.0, -1.292, 0.0, 0.0, -1.0, 0.0, 1
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
// 1.875 covered
|
|
name = ShroudBig
|
|
displayName = #LOC_Restock_variant-engine_boattail_size1p5
|
|
primaryColor = #ffffff
|
|
secondaryColor = #f69449
|
|
sizeGroup = GroupB
|
|
GAMEOBJECTS
|
|
{
|
|
Kodiak1875 = false
|
|
Kodiak125 = false
|
|
KodiakCompact = false
|
|
UrsaBoattail125 = false
|
|
UrsaBoattail1875 = true
|
|
UrsaBoattailCommon = true
|
|
UrsaShroud1875 = false
|
|
UrsaShroud125 = false
|
|
Shroud1p5x2 = false
|
|
Shroud1x0 = false
|
|
Shroud1p5x0 = true
|
|
}
|
|
NODES
|
|
{
|
|
node_stack_bottom = 0.0, -1.3, 0.0, 0.0, -1.0, 0.0, 2
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
// 1.875 bare
|
|
name = Size1p5Bare
|
|
displayName = #LOC_Restock_variant-engine_size1p5
|
|
primaryColor = #999999
|
|
secondaryColor = #f69449
|
|
GAMEOBJECTS
|
|
{
|
|
Kodiak1875 = true
|
|
Kodiak125 = false
|
|
KodiakCompact = false
|
|
UrsaBoattail125 = false
|
|
UrsaBoattail1875 = false
|
|
UrsaBoattailCommon = false
|
|
UrsaShroud1875 = true
|
|
UrsaShroud125 = false
|
|
Shroud1p5x2 = false
|
|
Shroud1x0 = false
|
|
Shroud1p5x0 = false
|
|
}
|
|
NODES
|
|
{
|
|
node_stack_bottom = 0.0, -1.292, 0.0, 0.0, -1.0, 0.0, 1
|
|
}
|
|
}
|
|
}
|
|
|
|
MODULE
|
|
{
|
|
name = ModuleJettison
|
|
jettisonName = Shroud1p5x2,Shroud1p5x0,Shroud1x0,UrsaShroud125,UrsaShroud1875
|
|
bottomNodeName = bottom
|
|
isFairing = True
|
|
jettisonedObjectMass = 0.1
|
|
jettisonForce = 5
|
|
jettisonDirection = 0 0 1
|
|
useMultipleDragCubes = false
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleSurfaceFX
|
|
thrustProviderModuleIndex = 0
|
|
fxMax = 0.5
|
|
maxDistance = 30
|
|
falloff = 1.7
|
|
thrustTransformName = thrustTransform
|
|
}
|
|
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 = ModuleColorChanger
|
|
moduleID = heatColor
|
|
animRate = 0.025
|
|
shaderProperty = _EmissiveColor
|
|
excludedRenderers = EngineCore
|
|
toggleInEditor = false
|
|
toggleInFlight = false
|
|
redCurve
|
|
{
|
|
key = 0 0 1 1
|
|
key = 1 1 1 1
|
|
}
|
|
greenCurve
|
|
{
|
|
key = 0 0 1 1
|
|
key = 1 1 1 1
|
|
}
|
|
blueCurve
|
|
{
|
|
key = 0 0 1 1
|
|
key = 1 1 1 1
|
|
}
|
|
alphaCurve
|
|
{
|
|
key = 0 0 1 1
|
|
key = 1 1 1 1
|
|
}
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModuleColorChanger
|
|
moduleID = throttleColor
|
|
animRate = 1
|
|
shaderProperty = _TintColor
|
|
includedRenderers = EngineCore
|
|
toggleInEditor = false
|
|
toggleInFlight = false
|
|
redCurve
|
|
{
|
|
key = 0 0
|
|
key = 1 1
|
|
}
|
|
greenCurve
|
|
{
|
|
key = 0 0
|
|
key = 1 1
|
|
}
|
|
blueCurve
|
|
{
|
|
key = 0 0
|
|
key = 1 1
|
|
}
|
|
alphaCurve
|
|
{
|
|
key = 0 0
|
|
key = 1 1
|
|
}
|
|
}
|
|
MODULE
|
|
{
|
|
name = FXModuleThrottleEffects
|
|
fxModuleNames = heatColor
|
|
responseSpeed = 1.0
|
|
dependOnEngineState = True
|
|
dependOnThrottle = True
|
|
}
|
|
MODULE
|
|
{
|
|
name = FXModuleThrottleEffects
|
|
fxModuleNames = throttleColor
|
|
responseSpeed = 1.0
|
|
dependOnEngineState = True
|
|
dependOnThrottle = True
|
|
}
|
|
}
|