This is simply a mod which allows server admins to make clients automatically download music and karma data files for KF.
Server hosts download this file: http://www.klankaos.com/downloads/MusicLoader.rar
Clients download this file: http://www.klankaos.com/downloads/MusicLoaderClient.zip
Unzip all files to KillingFloor/System folder.
Notice:
- Downloader works for Windows clients only (not Linux nor Mac clients), however server side mutator works on any version.
- Clients are required to have a custom DLL file in their KF system folder for this mod to work (it will make your game reboot to install it).
- Mod has built-in Russian language support (translated by Poosh).
To setup downloads for the resource files, you have to use UCC.exe Compress for the .ogg and .ka files you wish to add and upload them to a HTTP website.
Important: In order to prevent caps sensitive issues, I've forced clients to always download file names in all lower case, so for example: Aliens01_Loud.ogg.uz2 should be renamed to aliens01_loud.ogg.uz2!
The following settings are available in MusicLoader.ini:
ManualMapMusic=KFO-HauntedHotelamned-Calm01amned-Calm02amned-Closeamned-Monster - Manually force a set of musics associated to a map.
CustomMusicFiles=SomeSong - List of musics that are required on the server in every map.
The mutator is programmed to search for all MusicTriggers, KFMusicTriggers, Level Properties Song and ACTION_ChangeMusic in ScriptedTriggers for required musics in a map, so if level has any other custom methods to start music, this mod wont consider them as required map song.
Note in the default MainDownloadLink (www.klankaos.com/downloads/Music/) I have added some custom songs there already:
Version 2.1:
- Fixed parsing error of long HTML headers which made client refuse to download songs from specific sites.
- Added new settings (ManualMapMusic/CustomMusicFiles).
- Added so download error message shows also the file name it failed to download (so it's easier to identify which file is missing from download site).
- Made music downloader retry once after a download error incase first error was some temporary error.
- Fixed so that it properly downloads files with spaces in names.
Version 2.0:
- Fixed some HTTP connection issues when downloading files.
- Made the DLL file install itself rather than making clients go to web browser to download it.
If you wish to have the C++ source codes of this mod, you will have to PM me about it.
Legal notice for TWI:
This mutator hasn't involved any reverse engineering of Core.dll, all is done with help of UT public headers, and Notepad++ to find Core.dll export names.
Server hosts download this file: http://www.klankaos.com/downloads/MusicLoader.rar
Clients download this file: http://www.klankaos.com/downloads/MusicLoaderClient.zip
Unzip all files to KillingFloor/System folder.
Notice:
- Downloader works for Windows clients only (not Linux nor Mac clients), however server side mutator works on any version.
- Clients are required to have a custom DLL file in their KF system folder for this mod to work (it will make your game reboot to install it).
- Mod has built-in Russian language support (translated by Poosh).
To setup downloads for the resource files, you have to use UCC.exe Compress for the .ogg and .ka files you wish to add and upload them to a HTTP website.
Important: In order to prevent caps sensitive issues, I've forced clients to always download file names in all lower case, so for example: Aliens01_Loud.ogg.uz2 should be renamed to aliens01_loud.ogg.uz2!
The following settings are available in MusicLoader.ini:
[MusicLoader.MusicMut]
MainDownloadLink=www.somesite.com/downloads/ - This is the primary download URL.
CustomFileLinks=SomeSongName:www.someothersite.com/downloads/
CustomFileLinks=SomeSongNameB:www.someothersite.com/downloads/ - These can be used to redirect specific files to specific sites only.
CustomKarmaFiles=Doom3Karma
CustomKarmaFiles=MoreRagdolls - These lines can be added to make clients download custom ragdolls that are required by some mods in server.
To start this mutator on server, either add mutator named "Music Downloader" or in URL "?Mutator=MusicLoader.MusicMut".MainDownloadLink=www.somesite.com/downloads/ - This is the primary download URL.
CustomFileLinks=SomeSongName:www.someothersite.com/downloads/
CustomFileLinks=SomeSongNameB:www.someothersite.com/downloads/ - These can be used to redirect specific files to specific sites only.
CustomKarmaFiles=Doom3Karma
CustomKarmaFiles=MoreRagdolls - These lines can be added to make clients download custom ragdolls that are required by some mods in server.
ManualMapMusic=KFO-HauntedHotelamned-Calm01amned-Calm02amned-Closeamned-Monster - Manually force a set of musics associated to a map.
CustomMusicFiles=SomeSong - List of musics that are required on the server in every map.
The mutator is programmed to search for all MusicTriggers, KFMusicTriggers, Level Properties Song and ACTION_ChangeMusic in ScriptedTriggers for required musics in a map, so if level has any other custom methods to start music, this mod wont consider them as required map song.
Note in the default MainDownloadLink (www.klankaos.com/downloads/Music/) I have added some custom songs there already:
aliens01_loud.ogg.uz2 to aliens12_loud.ogg.uz2
aliens01_quiet.ogg.uz2 to aliens16_quiet.ogg.uz2
d2map01.ogg.uz2 to d2map32.ogg.uz2
damned-calm01.ogg.uz2 to damned-calm02.ogg.uz2
damned-close.ogg.uz2 and damned-monster.ogg.uz2
doom3karma.ka.uz2
drag1.ogg.uz2 to drag5.ogg.uz2
smoothjazz.ogg.uz2
sunkissed.ogg.uz2
If you want me to add other songs or karma data files in there, feel free to give me suggestions.aliens01_quiet.ogg.uz2 to aliens16_quiet.ogg.uz2
d2map01.ogg.uz2 to d2map32.ogg.uz2
damned-calm01.ogg.uz2 to damned-calm02.ogg.uz2
damned-close.ogg.uz2 and damned-monster.ogg.uz2
doom3karma.ka.uz2
drag1.ogg.uz2 to drag5.ogg.uz2
smoothjazz.ogg.uz2
sunkissed.ogg.uz2
Version 2.1:
- Fixed parsing error of long HTML headers which made client refuse to download songs from specific sites.
- Added new settings (ManualMapMusic/CustomMusicFiles).
- Added so download error message shows also the file name it failed to download (so it's easier to identify which file is missing from download site).
- Made music downloader retry once after a download error incase first error was some temporary error.
- Fixed so that it properly downloads files with spaces in names.
Version 2.0:
- Fixed some HTTP connection issues when downloading files.
- Made the DLL file install itself rather than making clients go to web browser to download it.
If you wish to have the C++ source codes of this mod, you will have to PM me about it.
Legal notice for TWI:
This mutator hasn't involved any reverse engineering of Core.dll, all is done with help of UT public headers, and Notepad++ to find Core.dll export names.
Last edited: