From ad79d33f8fac0dfcb897eebb0fea0cb869138d27 Mon Sep 17 00:00:00 2001 From: zorg2044 <39182212+zorg2044@users.noreply.github.com> Date: Wed, 11 Sep 2019 21:50:59 +0500 Subject: [PATCH 1/2] Upload new Hypergolic lower red plume for UDMH engines --- .../Hypergolic_LowerRed_shock.cfg | 613 ++++++++++++++++++ .../Hypergolic_UpperYellow.cfg | 5 + 2 files changed, 618 insertions(+) create mode 100644 GameData/RealPlume/000_Generic_Plumes/Hypergolic_LowerRed_shock.cfg diff --git a/GameData/RealPlume/000_Generic_Plumes/Hypergolic_LowerRed_shock.cfg b/GameData/RealPlume/000_Generic_Plumes/Hypergolic_LowerRed_shock.cfg new file mode 100644 index 0000000..f7ce242 --- /dev/null +++ b/GameData/RealPlume/000_Generic_Plumes/Hypergolic_LowerRed_shock.cfg @@ -0,0 +1,613 @@ +//Prefab plume for twin chamber Titan LR87 lower stage engines. +//A more complex variant that uses multiple plume segments to make realistic shock cones. +//Author: Zorg + + +@PART[*]:HAS[@PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]]:AFTER[zRealPlume]:NEEDS[SmokeScreen] +{ + %EFFECTS + { + %Hypergolic_LowerRed + { + + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/transformName$ + localRotation = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/localRotation$ + localPosition = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/flarePosition$ + fixedScale = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/flareScale$ + // + name = flare + modelName = RealPlume/Jade_FX/Engines/BlueOrigin/hydroSLLamp + sizeClamp = 50 + randomInitalVelocityOffsetMaxRadius = 0 + decluster = true + emitOnUpdate = true + + energy = 0.5 + speed = 0.5 + emissionMult = 0.5 + + emission + { + power = 0.0 0 + power = 0.001 0.5 + power = 0.1 0.6 + power = 0.2 0.7 + power = 1.0 1.5 + } + + } + + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/transformName$ + localRotation = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/localRotation$ + localPosition = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/plumePosition$ + fixedScale = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/plumeScale$ + energy = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/energy$ + speed = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/speed$ + emissionMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/emissionMult$ + alphaMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/alphaMult$ + saturationMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/saturationMult$ + // + name = plume + modelName = RealPlume/Jade_FX/Engines/Turbine/afterburnJ79Outer //BDB/TitanSLStream + fixedEmissions = false + sizeClamp = 50 + decluster = true + emitOnUpdate = true + xyForce = 0 + saturationMult + { + density = 0.7 1 + density = 0.52 0.9 + density = 0.6 0.7 + } + offset + { + density = 0.19 0 + density = 0.02 0.3 + } + speed + { + density = 0.7 1.2 + density = 0.52 1.2 + density = 0.02 0.7 + power = 0.1 0.6 + power = 0.2 0.8 + power = 1.0 1.0 + } + logGrow + { + density = 0.7 0 + density = 0.52 2 + density = 0.19 20 + density = 0.07 20 + density = 0.045 25 + density = 0.02 35 + } + zForce + { + density = 0.7 1 + density = 0.52 1.01 + density = 0.19 1.02 + density = 0.07 1.03 + density = 0.045 1.04 + density = 0.02 1 + } + linGrow + { + density = 0.7 1.5 + density = 0.52 1.5 + density = 0.19 3 + density = 0.07 5 + density = 0.045 5 + density = 0.02 2 + } + energy + { + density = 0.7 1.2 + density = 0.07 1 + density = 0.045 1 + density = 0.02 0.5 + } + emission + { + density = 0.7 1.5 + density = 0.52 1.5 + density = 0.19 0.5 + density = 0.07 0.5 + density = 0.045 0.5 + density = 0.02 0.5 + power = 0.0 0 + power = 0.001 0.0 + power = 0.1 0.6 + power = 0.2 0.9 + power = 1.0 1 + } + + + } + + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/transformName$ + localRotation = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/localRotation$ + localPosition = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/plumePosition$ + fixedScale = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/plumeScale$ + energy = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/energy$ + speed = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/speed$ + emissionMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/emissionMult$ + alphaMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/alphaMult$ + saturationMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/saturationMult$ + // + name = shock1 + modelName = RealPlume/Jade_FX/Engines/BDB/TitanSLStream + fixedEmissions = false + sizeClamp = 50 + decluster = true + emitOnUpdate = true + sizeClamp = 50 + offset = 0 + speed + { + density = 1.0 0.5 + density = 0.011 0.5 + power = 0.1 0.4 + power = 0.2 0.6 + power = 1 1.0 + } + energy + { + density = 1.0 0.5 + density = 0.0 0.5 + } + logGrow + { + density = 0.7 8 + density = 0.52 9.5 + density = 0.19 10 + } + linGrow + { + density = 0.7 -6 + density = 0.52 -6 + density = 0.07 -6 + } + emission + { + power = 0.001 0 + power = 0.1 0.1 + power = 0.2 0.9 + } + xyForce + { + density = 1 0 + density = 0 0 + } + saturationMult + { + density = 1.0 0.8 + density = 0.0 0.8 + } + } + + +MODEL_MULTI_SHURIKEN_PERSIST[shock1] + { + @name = shock2 + @offset = 2.9 + %offset + { + power = 0.1 1.16 + power = 0.2 1.74 + power = 1 2.9 + } + @emissionMult *= 0.75 + } + + +MODEL_MULTI_SHURIKEN_PERSIST[shock1] + { + @name = shock3 + @offset = 5.5 + %offset + { + power = 0.1 2.2 + power = 0.2 3.3 + power = 1 5.5 + } + @emissionMult *= 0.65 + } + +MODEL_MULTI_SHURIKEN_PERSIST[shock1] + { + @name = shock4 + @offset = 8 + %offset + { + power = 0.1 3.2 + power = 0.2 4.8 + power = 1 8 + } + @emissionMult *= 0.6 + } + + //Fade out the shock cones one by one starting with last. Lower alpha to fade out and THEN cut emission. + @MODEL_MULTI_SHURIKEN_PERSIST[shock4] + { + %alphaMult + { + density = 0.8 0.5 + density = 0.75 0.3 + density = 0.64 0 + } + %emission + { + density = 0.8 2 + density = 0.62 2 + density = 0.60 0 + } + } + @MODEL_MULTI_SHURIKEN_PERSIST[shock3] + { + %alphaMult + { + density = 0.75 1 + density = 0.64 0.7 + density = 0.6 0 + } + %emission + { + density = 0.75 2 + density = 0.6 2 + density = 0.54 0 + } + } + @MODEL_MULTI_SHURIKEN_PERSIST[shock2] + { + %alphaMult + { + density = 0.64 1 + density = 0.60 0.7 + density = 0.54 0 + } + %emission + { + density = 0.64 2 + density = 0.58 2 + density = 0.50 0 + } + } + @MODEL_MULTI_SHURIKEN_PERSIST[shock1] + { + %alphaMult + { + density = 0.60 1 + density = 0.55 0.7 + density = 0.50 0 + } + %emission + { + density = 0.6 2.2 + density = 0.48 2.2 + density = 0.45 0 + } + } + + + //Start point of shock cones + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/transformName$ + localRotation = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/localRotation$ + localPosition = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/plumePosition$ + fixedScale = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/plumeScale$ + energy = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/energy$ + speed = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/speed$ + emissionMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/emissionMult$ + alphaMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/alphaMult$ + saturationMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/saturationMult$ + offset = 2.2 + + name = dia1 + modelName = RealPlume/Jade_FX/Engines/BDB/vernierPump + fixedEmissions = false + sizeClamp = 50 + + linGrow + { + density = 1.0 3 + density = 0.0 3 + } + emission + { + power = 0.001 0 + power = 0.1 0.1 + power = 0.2 1 + } + speed + { + density = 1.0 0.8 + density = 0.0 0.8 + power = 0.1 0.4 + power = 0.2 0.6 + power = 1 1.0 + } + energy + { + density = 1.0 0.8 + density = 0.0 0.8 + } + + + } + + +MODEL_MULTI_SHURIKEN_PERSIST[dia1] + { + @name = dia2 + @offset = 5 + offset + { + power = 0.1 2 + power = 0.2 3 + power = 1 5 + } + } + +MODEL_MULTI_SHURIKEN_PERSIST[dia1] + { + @name = dia3 + @offset = 7.5 + offset + { + power = 0.1 3 + power = 0.2 4.5 + power = 1 7.5 + } + } + @MODEL_MULTI_SHURIKEN_PERSIST[dia1] + { + offset + { + power = 0.1 0.88 + power = 0.2 1.32 + power = 1 2.2 + } + } + + //Fade out the shock cones one by one starting with last + @MODEL_MULTI_SHURIKEN_PERSIST[dia3] + { + %alphaMult + { + density = 0.8 1 + density = 0.75 0.5 + density = 0.64 0 + } + %emission + { + density = 0.8 1 + density = 0.62 0.8 + density = 0.60 0.8 + } + } + @MODEL_MULTI_SHURIKEN_PERSIST[dia2] + { + %emission + { + density = 0.75 1 + density = 0.60 0.8 + density = 0.58 0 + } + %alphaMult + { + density = 0.75 1.5 + density = 0.64 1 + density = 0.6 0 + } + } + + @MODEL_MULTI_SHURIKEN_PERSIST[dia1] + { + %emission + { + density = 0.64 1 + density = 0.52 0.8 + density = 0.50 0 + } + %alphaMult + { + density = 0.64 2 + density = 0.60 1.5 + density = 0.54 0 + } + } + + //Vacuum stream effect to make vac appearance look nicer + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/transformName$ + localRotation = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/localRotation$ + localPosition = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/fumePosition$ + fixedScale = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/fumeScale$ + energy = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/energy$ + speed = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/speed$ + emissionMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/emissionMult$ + alphaMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/alphaMult$ + saturationMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/saturationMult$ + // + name = fume + modelName = RealPlume/Jade_FX/Engines/Hypergolic/VacFizzleFumeRed + sizeClamp = 50 + randomInitalVelocityOffsetMaxRadius = 0 + randConeEmit = 0 + decluster = true + emitOnUpdate = true + alphaMult + { + density = 0.52 0.7 + density = 0.02 0.5 + } + emission + { + density = 0.19 0 + density = 0.07 1 + density = 0.045 1 + density = 0.02 1 + + power = 0.0 0 + power = 0.001 0 + power = 0.1 0.3 + power = 0.2 0.5 + power = 1.0 1 + } + speed + { + density = 0.19 3 + density = 0.07 3 + density = 0.045 3 + density = 0.02 2 + + power = 0.0 0.7 + power = 0.001 0.7 + power = 0.1 0.75 + power = 0.2 0.8 + power = 1.0 1 + } + energy + { + density = 0.19 1 + density = 0.07 1 + density = 0.045 1 + density = 0.02 0.7 + } + linGrow + { + density = 0.19 -2 + density = 0.07 -1.3 + density = 0.045 -1 + density = 0.02 -0.5 + } + } + + //flame effect on ascent + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/transformName$ + localRotation = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/localRotation$ + localPosition = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/blazePosition$ + fixedScale = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/blazeScale$ + energy = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/energy$ + speed = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/speed$ + emissionMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/emissionMult$ + alphaMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/alphaMult$ + saturationMult = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/saturationMult$ + // + name = blaze + modelName = RealPlume/Jade_FX/Engines/BDB/TitanSLBlaze + + fixedEmissions = false + sizeClamp = 50 + randomInitalVelocityoffsetMaxRadius = 2 + offset = -5 + xyForce + { + density = 1 0 + density = 0 0 + } + alphaMult + { + density = 0.8 0.5 + density = 0.6 0.2 + density = 0.52 0 + + power = 0.0 0 + power = 0.001 0 + power = 0.1 0 + power = 0.2 0.5 + power = 1.0 1 + } + emission + { + density = 0.7 5 + density = 0.6 5 + density = 0.50 5 + density = 0.48 0 + + power = 0.0 0 + power = 0.001 0.0 + power = 0.1 0.3 + power = 0.2 0.5 + power = 1.0 1 + } + logGrow + { + density = 0.52 0 + density = 0.19 1.2 + } + speed + { + + power = 0.1 0.7 + power = 0.2 0.7 + power = 1.0 1.6 + } + } + + AUDIO + { + name = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/plumeIdentifier$-audio + channel = Ship + clip = RealPlume/KW_Sounds/sound_altloop2 + volume = 0.0 0.0 + volume = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/plumeScale$ + @volume,1 ^= :^:1.0 : + pitch = 0.0 1.0 + pitch = 1.0 1.0 + loop = true + } + } + &engage + { + AUDIO + { + channel = Ship + clip = RealPlume/KW_Sounds/sound_liq1 + volume = #$/PLUME[Hypergolic_LowerRed]:HAS[~processed[*]]/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 + } + } + } + @PLUME[Hypergolic_LowerRed]:HAS[~processed[*]] + { + processed = true + } + MM_PATCH_LOOP { } +} diff --git a/GameData/RealPlume/000_Generic_Plumes/Hypergolic_UpperYellow.cfg b/GameData/RealPlume/000_Generic_Plumes/Hypergolic_UpperYellow.cfg index e87f71b..5f608da 100644 --- a/GameData/RealPlume/000_Generic_Plumes/Hypergolic_UpperYellow.cfg +++ b/GameData/RealPlume/000_Generic_Plumes/Hypergolic_UpperYellow.cfg @@ -118,6 +118,11 @@ sizeClamp = 50 decluster = true emitOnUpdate = true + saturationMult + { + density = 0.7 0.6 + density = 0.02 0.6 + } xyForce { density = 1 0 From 9ed34a0523a759f56cdcdc19752a435b14640174 Mon Sep 17 00:00:00 2001 From: zorg2044 <39182212+zorg2044@users.noreply.github.com> Date: Thu, 12 Sep 2019 14:51:34 +0500 Subject: [PATCH 2/2] minor audio and plume tweaks. Switch Hypergol upper yellow sound to sound_altloop --- .../000_Generic_Plumes/Cryogenic_UpperBlue_CE.cfg | 15 +++++++++++---- .../Hypergolic_LowerRed_shock.cfg | 14 ++++++++++++++ .../000_Generic_Plumes/Hypergolic_UpperYellow.cfg | 2 +- 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/GameData/RealPlume/000_Generic_Plumes/Cryogenic_UpperBlue_CE.cfg b/GameData/RealPlume/000_Generic_Plumes/Cryogenic_UpperBlue_CE.cfg index 8b24f21..bcd64bd 100644 --- a/GameData/RealPlume/000_Generic_Plumes/Cryogenic_UpperBlue_CE.cfg +++ b/GameData/RealPlume/000_Generic_Plumes/Cryogenic_UpperBlue_CE.cfg @@ -228,12 +228,19 @@ { name = #$/PLUME[Cryogenic_UpperBlue_CE]:HAS[~processed[*]]/plumeIdentifier$-audio channel = Ship - clip = RealPlume/KW_Sounds/sound_altloop - volume = 0.0 0.0 - volume = #$/PLUME[Cryogenic_UpperBlue_CE]:HAS[~processed[*]]/plumeScale$ - @volume,1 ^= :^:1.0 : + clip = RealPlume/NFP_Sounds/sound_altloop + volume = 0.0 0.0 + volume = #0.01 $/PLUME[Cryogenic_UpperBlue_CE]:HAS[~processed[*]]/plumeScale$ + volume = #0.5 $/PLUME[Cryogenic_UpperBlue_CE]:HAS[~processed[*]]/plumeScale$ + volume = #1.0 $/PLUME[Cryogenic_UpperBlue_CE]:HAS[~processed[*]]/plumeScale$ + + @volume,1[1, ] *= 0.2 + @volume,2[1, ] *= 0.4 + @volume,3[1, ] *= 1.5 + pitch = 0.0 1.0 pitch = 1.0 1.0 + loop = true } } diff --git a/GameData/RealPlume/000_Generic_Plumes/Hypergolic_LowerRed_shock.cfg b/GameData/RealPlume/000_Generic_Plumes/Hypergolic_LowerRed_shock.cfg index f7ce242..b00189e 100644 --- a/GameData/RealPlume/000_Generic_Plumes/Hypergolic_LowerRed_shock.cfg +++ b/GameData/RealPlume/000_Generic_Plumes/Hypergolic_LowerRed_shock.cfg @@ -60,6 +60,20 @@ decluster = true emitOnUpdate = true xyForce = 0 + xyForce + { + density = 0.7 0 + density = 0.52 0 + density = 0.19 0.2 + density = 0.07 0.2 + } + randConeEmit + { + density = 0.7 0 + density = 0.52 0.3 + density = 0.19 1 + density = 0.07 1 + } saturationMult { density = 0.7 1 diff --git a/GameData/RealPlume/000_Generic_Plumes/Hypergolic_UpperYellow.cfg b/GameData/RealPlume/000_Generic_Plumes/Hypergolic_UpperYellow.cfg index 5f608da..1bfddf7 100644 --- a/GameData/RealPlume/000_Generic_Plumes/Hypergolic_UpperYellow.cfg +++ b/GameData/RealPlume/000_Generic_Plumes/Hypergolic_UpperYellow.cfg @@ -206,7 +206,7 @@ { name = #$/PLUME[Hypergolic_UpperYellow]:HAS[~processed[*]]/plumeIdentifier$-audio channel = Ship - clip = RealPlume/KW_Sounds/sound_spsloop + clip = RealPlume/KW_Sounds/sound_altloop volume = 0.0 0.0 volume = #$/PLUME[Hypergolic_UpperYellow]:HAS[~processed[*]]/fumeScale$ @volume,1 ^= :^:1.0 :