Logic has been totally reworked, now instead of replacing sounds dub makes kart not use any default voices at all and handles that itself. So, dub_soundoffhack is not needed anymore
Add DUB_XRegisterDub, which is new extra way for adding dub that allows custom entries such as: spb - line played when chased by spb, steal - line played when stealing item, and stole - plays when your item get stolen (see adding dub spoiler)
There can be multiple sound replacements specified for single skin sound. For that, instead of one string with sound name there can be array of such strings. Example: {"sfx_mydub1", "sfx_mydub2", "sfx_mydub3"}
Flags SF_X8AWAYSOUND and SF_NOINTERRUPT are applied to gloat sounds
Skin name automatically gets converted to lower case when registering dub
Fix few cases when one player's skin sounds get replaced by other player's selected dub
Add config file. Config is autosaved in luafiles/dub.cfg. Data is written automatically, so it is not intended to be edited manually, since any comments will be discarded
If you using a lot of power items in short period of time, gloat line will not restart (though that won't usually happen without kartdebugitem and kartdebugamount, but i decided to fix that, just in case)
Now addon will leave a warning if older version of it detected
Return KL_CaveStoryDubs.pk3 example addon back because when i posted 1.1 update i forgot to attach it
Added global lua functions: DUB_GetSkinSound, DUB_GetWinSound, DUB_GetLoseSound, etc. In case other mods would want to play character line globally (like win/lose phrase) and they want to support custom dubs
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.