Functional tanks and SRBs

This commit is contained in:
Chris Adderley 2019-01-25 21:31:49 -08:00
parent 55206b7992
commit 38baee3ba3
19 changed files with 302 additions and 12 deletions

View File

@ -13,10 +13,78 @@ PART
model = ReStockPlus/Assets/Engine/restock-engine-mallet-1
}
node_stack_bottom = 0.0, -0.9975, 0.0, 0.0, -1.0, 0.0, 0
node_stack_top = 0.0, 0.7575, 0.0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -1.4, 0.0, 0.0, -1.0, 0.0, 0
node_stack_top = 0.0, 1.71, 0.0, 0.0, 1.0, 0.0, 0
node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0
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-mallet-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStockPlus/FX/restock-fx-srb-tiny-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.35
speed = 1.0 1.0
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStock/FX/restock-fx-srb-smoke-1
transformName = fxTransformSmoke
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
}
}
}
TechRequired = start
entryCost = 0
cost = 200
@ -51,7 +119,7 @@ PART
useEngineResponseTime = True
engineAccelerationSpeed = 10.0
allowShutdown = False
fxOffset = 0, 0, 0.12
runningEffectName = fx-mallet-running
// Possible EngineType values:
// Generic, SolidBooster, LiquidFuel, Piston, Turbine, ScramJet, Electric, Nuclear, MonoProp
@ -295,4 +363,81 @@ PART
jettisonDirection = 0 0 1
useMultipleDragCubes = false
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = heatColor
responseSpeed = 0.005
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 0.05
shaderProperty = _EmissiveColor
excludedRenderers = 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 = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _EmissiveColor
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
}
}
}

View File

@ -12,9 +12,77 @@ PART
{
model = ReStockPlus/Assets/Engine/restock-engine-striker-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-striker-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStockPlus/FX/restock-fx-srb-tiny-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.35
speed = 1.0 1.0
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStock/FX/restock-fx-srb-smoke-1
transformName = fxTransformSmoke
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
}
node_stack_bottom = 0.0, -0.9975, 0.0, 0.0, -1.0, 0.0, 0
node_stack_top = 0.0, 0.7575, 0.0, 0.0, 1.0, 0.0, 0
}
}
node_stack_bottom = 0.0, -3.08, 0.0, 0.0, -1.0, 0.0, 0
node_stack_top = 0.0, 2.8035, 0.0, 0.0, 1.0, 0.0, 0
node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0
TechRequired = start
@ -52,7 +120,7 @@ PART
engineAccelerationSpeed = 10.0
allowShutdown = False
fxOffset = 0, 0, 0.12
runningEffectName = fx-striker-running
// Possible EngineType values:
// Generic, SolidBooster, LiquidFuel, Piston, Turbine, ScramJet, Electric, Nuclear, MonoProp
EngineType = SolidBooster
@ -295,4 +363,81 @@ PART
jettisonDirection = 0 0 1
useMultipleDragCubes = false
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = heatColor
responseSpeed = 0.005
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 0.05
shaderProperty = _EmissiveColor
excludedRenderers = 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 = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _EmissiveColor
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
}
}
}

View File

@ -16,8 +16,8 @@ PART
// Attachment
attachRules = 1,1,1,1,0
node_stack_top = 0.0, 0.48, 0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -0.48, 0, 0.0, -1.0, 0.0, 0
node_stack_top = 0.0, 1.3941896, 0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -1.3941896, 0, 0.0, -1.0, 0.0, 0
node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0
// Tech

View File

@ -16,8 +16,8 @@ PART
// Attachment
attachRules = 1,1,1,1,0
node_stack_top = 0.0, 0.48, 0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -0.48, 0, 0.0, -1.0, 0.0, 0
node_stack_top = 0.0, 0.6970948, 0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -0.6970948, 0, 0.0, -1.0, 0.0, 0
node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0
// Tech

View File

@ -16,8 +16,8 @@ PART
// Attachment
attachRules = 1,1,1,1,0
node_stack_top = 0.0, 0.48, 0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -0.48, 0, 0.0, -1.0, 0.0, 0
node_stack_top = 0.0, 0.3485474, 0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -0.3485474, 0, 0.0, -1.0, 0.0, 0
node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0
// Tech