From 7d102f30610fe3b79ed12f473313f74f2d0860f9 Mon Sep 17 00:00:00 2001 From: zorg2044 <39182212+zorg2044@users.noreply.github.com> Date: Fri, 16 Aug 2019 19:40:20 +0500 Subject: [PATCH] New kerolox upper, new engines Poodle, Spark, Twitch --- .../ReStock/Compatibility/RealPlume/Boar.cfg | 45 ---- .../Compatibility/RealPlume/Poodle.cfg | 32 +++ .../Prefabs/ReStock_KeroloxUpper.cfg | 245 ++++++++++++++++++ .../ReStock/Compatibility/RealPlume/Spark.cfg | 88 +++++++ .../Compatibility/RealPlume/Twitch.cfg | 87 +++++++ 5 files changed, 452 insertions(+), 45 deletions(-) create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Poodle.cfg create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/ReStock_KeroloxUpper.cfg create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Spark.cfg create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Twitch.cfg diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Boar.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Boar.cfg index bb54a4c6..9a69123b 100644 --- a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Boar.cfg +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Boar.cfg @@ -79,51 +79,6 @@ } } - - MODEL_MULTI_SHURIKEN_PERSIST - { - transformName = thrustTransform - localRotation = 6,0,0 - localPosition = 0,-0.62,-0.6 - fixedScale = 1 - energy = 1 - speed = 1 - emissionMult = 1 - name = FumeDark - modelName = Bluedog_DB/FX/PlumeParty/Engines/BDB/vernierFumeDark - fixedEmissions = false - sizeClamp = 50 - randomInitalVelocityOffsetMaxRadius = 0.2 - randConeEmit - { - density = 1 0 - density = 0.4 0.1 - density = 0.1 0.5 - density = 0.01 0.8 - density = 0.0 1 - } - linGrow - { - density = 1.0 0 - density = 0.0 4 - } - emission - { - power = 1.0 1 - power = 0.01 0.1 - power = 0.0 0.0 - } - speed - { - density = 1.0 1 - density = 0.0 0.8 - } - energy - { - density = 1.0 0.5 - density = 0.0 0.4 - } - } } } } diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Poodle.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Poodle.cfg new file mode 100644 index 00000000..a404556c --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Poodle.cfg @@ -0,0 +1,32 @@ +@PART[liquidEngine2-2_v2]:NEEDS[zRealPlume,SmokeScreen]:AFTER[zRealPlume] +{ + !EFFECTS{} + !PLUME + + @MODULE[ModuleEngines*] + { + @name = ModuleEnginesFX + %powerEffectName = ReStock_KeroloxUpper + !runningEffectName = DELETE + } + + PLUME + { + name = ReStock_KeroloxUpper + transformName = fxTransformPlume + localRotation = 90,0,0 + localPosition = 0,0,0 + emissionMult = 0.75 + energy = 1 + speed = 1 + + blazePosition = 0,0.3,0 + blazeScale = 0.5 + + plumePosition = 0,0,0 + plumeScale = 0.6 + + flarePosition = 0,0.2,0 + flareScale = 0.05 + } +} diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/ReStock_KeroloxUpper.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/ReStock_KeroloxUpper.cfg new file mode 100644 index 00000000..4fb203bb --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/ReStock_KeroloxUpper.cfg @@ -0,0 +1,245 @@ +//Kerolox Upper based on Eagle plume + +@PART[*]:HAS[@PLUME[ReStock_KeroloxUpper]]:AFTER[zRealPlume]:NEEDS[SmokeScreen] +{ + %EFFECTS + { + %ReStock_KeroloxUpper + { + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$../../../PLUME[ReStock_KeroloxUpper]/transformName$ + localRotation = #$../../../PLUME[ReStock_KeroloxUpper]/localRotation[0]$,$../../../PLUME[ReStock_KeroloxUpper]/localRotation[1]$,$../../../PLUME[ReStock_KeroloxUpper]/localRotation[2]$ + localPosition = #$../../../PLUME[ReStock_KeroloxUpper]/blazePosition[0]$,$../../../PLUME[ReStock_KeroloxUpper]/blazePosition[1]$,$../../../PLUME[ReStock_KeroloxUpper]/blazePosition[2]$ + fixedScale = #$../../../PLUME[ReStock_KeroloxUpper]/blazeScale$ + energy = #$../../../PLUME[ReStock_KeroloxUpper]/energy$ + speed = #$../../../PLUME[ReStock_KeroloxUpper]/speed$ + emissionMult = #$../../../PLUME[ReStock_KeroloxUpper]/emissionMult$ + // + name = blaze + modelName = ReStock/FX/PlumeParty/Engines/Generic/keroEagleBlaze + fixedEmissions = false + sizeClamp = 50 + randomInitalVelocityOffsetMaxRadius = 0.2 + decluster = true + emitOnUpdate = true + xyForce = 0 + speed + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 1 + density = #$@ReStockPlume/atmosphereKeys/key1$ 1 + density = #$@ReStockPlume/atmosphereKeys/key2$ 1 + density = #$@ReStockPlume/atmosphereKeys/key3$ 1 + density = #$@ReStockPlume/atmosphereKeys/key4$ 0.8 + density = #$@ReStockPlume/atmosphereKeys/key5$ 0.75 + + power = #$@ReStockPlume/PowerKeys/ignition$ 0.7 + power = #$@ReStockPlume/PowerKeys/deepThrottle$ 0.8 + power = #$@ReStockPlume/PowerKeys/maxThrottle$ 1.0 + + } + logGrow + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 0 + density = #$@ReStockPlume/atmosphereKeys/key1$ 2 + density = #$@ReStockPlume/atmosphereKeys/key2$ 4 + density = #$@ReStockPlume/atmosphereKeys/key3$ 15 + density = #$@ReStockPlume/atmosphereKeys/key4$ 15 + density = #$@ReStockPlume/atmosphereKeys/key5$ 15 + } + linGrow + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 0 + density = #$@ReStockPlume/atmosphereKeys/key1$ 0 + density = #$@ReStockPlume/atmosphereKeys/key2$ 3 + density = #$@ReStockPlume/atmosphereKeys/key3$ 5 + density = #$@ReStockPlume/atmosphereKeys/key4$ 5 + density = #$@ReStockPlume/atmosphereKeys/key5$ 2 + } + energy + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 1 + density = #$@ReStockPlume/atmosphereKeys/key3$ 1 + density = #$@ReStockPlume/atmosphereKeys/key4$ 1 + density = #$@ReStockPlume/atmosphereKeys/key5$ 0.7 + } + emission + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 0.5 + density = #$@ReStockPlume/atmosphereKeys/key1$ 0.5 + density = #$@ReStockPlume/atmosphereKeys/key2$ 0.5 + density = #$@ReStockPlume/atmosphereKeys/key3$ 0.5 + density = #$@ReStockPlume/atmosphereKeys/key4$ 0.5 + density = #$@ReStockPlume/atmosphereKeys/key5$ 0.25 + + power = #$@ReStockPlume/PowerKeys/startup$ 0 + power = #$@ReStockPlume/PowerKeys/flameout$ 0.35 + power = #$@ReStockPlume/PowerKeys/ignition$ 0.5 + power = #$@ReStockPlume/PowerKeys/deepThrottle$ 0.7 + power = #$@ReStockPlume/PowerKeys/maxThrottle$ 1.1 + } + + } + + + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$../../../PLUME[ReStock_KeroloxUpper]/transformName$ + localRotation = #$../../../PLUME[ReStock_KeroloxUpper]/localRotation[0]$,$../../../PLUME[ReStock_KeroloxUpper]/localRotation[1]$,$../../../PLUME[ReStock_KeroloxUpper]/localRotation[2]$ + localPosition = #$../../../PLUME[ReStock_KeroloxUpper]/plumePosition[0]$,$../../../PLUME[ReStock_KeroloxUpper]/plumePosition[1]$,$../../../PLUME[ReStock_KeroloxUpper]/plumePosition[2]$ + fixedScale = #$../../../PLUME[ReStock_KeroloxUpper]/plumeScale$ + energy = #$../../../PLUME[ReStock_KeroloxUpper]/energy$ + speed = #$../../../PLUME[ReStock_KeroloxUpper]/speed$ + emissionMult = #$../../../PLUME[ReStock_KeroloxUpper]/emissionMult$ + // + name = stream + modelName = ReStock/FX/PlumeParty/Engines/Generic/keroEagleStream + fixedEmissions = false + sizeClamp = 50 + randomInitalVelocityOffsetMaxRadius = 0.2 + xyForce = 0 + decluster = true + emitOnUpdate = true + speed + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 1 + density = #$@ReStockPlume/atmosphereKeys/key1$ 1 + density = #$@ReStockPlume/atmosphereKeys/key2$ 1 + density = #$@ReStockPlume/atmosphereKeys/key3$ 0.7 + density = #$@ReStockPlume/atmosphereKeys/key4$ 0.8 + density = #$@ReStockPlume/atmosphereKeys/key5$ 0.75 + + power = #$@ReStockPlume/PowerKeys/ignition$ 0.7 + power = #$@ReStockPlume/PowerKeys/deepThrottle$ 0.8 + power = #$@ReStockPlume/PowerKeys/maxThrottle$ 1.0 + + } + logGrow + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 0 + density = #$@ReStockPlume/atmosphereKeys/key1$ 2 + density = #$@ReStockPlume/atmosphereKeys/key2$ 4 + density = #$@ReStockPlume/atmosphereKeys/key3$ 15 + density = #$@ReStockPlume/atmosphereKeys/key4$ 15 + density = #$@ReStockPlume/atmosphereKeys/key5$ 15 + } + linGrow + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 0 + density = #$@ReStockPlume/atmosphereKeys/key1$ 0 + density = #$@ReStockPlume/atmosphereKeys/key2$ 3 + density = #$@ReStockPlume/atmosphereKeys/key3$ 5 + density = #$@ReStockPlume/atmosphereKeys/key4$ 5 + density = #$@ReStockPlume/atmosphereKeys/key5$ 2 + } + energy + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 1 + density = #$@ReStockPlume/atmosphereKeys/key3$ 1 + density = #$@ReStockPlume/atmosphereKeys/key4$ 1 + density = #$@ReStockPlume/atmosphereKeys/key5$ 0.7 + } + emission + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 0.8 + density = #$@ReStockPlume/atmosphereKeys/key1$ 0.5 + density = #$@ReStockPlume/atmosphereKeys/key2$ 0.5 + density = #$@ReStockPlume/atmosphereKeys/key3$ 0.25 + density = #$@ReStockPlume/atmosphereKeys/key4$ 0.25 + density = #$@ReStockPlume/atmosphereKeys/key5$ 0.2 + density = 0.0 0 + + power = #$@ReStockPlume/PowerKeys/startup$ 0 + power = #$@ReStockPlume/PowerKeys/flameout$ 0.35 + power = #$@ReStockPlume/PowerKeys/ignition$ 0.5 + power = #$@ReStockPlume/PowerKeys/deepThrottle$ 0.7 + power = #$@ReStockPlume/PowerKeys/maxThrottle$ 1.1 + } + } + + //Engine flare + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$../../../PLUME[ReStock_KeroloxUpper]/transformName$ + localRotation = #$../../../PLUME[ReStock_KeroloxUpper]/localRotation[0]$,$../../../PLUME[ReStock_KeroloxUpper]/localRotation[1]$,$../../../PLUME[ReStock_KeroloxUpper]/localRotation[2]$ + localPosition = #$../../../PLUME[ReStock_KeroloxUpper]/flarePosition[0]$,$../../../PLUME[ReStock_KeroloxUpper]/flarePosition[1]$,$../../../PLUME[ReStock_KeroloxUpper]/flarePosition[2]$ + fixedScale = #$../../../PLUME[ReStock_KeroloxUpper]/flareScale$ + emissionMult = #$../../../PLUME[ReStock_KeroloxUpper]/emissionMult$ + // + name = flare + modelName = ReStock/FX/PlumeParty/Engines/BDB/F1Flare + fixedEmissions = false + + randomInitalVelocityOffsetMaxRadius = 0.1 + speed = 0.5 + energy = 0.1 + size = 0.6 + xyForce = 0 + decluster = true + emitOnUpdate = true + + emission + { + power = #$@ReStockPlume/PowerKeys/startup$ 0 + power = #$@ReStockPlume/PowerKeys/flameout$ 0.5 + power = #$@ReStockPlume/PowerKeys/ignition$ 0.7 + power = #$@ReStockPlume/PowerKeys/deepThrottle$ 1 + power = #$@ReStockPlume/PowerKeys/maxThrottle$ 1.5 + } + } + + AUDIO + { + channel = Ship + clip = RealPlume/KW_Sounds/sound_altloop + volume = 0.0 0.0 + volume = #$../../../PLUME[ReStock_KeroloxUpper]/plumeScale$ + @volume,1 ^= :^:1.0 : + pitch = 0.0 1.0 + pitch = 1.0 1.0 + loop = true + } + } + } +} +@PART[*]:HAS[@PLUME[ReStock_KeroloxUpper],@EFFECTS:HAS[!engage]]:AFTER[zRealPlume]:NEEDS[SmokeScreen] +{ + @EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = RealPlume/KW_Sounds/sound_liq10 + volume = #$../../../PLUME[ReStock_KeroloxUpper]/plumeScale$ + pitch = 1.0 + loop = false + } + } + disengage + { + AUDIO + { + channel = Ship + clip = sound_vent_soft + volume = 1.0 + pitch = 2.0 + loop = false + } + } + flameout + { + AUDIO + { + channel = Ship + clip = sound_explosion_low + volume = 1.0 + pitch = 2.0 + loop = false + } + } + } diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Spark.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Spark.cfg new file mode 100644 index 00000000..aa4fd2c2 --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Spark.cfg @@ -0,0 +1,88 @@ +@PART[liquidEngineMini_v2]:NEEDS[zRealPlume,SmokeScreen]:AFTER[zRealPlume] +{ + !EFFECTS{} + !PLUME + + @MODULE[ModuleEngines*] + { + @name = ModuleEnginesFX + %powerEffectName = ReStock_KeroloxUpper + !runningEffectName = DELETE + } + + PLUME + { + name = ReStock_KeroloxUpper + transformName = fxTransformPlume + localRotation = 90,0,0 + localPosition = 0,0,0 + emissionMult = 1.5 + energy = 1 + speed = 1 + + blazePosition = 0,0,0 + blazeScale = 0.2 + + plumePosition = 0,0,0 + plumeScale = 0.2 + + flarePosition = 0,0,0 + flareScale = 0.02 + } +} + +//Gas generator effect +@PART[liquidEngineMini_v2]:AFTER[zzRealPlume]:NEEDS[zRealPlume,SmokeScreen] +{ + %EFFECTS + { + %ReStock_KeroloxUpper + { + MODEL_MULTI_SHURIKEN_PERSIST + { + transformName = fxTransformTurbo + localRotation = 90,0,0 + localPosition = 0,0,0 + fixedScale = 0.2 + energy = 1 + speed = 1 + emissionMult = 2 + name = turbopump + modelName = ReStock/FX/PlumeParty/Engines/BDB/vernierPump + fixedEmissions = false + sizeClamp = 50 + randomInitalVelocityOffsetMaxRadius = 0.2 + randConeEmit + { + density = 1 0.2 + density = 0 0.5 + } + linGrow + { + density = 1.0 0 + density = 0.5 0.2 + density = 0.2 1.5 + density = 0.0 3 + } + emission + { + power = 1.0 1 + power = 0.01 0.1 + power = 0.0 0.0 + } + speed + { + density = 1.0 1 + density = 0.0 0.8 + } + energy + { + density = 1.0 1 + density = 0.0 0.8 + } + + } + + } + } +} diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Twitch.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Twitch.cfg new file mode 100644 index 00000000..aef8820d --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Twitch.cfg @@ -0,0 +1,87 @@ +@PART[smallRadialEngine_v2]:NEEDS[zRealPlume,SmokeScreen]:AFTER[zRealPlume] +{ + !EFFECTS{} + !PLUME + + @MODULE[ModuleEngines*] + { + @name = ModuleEnginesFX + %powerEffectName = ReStock_KeroloxUpper + !runningEffectName = DELETE + } + + PLUME + { + name = ReStock_KeroloxUpper + transformName = fxTransformPlume + localRotation = 90,0,0 + localPosition = 0,0,0 + emissionMult = 1.5 + energy = 1 + speed = 1 + + blazePosition = 0,0,0 + blazeScale = 0.2 + + plumePosition = 0,0,0 + plumeScale = 0.2 + + flarePosition = 0,0,0 + flareScale = 0.02 + } +} + +//Gas generator effect +@PART[smallRadialEngine_v2]:AFTER[zzRealPlume]:NEEDS[zRealPlume,SmokeScreen] +{ + %EFFECTS + { + %ReStock_KeroloxUpper + { + MODEL_MULTI_SHURIKEN_PERSIST + { + transformName = fxTransformTurbo + localRotation = 90,0,0 + localPosition = 0,0,0 + fixedScale = 0.2 + energy = 1 + speed = 1 + emissionMult = 2 + name = turbopump + modelName = ReStock/FX/PlumeParty/Engines/BDB/vernierPump + fixedEmissions = false + sizeClamp = 50 + randomInitalVelocityOffsetMaxRadius = 0.2 + randConeEmit + { + density = 1 0.2 + density = 0 0.5 + } + linGrow + { + density = 1.0 0 + density = 0.5 0.2 + density = 0.2 1.5 + density = 0.0 3 + } + emission + { + power = 1.0 1 + power = 0.01 0.1 + power = 0.0 0.0 + } + speed + { + density = 1.0 1 + density = 0.0 0.8 + } + energy + { + density = 1.0 1 + density = 0.0 0.8 + } + + } + } + } +}