Audiomancy
Version 1.2.1 released Jan 16, 2023; see change notes.
Audiomancy is an audio enhancement for ToME that does not affect music. It started with the High Quality Sounds mod (thanks to Gurkoz), but it does a bit more than replace sounds. It enhances the code introducing random variance, layering, and new trigger points. Weapon types (sword, great axe, mace, sling, bows, etc.) have distinct sounds in combat, along with NPC types having different impact sounds. Many weapons have distinct critical hit sounds as well. Ranged weapons have separated attack and hit sounds. Melee and ranged talents you would have expected to produce sound before likely will with this mod. Multiple hits trigger multiple sounds, e.g. the Volley talent. There is still more to do, especially in terms of providing distinct sound effects for various game mechanics and talents, but the code as-is will affect almost every sound played in the game while adding more. I attempted to maximize compatibility, replacing a single function and using superloading and hooking for the rest.
Feel free to reach out to me with any issues you discover or ideas/suggestions you may have on Steam or at theclawhorn@protonmail.com.
Credits: https://pastebin.com/xirEZ2FY
Steam Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=2805820365
PS: Somehow the website tags got duplicated and I'm unable to edit them.
Version 1.2.1:
Fixed the attackTarget hook (thank you to "Chief of Kilimanjaro" and "purpel frog" in the ToME Discord); it now properly returns two values. This should fix various misc issues, anything dependent on the second return value.
Also cleaned up a few stray typo semicolons (the consequences of switching between multiple programming languages) which may or may not have been causing other various and possibly undiscovered issues.
Version 1.2.0:
Reduced volume of the universal crit sound layer and blade crits.
Added "Audiomancy Addon Options" to the main game menu - enable/disable the unique critical hit sound for each weapon type,
along with the universal critical sound layer ("gong" sound) that plays overtop any ranged or melee critical hit.
Misc small fixes/tweaks.
Version 1.1.0:
Added custom sounds for steamsaws.
Improved custom sounds for blade weapons & tridents.
Distinct critical hit sound added for blade weapons.
Changed/improved "crystal" impact sounds, made less longwinded & obnoxious (e.g. when attacking shivogoroths.)
Corrected the horror impact sound mappings.
Tried to balance overall volume, some sounds were too loud relative to others.
Improved memory usage & got rid of Entity:loadList injection.
Re-organized Audiomancy files so new data paths are obvious.
Annoying Sounds Fix
This game is filled with super loud sounds that are played far too frequently. This mod should fix that.
Tuned Sounds Version1
This addon tune or remove some of the sound effects in the game.
I copied large parts of the addon Better Sounds. You might ask why I do not just use that mod. The reason is because I do not like the death scream, sling and whip_hit and I want to tweak the sounds however I like.
All the spells are tuned so they are less harsh or annyoing.
Some of the spell sound effects really should be replaced completely but I do not have anything better at hand or any skill in audio creation.
For example playing Paradox Mage or Lightning Archmage is less fun to play because of the bad sound effects on many of their abilities. Now they are slightly less annoying but they could be much better.
This is just for my own use and I uploaded it so I can use it with an online profile. As long as I play I will tune it if I feel like it.
Dampened the sound of these spellsArcane
Breath
Cloud
Devouring Flame
Dispel
Earth
Echo
Fire
Fireflash
Heal
Slime
Spell Generic 1
Spell Generic 2
Teleport
TidalwaveChanged the sound of these spells
Ice - Removed part of the snapping sound
Water - Copied the sound from my dampened Tidalwave. The original Water sound is really bad.
Lightning - Copied the sound from the addon Better Sounds but also dampened it a little
Thunderstorm - Copied the sound from LightningAttacks
Shoot - Copied the sound effect from addon Better Sounds
Sling - Copied the sound effect from addon Better SoundsAmbient
No jungle sounds
No wolf/hound howling sounds
No town sounds at all. No hammering, no eagles and so on.Other
Coin - Copied the sound effect from addon Better Sounds
Door Creaks - Copied the sound effect from addon Better Sounds
Boring Steamsaw Sound
Replaces steamsaw sound with default melee attack sound.
No more ambient
Removes all ambient sound effects excluding monster/enemy sound effects.
Alternative Combat Sounds
Replaces a few combat and talent sounds that I felt didn't fit (for various reasons) from the base game
Currently replaced sounds:
- Sling shoot - Replaced with a "woosh" and impact sound.
- Steamgun shoot - Replaced with a single more gun-like sound. There is an alternative file in the addon that plays two firing sounds instead of one (like the original sound).
- Lightning spells - The original loud crashing sound is replaced with an electric "zap" sound.
Note: As this does include a sound file for Steamguns, it's made with the EoR DLC in mind. However, I'm fairly certain it should work without the DLC.
Also Note: This is my first addon and I'm not particularly experienced with lua, so there are a few things I couldn't do (yet!). I included a "sling_miss" version of the sling sound, but I've yet to find a way to get the game to use it (without overwriting the entire data for slings, which would be bad). So for now, the sound file is there, but the game will make the same sound whether you hit with a sling or miss (the default sling sound does the same thing). Any advice on how to tweak that one line of code (sound_miss = "actions/sling") without using an overload would be greatly appreciated!
Better Sounds Mod
Description
Replaces standart sound effects for ToMe, like a coins (pay and pick-up), bow & sling shoot, lightning spells, Door creaks, etc.
- Remove pekan (crazy bird) madness screams from Irkk, Yeek start location (type: Jungle)
Added Mods:
+ The infamous Wilhelm scream mod
+ Somebody shut that dog up!
Other sounds download from free soundboard.
Installation:
For Steam users: subscribe to this mod
From site: Download the '%mod_name%.teaa' file and copy them to Game Addon directory: C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
Check (or set) Auto: Active status on this mod in 'Addons' tab on start screen
Remove:
For Steam users: If you would like to remove this mod, you'll have to unsubscribe it's first from Steam and then delete the file named '%mod_name%.teaa' from C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
From site: Delete the file named '%mod_name%.teaa' from C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
or make it easy in game:
On start screen: Open 'Addons' tab and select "Manual:Disabled" in %mod_name%
That's all.
:::::::::::::::::::::::::::::::::::: РУС :::::::::::::::::::::::::::::::::::
Описание
Мод заменяет стандартные звуки в ТоМе, такие как монетки (покупка и подбор), выстрел из лука и пращи, Таланты, основанные на молнии, скрипы дверей и др.
- Убран звук бешеного павлина в стартовой локации Yeek'ов.
Используются следующие моды:
+ The infamous Wilhelm scream mod
+ Somebody shut that dog up!
Другие звуки взяты с бесплатных звуковых хранилищь в сети.
Установка:
Для пользователей Steam: Подпишитесь на мод
С сайта: Скачайте файл '%mod_name%.teaa' и скопируйте его в директорию Аддонов игры: C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
Проверьте, что в игре в меню 'Addons' напротив мода стоит Auto: Active
Удаление:
Для пользователей Steam: Если хотите удалить мод - сперва отпишитесь от него в Steam, а затем удалите файл '%mod_name%.teaa' из директории C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
С сайта:Удалите файл '%mod_name%.teaa' из директории C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
или в игре:
На стартовом экране: Откройте меню 'Addons' и выберите "Manual:Disabled" напротив %mod_name%
The infamous Wilhelm scream mod
Description
Replaces standart death sound to infamous Wilhelm scream, also known Stormtrooper scream.
The "Wilhelm Scream" has been a stamp and running joke amongst sound editors for years, appearing in classic movies such as "Raiders of the Lost Ark", "Batman Returnes" and "Star Wars: The New Hope". Now your character can meet his/her doom with that scream.
Wiki: https://en.wikipedia.org/wiki/Wilhelm_scream. This is a stock sound effect of a man screaming
The scream is often used when someone is shot, falls from a great height, or hit by an explosion
Installation:
For Steam users: subscribe to this mod
From site: Download the '%mod_name%.teaa' file and copy them to Game Addon directory: C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
Check (or set) Auto: Active status on this mod in 'Addons' tab on start screen
Remove:
For Steam users: If you would like to remove this mod, you'll have to unsubscribe it's first from Steam and then delete the file named '%mod_name%.teaa' from C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
From site: Delete the file named '%mod_name%.teaa' from C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
or make it easy in game:
On start screen: Open 'Addons' tab and select "Manual:Disabled" in %mod_name%
That's all.
:::::::::::::::::::::::::::::::::::: РУС :::::::::::::::::::::::::::::::::::
Описание
Заменяет стандртный звук при смерти на печально известный крик Вильгельма, известный многим как крик Штормтрупера.
"Крик Вильгельма" является штампом и шуткой звукорежиссеров на протяжении многих лет, появляясь в такой классике, как "Индиана Джонс: В поисках утраченного ковчега", "Бэтмен возвращается", "Звёздные войны: Эпизод 4 – Новая надежда". А теперь и ваш персонаж может ознаменовать свою гибель подобным криком.
Это бесплатный звуковой эффект предсмертного мужского крика. Он часто используется в моменты смерти от стрельбы, падения с большой высоты или эффектом удара взрывной волны.
Установка:
Для пользователей Steam: Подпишитесь на мод
С сайта: Скачайте файл '%mod_name%.teaa' и скопируйте его в директорию Аддонов игры: C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
Проверьте, что в игре в меню 'Addons' напротив мода стоит Auto: Active
Удаление:
Для пользователей Steam: Если хотите удалить мод - сперва отпишитесь от него в Steam, а затем удалите файл '%mod_name%.teaa' из директории C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
С сайта:Удалите файл '%mod_name%.teaa' из директории C:\Program Files\Steam\steamapps\common\TalesMajEyal\game\addons
или в игре:
На стартовом экране: Откройте меню 'Addons' и выберите "Manual:Disabled" напротив %mod_name%
Kill Beep
Plays beep sound when an NPC is killed.
You can change the pitch of beep depending on the NPC's reaction(hostile/neutral/friendly).
Options are found in Game Options > Misc, while in the game.
Satisfying melee sounds
Simply makes melee weapons use the same on-hit sounds as punches.