Adds the effects of the density, temperature and relative speed of the atmosphere to craft sounds. When breaking the sound barrier, muffled sounds (or optionally no sounds) will be heard from the craft when the camera is outside of the shock cone. When passing through the cone, you can hear the shockwave. When leaving the atmosphere, the sound gradually fades to muffled (or optionally nothing) in vacuum. Internally, sounds can always be heard but are muffled. Non-craft sounds such as music are unaffected.
The stock game’s condensation effects are now visible when travelling at transonic velocities. The plasma re-entry effects are visible when travelling at hypersonic velocities, regardless of altitude.
Source included, project also available on GitHub
, licenced under GPL v2.
If you've enjoyed this, consider donating a cup of coffee to help with late night coding:
Thanks to velusip and szdarkhack for their major contributions to this mod. The plugin also makes reference to Deadly Reentry for compatibility with its particle effects.
- Rebuild for KSP 0.23 (no changes).
- Fixed incorrect or missing sound effects in some situations.
- Fixed some sounds being missed before first staging.
- Slight performance improvements.
- Added a configuration file.
- Added the ability to choose between silence or muffled sound when supersonic or in a vacuum (muffled by default).
- Customised condensation and re-entry effects.
- Fixed issues with the Mach sounds not always being played at the correct angles.
- Fixed sounds still playing while paused.
- Fixed slowdown when going supersonic.
The effects can be customised by modifying settings.cfg in the GameData/AtmosphericSoundEnhancement directory:
- interiorMaxFreq - How muffled the sounds heard inside the craft are. Sounds above this frequency aren't heard. It can be anywhere between 10 (a deep rumble that can only be heard with high-quality speakers) and 22000 Hz (not muffled at all). 0 disables internal sounds.
- maxVacuumFreq - How muffled the sounds are in external views when in a vacuum, similar to interiorMaxFreq. 0 disables sounds, 22000 gives normal, unmuffled sounds.
- maxSupersonicFreq - How muffled the sounds are when the camera is ahead of the supersonic shock wave when in an extarnal view, similar to interiorMaxFreq. 0 disables all sounds, 22000 gives normal, unmuffled sounds.
- interiorVolumeScale - A multiplier for the volume inside the craft. 1 is 100%, 0.5 is 50%, 2 is 200%, 0 for silence.
- maxDistortion - How distorted and crunchy the sound of the shock wave is. 0 is off (normal) and 1 is on fully (may cause crackling).
- condensationEffectStrength - How thick the white graphical condensation effect is when passing through the sound barrier. 0 is off, 1 is very thick.
- lowerMachThreshold - The Mach number at which the sonic boom starts to kick in.
- upperMachThreshold - The Mach number at which the sonic boom finishes fading away.
- negativeSlopeWidthDeg - The angle (in degrees) behind the shock cone that the shock wave fades away over.
Multi mode engines such as the R.A.P.I.E.R. currently aren't affected by this mod due to the way they work. I'm working on changes to deal with this, and hopefully improve performance in general.