Jump to content

Need help changing sound on ion engine


Recommended Posts

There is a REALLY old mod that used to change the ion engine sound, but basically replaced the original cfg for the part, which has changed a bit since the mod. Want to do it via MM, but can't seem to get anything to work. I've taken the sound files from the original and placed them in IonEngineSounds/Sounds folder and have a cfg in IonEngineSounds to try to add the audio to the engine.

I've tried:

@PART[ionEngine]
{
	@AUDIO[*]
	{
		@clip = IonEngineSounds/Sounds/sound_loop
	}
}

@PART[ionEngine]
{
		IonEngineSounds/Sounds/sound_loop = running
}

@PART[ionEngine]
{
	@EFFECTS
	{
		@AUDIO
		{
			@IonPlume
			{
				@clip = IonEngineSounds/Sounds/sound_loop
			}
		}
	}
}

Among other things. Even tried with ionplume and audio reversed.

Hope someone can help. Spent the last 3 hours googling everything I could think of and perusing through a bunch of MM threads to no avail, so?

Link to comment
Share on other sites

Managed to get it to work! Putting this here in case someone wants to rework the original mod using those sound files:

@PART[ionEngine]:final
{
	@EFFECTS
	{
		running_custom
		{
			AUDIO
			{
				channel = Ship
				clip = path/to/sound_loop
				volume = 0.0 0.0
				volume = 1.0 1.1
				pitch = 0.0 0.2
				pitch = 1.0 0.9
				loop = true
			}
		}
		flameout
		{
			AUDIO
			{
				channel = Ship
				clip = path/to/sound_stop
				volume = 1.0
				pitch = 2.0
				loop = false
			}
		}
	}

	@MODULE[ModuleEnginesFX]
	{
		runningEffectName = running_custom
	}
}

https://www.curseforge.com/kerbal/ksp-mods/original-ion-engine-sound-pack-0-235-arm

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...