mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-06-11 05:54:07 +00:00
460 lines
8.5 KiB
INI
460 lines
8.5 KiB
INI
|
// ReStock+ 0.2.0
|
||
|
// 1.875m SRB for post-1.8 (mirrors Pollux)
|
||
|
PART
|
||
|
{
|
||
|
name = restock-srb-anvil-1
|
||
|
module = Part
|
||
|
author = Chris Adderley (Nertea)
|
||
|
rescaleFactor = 1
|
||
|
scale = 1
|
||
|
MODEL
|
||
|
{
|
||
|
model = ReStock/Assets/Engine/restock-srb-castor-1
|
||
|
}
|
||
|
EFFECTS
|
||
|
{
|
||
|
engage
|
||
|
{
|
||
|
AUDIO
|
||
|
{
|
||
|
channel = Ship
|
||
|
clip = sound_vent_medium
|
||
|
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
|
||
|
}
|
||
|
}
|
||
|
fx-anvil-running
|
||
|
{
|
||
|
AUDIO
|
||
|
{
|
||
|
channel = Ship
|
||
|
clip = sound_rocket_hard
|
||
|
volume = 0.0 0.0
|
||
|
volume = 0.01 0.4
|
||
|
volume = 1.0 1.0
|
||
|
pitch = 0.0 0.2
|
||
|
pitch = 0.01 0.6
|
||
|
pitch = 1.0 1.8
|
||
|
loop = true
|
||
|
}
|
||
|
MODEL_MULTI_PARTICLE
|
||
|
{
|
||
|
name = core
|
||
|
modelName = ReStockPlus/FX/restock-fx-srb-anvil
|
||
|
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.35
|
||
|
speed = 1.0 1.0
|
||
|
}
|
||
|
PREFAB_PARTICLE
|
||
|
{
|
||
|
prefabName = fx_smokeTrail_veryLarge
|
||
|
transformName = smokePoint
|
||
|
emission = 0.0 0.0
|
||
|
emission = 0.05 0.0
|
||
|
emission = 0.075 0.25
|
||
|
emission = 1.0 1.25
|
||
|
speed = 0.0 0.25
|
||
|
speed = 1.0 1.0
|
||
|
localOffset = 0, 0, 1
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
node_stack_bottom = 0.0, -10.699, 0.0, 0.0, -1.0, 0.0, 1
|
||
|
node_stack_top = 0.0, 7.574, 0.0, 0.0, 1.0, 0.0, 1
|
||
|
node_attach = 0.0, 0.0, -0.9375, 0.0, 0.0, 1.0, 1
|
||
|
TechRequired = heavierRocketry
|
||
|
entryCost = 0
|
||
|
cost = 10500
|
||
|
category = Engine
|
||
|
subcategory = 0
|
||
|
title = #LOC_RestockPlus_restock-engine-srb-castor_title
|
||
|
description = #LOC_RestockPlus_restock-engine-srb-castor_description
|
||
|
attachRules = 1,1,1,1,0
|
||
|
mass = 10
|
||
|
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 = size1p5, srf
|
||
|
tags = #LOC_RestockPlus_restock-engine-srb-anvil_tags
|
||
|
MODULE
|
||
|
{
|
||
|
name = ModuleEnginesFX
|
||
|
thrustVectorTransformName = thrustTransform
|
||
|
throttleLocked = True
|
||
|
exhaustDamage = True
|
||
|
ignitionThreshold = 0.1
|
||
|
minThrust = 0
|
||
|
maxThrust = 2250
|
||
|
heatProduction = 545
|
||
|
useEngineResponseTime = True
|
||
|
engineAccelerationSpeed = 10.0
|
||
|
allowShutdown = False
|
||
|
fxOffset = 0, 0, 0.0
|
||
|
runningEffectName = fx-anvil-running
|
||
|
// 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 238
|
||
|
key = 1 212
|
||
|
key = 4 100
|
||
|
}
|
||
|
}
|
||
|
RESOURCE
|
||
|
{
|
||
|
name = SolidFuel
|
||
|
amount = 7200
|
||
|
maxAmount = 7200
|
||
|
}
|
||
|
MODULE
|
||
|
{
|
||
|
name = ModuleGimbal
|
||
|
gimbalTransformName = Gimbal
|
||
|
gimbalRange = 3
|
||
|
gimbalResponseSpeed = 5
|
||
|
useGimbalResponseSpeed = true
|
||
|
}
|
||
|
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.7
|
||
|
maxDistance = 50
|
||
|
falloff = 2
|
||
|
thrustTransformName = thrustTransform
|
||
|
}
|
||
|
MODULE
|
||
|
{
|
||
|
name = FXModuleThrottleEffects
|
||
|
fxModuleNames = heatColor
|
||
|
responseSpeed = 1.0
|
||
|
dependOnEngineState = True
|
||
|
dependOnThrottle = True
|
||
|
}
|
||
|
MODULE
|
||
|
{
|
||
|
name = FXModuleThrottleEffects
|
||
|
fxModuleNames = throttleColor
|
||
|
responseSpeed = 1.0
|
||
|
dependOnEngineState = True
|
||
|
dependOnThrottle = True
|
||
|
}
|
||
|
MODULE
|
||
|
{
|
||
|
name = ModuleColorChanger
|
||
|
moduleID = heatColor
|
||
|
animRate = 0.1
|
||
|
shaderProperty = _EmisiveColor
|
||
|
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 = FXModuleLookAtConstraint
|
||
|
CONSTRAINLOOKFX
|
||
|
{
|
||
|
targetName = UpperCyl001
|
||
|
rotatorsName = LowerCyl001
|
||
|
}
|
||
|
CONSTRAINLOOKFX
|
||
|
{
|
||
|
targetName = UpperCyl002
|
||
|
rotatorsName = LowerCyl002
|
||
|
}
|
||
|
CONSTRAINLOOKFX
|
||
|
{
|
||
|
targetName = LowerCyl001
|
||
|
rotatorsName = UpperCyl001
|
||
|
}
|
||
|
CONSTRAINLOOKFX
|
||
|
{
|
||
|
targetName = LowerCyl002
|
||
|
rotatorsName = UpperCyl002
|
||
|
}
|
||
|
}
|
||
|
}
|