Moving engines to ModuleEnginesFX, clean up patches

This commit is contained in:
cadderley
2018-07-20 15:04:46 -07:00
parent a35db99eb2
commit 7210f70082
20 changed files with 1658 additions and 245 deletions

View File

@ -1,29 +1,27 @@
// 3.75m orbital engine
// Corgi (3.75m orbital engine)
PART
{
// --- general parameters ---
name = restock-engine-375-3
name = restock-engine-375-corgi
module = Part
author = Chris Adderley
// --- asset parameters ---
MODEL
{
model = RestockPlus/Assets/Engine/restock-engine-375-3
model = RestockPlus/Assets/Engine/restock-engine-corgi
scale = 1.0, 1.0, 1.0
}
scale = 1.0
rescaleFactor = 1
// --- node definitions ---
node_stack_top = 0.0, 2.499, 0.0, 0.0, 1.0, 0.0, 3
node_stack_bottom = 0.0, -3.849, 0.0, 0.0, -1.0, 0.0, 3
// --- FX definitions ---
EFFECTS
{
engage
@ -64,7 +62,7 @@ PART
subcategory = 0
title = #LOC_RestockPlus_restock-engine-375-3_title
manufacturer = #autoLOC_501638
description = #LOC_RestockPlus_restock-engine-375-3_description
description = #LOC_RestockPlus_restock-engine-corgi_description
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,0,0
@ -82,7 +80,7 @@ PART
breakingForce = 5000
breakingTorque = 5000
tags = #LOC_RestockPlus_restock-engine-375-3_tags
tags = #LOC_RestockPlus_restock-engine-corgi_tags
MODULE
{
@ -126,15 +124,6 @@ PART
rate = 3.0
}
}
MODULE
{
name = FXModuleAnimateThrottle
animationName = GasCore25-2_Throttle
dependOnEngineState = True
responseSpeed = 1.0
layer = 2
}
MODULE
{
@ -379,5 +368,83 @@ PART
falloff = 2
thrustTransformName = thrustTransform
}
!MODULE[FXModuleAnimateThrottle] {}
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 1
key = 1 1
}
greenCurve
{
key = 0
key = 1 1
}
blueCurve
{
key = 0 0
key = 1 0
}
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 1
key = 1 1
}
greenCurve
{
key = 0 0
key = 1 1
}
blueCurve
{
key = 0 0
key = 1 0
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
}