@PART[DIRECT_KJ10]:NEEDS[Waterfall]:AFTER[Benjee10_sharedAssets]
{
  // Based on stock OMS engine configured by Zorg
  !EFFECTS {}
  !MODULE[EngineLightEffect] {}

  EFFECTS
  {
		engage
		{
			AUDIO
			{
				channel = Ship
				clip = Waterfall/Sounds/KW/sound_sps
				volume = 1.0
				pitch = 1.0
				loop = false
			}
		}
    flameout
    {
      AUDIO
      {
        channel = Ship
        clip = sound_explosion_low
        volume = 1.0
        pitch = 2.0
        loop = false
      }
    }
    fx-puff-running
    {
			AUDIO
			{
				channel = Ship
				clip = Waterfall/Sounds/KW/sound_spsloop
				volume = 0.0 0.0
				volume = 0.1 0.3
				volume = 1.0 0.8
				pitch = 0.0 0.7
				pitch = 1.0 1.0
				loop = true
			}
    }
  }
  MODULE
  {
    name = ModuleWaterfallFX
    // This is a custom name
    moduleID = KJ10FX
    // This links the effects to a given ModuleEngines
    engineID = basicEngine

    // List out all controllers we want available
    // This controller scales with atmosphere depth
    CONTROLLER
    {
      name = atmosphereDepth
      linkedTo = atmosphere_density
    }
    // This controller scales with effective throttle
    CONTROLLER
    {
      name = throttle
      linkedTo = throttle
    }
    // this controller generates a random value in the range specified
    CONTROLLER
    {
      name = random
      linkedTo = random
      range = -1,1
    }
    // -----------------------------------------------------
    // Past here should be generated with the ingame editor!
    // -----------------------------------------------------
    TEMPLATE
    {
      // This is the name of the template to use
      templateName = waterfall-hypergolic-aerozine50-upper-1
      // This field allows you to override the parentTransform name in the EFFECTS contained in the template
      overrideParentTransform = thrustTransform
      position = 0,0,0.0007
      rotation = 0, 0, 0
      scale = 0.5, 0.5, 0.5
    }
    TEMPLATE
    {
      // This is the name of the template to use
      templateName = waterfall-kerolox-vernier-2
      // This field allows you to override the parentTransform name in the EFFECTS contained in the template
      overrideParentTransform = thrustTransform
      position = 0,0,1
      rotation = 0, 0, 0
      scale = 1.7, 1.7, 2
    }
  }
}  
