Skip to content

A simple mod for Kerbal Space Program that toggles the game's music with a hotkey.

License

Notifications You must be signed in to change notification settings

nimobeeren/MusicMute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MusicMute

A simple mod for Kerbal Space Program that toggles the game's music with a hotkey. The default is F8.


An addon for Kerbal Space Program 1.2+

Copyright (C) 2016 Nimo Beeren

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Usage

By default, you can mute music in-game at any time by pressing F8. This key can be configured by editing the Settings.cfg file found in GameData\MusicMute\Config. You can change the toggle key, as well as configure a modifier key that has to be pressed at the same time, like LeftAlt, LeftControl or whatever you want.

For the full list of keys you can use, see Unity Script Reference.

You can also choose wether you want to start the game with muted music or not. Set the value of startMuted to either true or false to use this feature.

Installation

You can easily install this addon by unzipping the contents of the supplied GameData folder into the GameData folder that is inside your KSP installation directory. This is usually C:\Program Files (x86)\Steam\SteamApps\common\Kerbal Space Program\GameData.

Source code

You'll find the source code of this addon in the Source folder.

Changelog

1.00 - 5.5.2015

  • Initial release

1.1.0 - 3-9-2015

  • Added config option to start game muted
  • Code improvements: muted state is now a property instead of not a property
  • Changed versioning scheme from x.yz to x.y.z because suck it
  • Updated changelog

1.1.1 - 4-23-2016

  • Recompiled against KSP 1.1

1.1.2 - 28-4-2016

  • Fixed bug where changing scene would turn the music on again
  • Slightly changed log output format
  • Added useful docs and info in source

1.1.3 - 15-10-2016

  • Recompiled aginst KSP 1.2

About

A simple mod for Kerbal Space Program that toggles the game's music with a hotkey.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages