From 14d78f4afaf25255959e522d74ce5b0ae75d2b2f Mon Sep 17 00:00:00 2001 From: zorg2044 <39182212+zorg2044@users.noreply.github.com> Date: Fri, 16 Aug 2019 17:44:30 +0500 Subject: [PATCH] More engines, new hypergolic upper white prefab Terrier, Pug, Wolfhound/Shnauzer Tweaks to others. --- .../{Skiff-Caravel.cfg => Caravel.cfg} | 4 +- .../Compatibility/RealPlume/Kodiak.cfg | 2 + .../RestockCE_HypergolicUpperWhite.cfg | 179 ++++++++++++++++++ .../Prefabs/reStock_HypergolicUpperWhite.cfg | 28 +++ .../ReStock/Compatibility/RealPlume/Pug.cfg | 26 +++ .../Compatibility/RealPlume/Schanuzer.cfg | 26 +++ .../ReStock/Compatibility/RealPlume/Skiff.cfg | 32 ++++ .../Compatibility/RealPlume/Terrier.cfg | 39 ++++ .../Compatibility/RealPlume/Wolfhound.cfg | 41 ++++ 9 files changed, 374 insertions(+), 3 deletions(-) rename Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/{Skiff-Caravel.cfg => Caravel.cfg} (80%) create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/RestockCE_HypergolicUpperWhite.cfg create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/reStock_HypergolicUpperWhite.cfg create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Pug.cfg create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Schanuzer.cfg create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Skiff.cfg create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Terrier.cfg create mode 100644 Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Wolfhound.cfg diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Skiff-Caravel.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Caravel.cfg similarity index 80% rename from Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Skiff-Caravel.cfg rename to Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Caravel.cfg index b86f23ea..497f5bfb 100644 --- a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Skiff-Caravel.cfg +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Caravel.cfg @@ -1,7 +1,5 @@ -@PART[restock-engine-caravel-1,LiquidEngineRE-I2]:NEEDS[zRealPlume,SmokeScreen]:AFTER[zRealPlume] +@PART[restock-engine-caravel-1]:NEEDS[zRealPlume,SmokeScreen]//ReStock+ J2 { - !EFFECTS{} - @MODULE[ModuleEngines*] { @name = ModuleEnginesFX diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Kodiak.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Kodiak.cfg index 64c6d53d..705757ca 100644 --- a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Kodiak.cfg +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Kodiak.cfg @@ -1,6 +1,7 @@ @PART[LiquidEngineRK-7]:NEEDS[zRealPlume,SmokeScreen]:AFTER[zRealPlume] { !EFFECTS{} + !PLUME @MODULE[ModuleEngines*] { @@ -8,6 +9,7 @@ %powerEffectName = ReStock_KeroloxLower_Blaze !runningEffectName = DELETE } + PLUME { name = ReStock_KeroloxLower_Blaze diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/RestockCE_HypergolicUpperWhite.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/RestockCE_HypergolicUpperWhite.cfg new file mode 100644 index 00000000..1126750f --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/RestockCE_HypergolicUpperWhite.cfg @@ -0,0 +1,179 @@ +@PART[*]:HAS[@PLUME[ReStock_HypergolicUpperWhite]]:AFTER[zRealPlume]:NEEDS[SmokeScreen] +{ + %EFFECTS + { + ReStock_HypergolicUpperWhite + { + //Shock cone type effect + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$/PLUME[ReStock_HypergolicUpperWhite]/transformName$ + localRotation = #$/PLUME[ReStock_HypergolicUpperWhite]/localRotation$ + localPosition = #$/PLUME[ReStock_HypergolicUpperWhite]/corePosition$ + fixedScale = #$/PLUME[ReStock_HypergolicUpperWhite]/coreScale$ + // + name = core + modelName = ReStock/FX/restock-fx-wolfhound-core + + decluster = false + emitOnUpdate = true + + emission + { + density = #$@ReStockPlume/atmosphereKeys/key2$ 0 + density = #$@ReStockPlume/atmosphereKeys/key3$ 1 + density = #$@ReStockPlume/atmosphereKeys/key4$ 1 + density = #$@ReStockPlume/atmosphereKeys/key5$ 1 + + power = #$@ReStockPlume/PowerKeys/startup$ 0 + power = #$@ReStockPlume/PowerKeys/flameout$ 0.5 + power = #$@ReStockPlume/PowerKeys/ignition$ 0.65 + power = #$@ReStockPlume/PowerKeys/deepThrottle$ 0.7 + power = #$@ReStockPlume/PowerKeys/maxThrottle$ 0.8 + } + + speed + { + density = #$@ReStockPlume/atmosphereKeys/key2$ 1 + density = #$@ReStockPlume/atmosphereKeys/key5$ 0.8 + + power = #$@ReStockPlume/PowerKeys/ignition$ 0.7 + power = #$@ReStockPlume/PowerKeys/deepThrottle$ 0.8 + power = #$@ReStockPlume/PowerKeys/maxThrottle$ 1 + } + } + + //Primary plume + MODEL_MULTI_SHURIKEN_PERSIST + { + //Get the inputs from the other config. + transformName = #$/PLUME[ReStock_HypergolicUpperWhite]/transformName$ + localRotation = #$/PLUME[ReStock_HypergolicUpperWhite]/localRotation$ + localPosition = #$/PLUME[ReStock_HypergolicUpperWhite]/plumePosition$ + fixedScale = #$/PLUME[ReStock_HypergolicUpperWhite]/plumeScale$ + // + name = plume + modelName = ReStock/FX/restock-fx-wolfhound-plume + sizeClamp = 50 + decluster = false + emitOnUpdate = true + xyForce + { + density = 1 0 + density = 0 0 + } + speed + { + density = 1.0 1 + density = 0.0 0.7 + + power = #$@ReStockPlume/PowerKeys/ignition$ 1.2 + power = #$@ReStockPlume/PowerKeys/deepThrottle$ 1.5 + power = #$@ReStockPlume/PowerKeys/maxThrottle$ 2 + + } + logGrow + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 0 + density = #$@ReStockPlume/atmosphereKeys/key1$ 0.2 + density = #$@ReStockPlume/atmosphereKeys/key2$ 0.5 + density = #$@ReStockPlume/atmosphereKeys/key3$ 0.5 + density = #$@ReStockPlume/atmosphereKeys/key4$ 0.5 + density = #$@ReStockPlume/atmosphereKeys/key5$ 0.5 + } + zForce + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 1 + density = #$@ReStockPlume/atmosphereKeys/key1$ 1.01 + density = #$@ReStockPlume/atmosphereKeys/key2$ 1.02 + density = #$@ReStockPlume/atmosphereKeys/key3$ 1.03 + density = #$@ReStockPlume/atmosphereKeys/key4$ 1.04 + density = #$@ReStockPlume/atmosphereKeys/key5$ 1 + } + linGrow + { + density = #$@ReStockPlume/atmosphereKeys/key0$ -2 + density = #$@ReStockPlume/atmosphereKeys/key1$ -1 + density = #$@ReStockPlume/atmosphereKeys/key2$ 1 + density = #$@ReStockPlume/atmosphereKeys/key3$ 1.5 + density = #$@ReStockPlume/atmosphereKeys/key4$ 1.5 + density = #$@ReStockPlume/atmosphereKeys/key5$ 1 + } + energy + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 1 + density = #$@ReStockPlume/atmosphereKeys/key3$ 1 + density = #$@ReStockPlume/atmosphereKeys/key4$ 1 + density = #$@ReStockPlume/atmosphereKeys/key5$ 0.8 + } + emission + { + density = #$@ReStockPlume/atmosphereKeys/key0$ 1.5 + density = #$@ReStockPlume/atmosphereKeys/key1$ 1.5 + density = #$@ReStockPlume/atmosphereKeys/key2$ 1.5 + density = #$@ReStockPlume/atmosphereKeys/key3$ 1 + density = #$@ReStockPlume/atmosphereKeys/key4$ 1 + density = #$@ReStockPlume/atmosphereKeys/key5$ 1 + + power = #$@ReStockPlume/PowerKeys/startup$ 0 + power = #$@ReStockPlume/PowerKeys/flameout$ 0.4 + power = #$@ReStockPlume/PowerKeys/ignition$ 0.6 + power = #$@ReStockPlume/PowerKeys/deepThrottle$ 0.65 + power = #$@ReStockPlume/PowerKeys/maxThrottle$ 0.8 + } + offset + { + density = #$@ReStockPlume/atmosphereKeys/key2$ 0 + density = #$@ReStockPlume/atmosphereKeys/key5$ 0.9 + } + } + + AUDIO + { + name = audio + channel = Ship + clip = RealPlume/KW_Sounds/sound_altloop + volume = 0.0 0.0 + volume = #$../../../PLUME[ReStock_HypergolicUpperWhite]/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_liq6 + volume = 0.35 + 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/Prefabs/reStock_HypergolicUpperWhite.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/reStock_HypergolicUpperWhite.cfg new file mode 100644 index 00000000..f4613b9f --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Prefabs/reStock_HypergolicUpperWhite.cfg @@ -0,0 +1,28 @@ +@PART[LiquidEngineRE-J10]:AFTER[RealPlume] +{ + !EFFECTS{} + !PLUME + @MODULE[ModuleEngines*] + { + %name = ModuleEnginesFX + %powerEffectName = ReStock_HypergolicUpperWhite + !runningEffectName = DELETE + } + + PLUME + { + name = ReStock_HypergolicUpperWhite + transformName = thrustTransform + localRotation = 0,0,0 + localPosition = 0,0,0 + energy = 1 + speed = 1 + emissionMult = 0.5 + + corePosition = 0,0,0 + coreScale = 1 + + plumePosition = 0,0,0 + plumeScale = 1 + } +} diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Pug.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Pug.cfg new file mode 100644 index 00000000..1c8d45cf --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Pug.cfg @@ -0,0 +1,26 @@ +@PART[restock-engine-125-pug]:NEEDS[zRealPlume,SmokeScreen]//ReStock plus Pug +{ + @MODULE[ModuleEngines*] + { + @name = ModuleEnginesFX + %powerEffectName = ReStock_HypergolicUpperWhite + !runningEffectName = DELETE + } + + PLUME + { + name = ReStock_HypergolicUpperWhite + transformName = thrustTransform + localRotation = 0,0,0 + localPosition = 0,0,0 + energy = 1 + speed = 1 + emissionMult = 0.5 + + corePosition = 0,0,0 + coreScale = 0.5 + + plumePosition = 0,0,0 + plumeScale = 0.25 + } +} diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Schanuzer.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Schanuzer.cfg new file mode 100644 index 00000000..960b523c --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Schanuzer.cfg @@ -0,0 +1,26 @@ +@PART[restock-engine-schnauzer-1]:NEEDS[zRealPlume,SmokeScreen]//ReStock plus Apollo SPS +{ + @MODULE[ModuleEngines*] + { + @name = ModuleEnginesFX + %powerEffectName = ReStock_HypergolicUpperWhite + !runningEffectName = DELETE + } + + PLUME + { + name = ReStock_HypergolicUpperWhite + transformName = thrustTransform + localRotation = 0,0,0 + localPosition = 0,0,0 + energy = 1 + speed = 1 + emissionMult = 0.5 + + corePosition = 0,0,0 + coreScale = 2 + + plumePosition = 0,0,0 + plumeScale = 1 + } +} diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Skiff.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Skiff.cfg new file mode 100644 index 00000000..d43b21ea --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Skiff.cfg @@ -0,0 +1,32 @@ +@PART[LiquidEngineRE-I2]:NEEDS[zRealPlume,SmokeScreen]:AFTER[zRealPlume] +{ + !EFFECTS{} + !PLUME + + @MODULE[ModuleEngines*] + { + @name = ModuleEnginesFX + %powerEffectName = ReStock_CE_HydroloxUpper + !runningEffectName = DELETE + } + + PLUME + { + name = ReStock_CE_HydroloxUpper + transformName = thrustTransform + localRotation = 0,0,0 + localPosition = 0,0,0 + + speed = 1 + energy = 1 + emissionMult = 1 + + corePosition = 0,0,0 + coreScale = 0.8 + + plumePosition = 0,0,0.2 + plumeScale = 0.65 + + plume2Scale = 0.65 + } +} diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Terrier.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Terrier.cfg new file mode 100644 index 00000000..29709ff3 --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Terrier.cfg @@ -0,0 +1,39 @@ +@PART[liquidEngine3_v2]:NEEDS[zRealPlume,SmokeScreen]:AFTER[zRealPlume] +{ + @MODULE[ModuleEngines*] + { + @name = ModuleEnginesFX + %powerEffectName = ReStock_HypergolicUpperWhite + !runningEffectName = DELETE + } + + PLUME + { + name = ReStock_HypergolicUpperWhite + transformName = thrustTransform + localRotation = 0,0,0 + localPosition = 0,0,0 + energy = 1 + speed = 1 + emissionMult = 0.5 + + corePosition = 0,0,0 + coreScale = 0.5 + + plumePosition = 0,0,0 + plumeScale = 0.25 + } +} +@PART[LiquidEngineRE-J10]:FOR[zzRealPlume] +{ + @EFFECTS + { + @ReStock_HypergolicUpperWhite + { + @MODEL_MULTI_SHURIKEN_PERSIST[core] + { + @fixedScale = 2 + } + } + } +} diff --git a/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Wolfhound.cfg b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Wolfhound.cfg new file mode 100644 index 00000000..aa268b92 --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Compatibility/RealPlume/Wolfhound.cfg @@ -0,0 +1,41 @@ +@PART[LiquidEngineRE-J10]:NEEDS[zRealPlume,SmokeScreen]:AFTER[zRealPlume] //:AFTER[RealPlume,ReStock] // +{ + !EFFECTS{} + !PLUME + @MODULE[ModuleEngines*] + { + %name = ModuleEnginesFX + %powerEffectName = ReStock_HypergolicUpperWhite + !runningEffectName = DELETE + } + + PLUME + { + name = ReStock_HypergolicUpperWhite + transformName = thrustTransform + localRotation = 0,0,0 + localPosition = 0,0,0 + energy = 1 + speed = 1 + emissionMult = 0.5 + + corePosition = 0,0,0 + coreScale = 2 + + plumePosition = 0,0,0 + plumeScale = 1 + } +} +@PART[LiquidEngineRE-J10]:FOR[zzRealPlume] +{ + @EFFECTS + { + @ReStock_HypergolicUpperWhite + { + @MODEL_MULTI_SHURIKEN_PERSIST[core] + { + @fixedScale = 2 + } + } + } +}