Need some help modifying sound effects

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
R_D
Halfling
Posts: 104
Joined: Fri Jan 18, 2013 6:53 pm
Location: Somewhere only we know...

Need some help modifying sound effects

#1 Post by R_D »

I'm studying for a bachelor's in Computer Science, so while I'm not unfamiliar with programming, I've never actually worked with coding any ToME related stuff myself. Recently, I've started up a new Corrupter playthrough, and I remembered that one of the reasons I had a love/hate relationship with them is because they're really good, but the sound effects for their spells are inferior (for my taste of course, just a preference) to those of a Gravity PM, for example. I had thought about trying to mess with the sound before, but now I'm finally performing the proverbial act of "getting up off my butt and doing something about it instead of just complaining or wishing for it."

However, I've looked everywhere in my computer files and can't find anything that would obviously be sound effect files. Where do I find them? How do I edit them? For now, all I really want to do is replace some of the spell sound effects with some other existing ones, and if that proves easy enough I might do more later. Note that I also searched the forums here for information about this stuff but I came up empty after a brief cursory search. (it's been a long day... :| ) Thanks for your time!
?Wub?Wub?Wub?

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Need some help modifying sound effects

#2 Post by HousePet »

Look up how to make an addon.
The files you want to overload are in the module (.team)
My feedback meter decays into coding. Give me feedback and I make mods.

stinkstink
Spiderkin
Posts: 543
Joined: Sat Feb 11, 2012 1:12 am

Re: Need some help modifying sound effects

#3 Post by stinkstink »

The files are located in game\modules\tome-1.0.5.team, which is just a renamed zip file. However, you can change the sound effect without mucking around in there by making an addon. Feel free to use this one as a base: (which is also just a renamed zip file)

-Extract init.lua from the linked addon and edit it with your info
-You'll want to overload the old sound file with your own. Put the replacement in overload\data\sound\talent\slime.ogg
-Zip the folder with your edited copy of init.lua and name the file tome-(your addon name).teaa
-Using this addon as-is will invalidate your save files and prevent your characters from showing up in the vault. To fix this, post here to get uploader permission, then use the sidebar on the right of te4.org to create a new addon. You'll need the md5 hash of your addon, which you can find in te4_log.txt after starting a character with your addon. Alternatively, you can use the 1.0.6 beta, which has built-in addon publishing tools that streamlines things a LOT.

R_D
Halfling
Posts: 104
Joined: Fri Jan 18, 2013 6:53 pm
Location: Somewhere only we know...

Re: Need some help modifying sound effects

#4 Post by R_D »

stinkstink wrote:The files are located in game\modules\tome-1.0.5.team, which is just a renamed zip file. However, you can change the sound effect without mucking around in there by making an addon. Feel free to use this one as a base: (which is also just a renamed zip file)

-Extract init.lua from the linked addon and edit it with your info
-You'll want to overload the old sound file with your own. Put the replacement in overload\data\sound\talent\slime.ogg
-Zip the folder with your edited copy of init.lua and name the file tome-(your addon name).teaa
-Using this addon as-is will invalidate your save files and prevent your characters from showing up in the vault. To fix this, post here to get uploader permission, then use the sidebar on the right of te4.org to create a new addon. You'll need the md5 hash of your addon, which you can find in te4_log.txt after starting a character with your addon. Alternatively, you can use the 1.0.6 beta, which has built-in addon publishing tools that streamlines things a LOT.
Thanks--this is exactly the info I was looking for! Much obliged. 8)
?Wub?Wub?Wub?

Post Reply