Sign in to follow this  
Scrumch

/sleepy and /yawn sound

Recommended Posts

Scrumch    27

I'm getting ready to publish the DST version of my character mod and have nearly all the sounds in place. Are there any examples of how to replicate the /yawn and /sleepy emote sounds for a custom voice type?

Share this post


Link to post
Share on other sites
thomas4845    500

local function DoYawnSound(inst)
    if inst.yawnsoundoverride ~= nil then
        inst.SoundEmitter:PlaySound(inst.yawnsoundoverride)
    elseif not inst:HasTag("mime") then
        inst.SoundEmitter:PlaySound((inst.talker_path_override or "dontstarve/characters/")..(inst.soundsname or inst.prefab).."/yawn")
    end
end

from the stategraph

Share this post


Link to post
Share on other sites
Hornete    916
8 minutes ago, thomas4845 said:

basicaly what i got from this was inst.soundemitter:playsound("/yawn")

pretty sure they mean HOW to make a yawn or sleepy sound

Share this post


Link to post
Share on other sites
thomas4845    500

oh cool, sorry i can't really read through all of these properly but from the sound of the yawn sound it just seems to be distorted or changes pitches quickly, i'm not sure if i can help much with this since i'm not that great at this type of stuff

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this