#Making an Aura to play a sound when I walk, how?

127 messages · Page 1 of 1 (latest)

neat orbit
#

like the squidward sound? all i know of is the PLAYER_STARTED_MOVING and PLAYER_STOPPED_MOVING events

white abyss
#

How the hell did you know

#

How do I make the aura to scan for this PLAYER_STARTED_MOVINGevent

#

IsPlayerMoving also works?

neat orbit
#

lol

#

my approach for a basic thing would be a custom trigger, status, every frame

#

and i believe the time delta is passed to those functions, so check IsPlayerMoving and add the time to a counter if so, and once reaching a threshold, play the alternating squish sounds

oak willow
#

is there an already-made example of this?

#

I've been trying to use IsPlayerMoving but I can't seem to figure out how to call a sound from inside the code block - I've also tried using PLAYER_STARTED_MOVING and PLAYER_STOPPED_MOVING but can only muster 1 sound (which refuses to loop) most likely because it's not active for more than the time it takes to trigger

jade yew
#

dont play the sound with code. use the interface.

oak willow
#

@jade yew so here's what I have using the interface:
!WA:2!nwv3UnXruy7A1sLfsfsBJaALQfxabjWbIkrvvfr9AVgBKJT1AZpPns2ZUZ4DhY6zgMzw7KCbQYIlQuVPkpc(6ELFcq0xGvrv9gUQ8iKxG2ZmRtGI4cwPKDMZEMZz((oFNJZxFLXRGxb)R)WCLaj39ruSo6lNtd4SE8eza5RZ5y2m8iuIoIl7i0uotvuUFNrJueDJFm4zF8VKl31xGybW37YPmTFv329D9EPnIz(948hfW5Xy(uwVPubz4r2p6X1itaZlo))B)wCmXPYd635LNCkxCijsIcSPFtpLgj1WlEcdllfKO08XZT7giq6iXfRAn1ZyzNEpnHINIK4Y8WWzy(aRJr(JOmQkQOd8sxCMwsddjsv7RixU8VD07li(zr)1QeFYect3lz0i6ElguTsV(d61VIx)5yIpySp4SSHBRU1FqlpRR(niOyDKtcKaFrmAFICMsqIJBIvfZIMsC9UTQSTRxwOCRnyRopSz77D9sNAUt3UNAo9sINokHzPH1ixRyj4X(p6OsKs35oLU87nAxUKoIWSoAEesOkT2vhZNqzHx9ANAxs0jswjTmHyTry4IWFEm0yIQOxqejy30V5uMORKamHxVUUTATiJLgyzmO6OtuNykIIjEA6yc(We2sQDvaip7deiVn(F)absJqqWL(GaKntWIfyQ6j2BWeYgi2(IZJSR7NDdnsW)iNTtyqapMlVFb45yiFejdf)qqPax9F74DjerfOOgO9ms3OdvK4r22G0Zi3BzxYl(9N4VwUCxZb6I4dN5JKvZcz(8fa1JcOljstI2irgl(QiTwO((1xFkkKxMYxVDZNwnSZ21gS(TE7EQTZphQeEKqtlXLwn9IhbB9rb7gkn6B)icnms)8ZEiIrhBBR2m9ZQ)scsr6PLewOo6mPx0HXzKJWM8dEyRFsfbqnwnZ4QrvNwZzmIYQNwfoqATu306P3dE)LVRfNyocp6WefzadKiYiFnkgukR6nojwtlkpasgi()ihdJTAAlqufJukZkhf9aIzXRTy0boh2ue2OsTAIZbHSc(jGGIGj4Tq7fTGYgXLz46klGLbexBd1qXfOHmUKSCwL1QRuYLQH(k7qnF6ybxQNBqj160LUs6ABMEHcZMGKuKFmXrfXN6nbfNqkidIqSqIXPDQVCkJHNCAX5I0ZLE(0vs)8JYSBCLrI93cbxv5mHKd8PE)0Z5LjIAC3x9Qx9VWtJ7(6flErUC5ku4YuSCkkExq7kNKPRk8UiMYIMlTLABbPq246QNkm9vKXWz9Uv5Bw(MhAvTktFNxZ71O)XzdNRlH(yZX97v1Z1TTyfihvxoGfOAqatgUWg4gwTZDKAYEG0KmZjMEWbWeuXxCYa5(WxQrvgUchLjl7N5SyTMMMKrOaYovbAaGLdsUZdAEJ3S7g9SJ7ThlAUMhSe3F6K)C5fGIXeMxB3h665dOzenSOhkweHk4n18Jup)Sh)gTEgpKpF(UfUz5BVbmUFXTV)wpkE7D3R9M(Wqct4jrohW5JZVGlPGKWQCM3OJxZFQt7(vAzMhyMr3eY2f(K)5NNDcshUyKH4GEgKgvyfL3Tl)DL)2vM8xp()o

I just can't make the sound loop while the trigger is active - or at least I'm not sure what active means. I was thinking that Custom Trigger means it's on, and Custom Untrigger means it's off

jade yew
#

actions, play sound, loop

oak willow
#

it is

#

OH

#

hang on thanks trying it

#

and so to trigger it I have to put the code into the custom code block in actions?

#

mm that's not a thing

jade yew
#

no.

#

no code in actions.

#

the only code is returning true on move start in the trigger and true in the untrigger on stoppped moving

#

then you use the normal regular non code options in the actions tab to loop a sound.

oak willow
#

❤️ thanks @jade yew you just made my day

oak willow
#

@white abyss idk if you figured it out but I have this working with the squidward squish walk:
!WA:2!nwz3UTrruayBm0cMcIgvI4pvzfKQALADAcKQcIQIxNn1UKyBT29NGQWE2DoE3Pz9mBNz283fiKvVajUbLhbFnx5NGQWlWQie3076JqEbGZmRtAPIl6iz7ZE2ZCMZpFZXfxBUrZrNJ(RF3evcrU1dyuD0hFOvU9WHkq)WIssGMj4QB4P0ePEBjv0pwisg4hKQ0IrluU8yuLsKYPdo0(tFjKaeDNsxV6n9SAKvYn(a0YCPOj5MMq0rjFADRUUgnpQ7tsz0DisAvryO)qgNPIwl7SrzVxw5SZL9btqttMDEo4B1ZN9(rEbIyH8UnU9ZF(Z)hC142Vy60NvOqHsLK7LNkn((GF(D(LcfU6ucpisi7iyCTFD3w9C9MWceC84LbWxu4OaHiMk2H3Dhwcm4iB5WtOjM6qXKZ)FEEdbfCQDVETp8KD5sdHOJ9jbBfknbzDBKvSyrt9yLXAjlmeKQwxsot8VD07LazN5fQuFyBGR7MoCiB3P9RxRBV(D7vZR3ek4Jk7H2jB4UEN1U36Ewt9BaKyDKtkwh8tIj7bYXQeioUjvvo3BQKR2z9AB66L7k3v7Vr773S1DUALtv3UtNtvNDMKnhMYTn9ldxPCfCz)InScu5w3QYc)VEBHk6iGBn0SKGovYROLPGvhWPLXpECYiqv2licc2k7lpnJ7ibmJ962XD91NMdi9nffFK50PQtufXOGNMncOhKYNv9Mhd4F6nmGF188niGTEcfMszQhBpHTHLj89sopXk3lpcmiWFuWIq9ZXWs46yKUajNeFFSzJH2VD8waKudBobApd6eDGcIhAPWSlCejvJmz7e7DTYEwglASprMJpLkwSecbkSAijAiA5uzCYNhP1jQVDXf3HekQYel2Q5tQh2EZv7V4sV6L4nlobl0EqOX3F28zx8i8XxcO(ralms)0ZDaHZgzP6BK92RDiquqxTe4H6OZMDrhUGdhrnNpAHT9ivaM0u1yJPg4mRHZicJVw2DWnK1iRz2DZ(b83p8114eli0HhKQG(CKaKr(AsmccZ7nknwZkl3hpmKHFlhtbB(SoiZetukJKJITpyeEHnhDW9rn9GLRT6QjFe6YA0hJ8cqb6gKDJMY4dfY886strXaW1EVyqYNWc5cjmRQB16kLcPAGVYomWNnkri1tmzjlV1i3D24KN97p2)YfkCLfyu5oK4Ty8q52596sVEyW4rtK26VPk5yqL8jU1pLxCqcqm4alfPmCUxZ70O3X5ZQwtI3BmB1VBDpx3wjZH(V(SboyUJafmyQ1JnSnZBj1WUiRaJDIz7Vponn5cNmGQh(MvzkIFmqJY5KE5gNC5MgODijaEuDIsJPKdr(O718AV8PR11SbFfmctwVLQE9QxFIwemlZF3T)ZzHbJsbUxl3776LfmWJeNerk5TJ5FyE65wghXpDL7UXdI3CRDBDdFFmRhYcllzCJJGOPdnzmsFenP0uHKHTgBhCsJ2En)X2T6vBDZ1sZiVM4M9x6RwE5L(MXNKJdC2xigvCoL3kvVz1VEUT)Rh(Vp

jade yew
#

You have to give him the file

white abyss
#

i havbe my own sound file versoon

#

version

#

but

#

it wont play it idk

#

its just a small .ogg file

jade yew
#

!mediahelp

tiny briarBOT
#

Trouble with custom media files? Make sure you've done everything on the list in this link: #pins message

white abyss
#

Thanks

#

but somehow I cant get a sound 😭

#

my path is Interface\AddOns\WeakAuras\Media\Sounds\walking-sfx-wow.ogg

#

the file is in there

#

idk what else to do

#

@jade yew Sorry to ping

#

just wanted to make sure this is viewed

#

heh

jade yew
#

i really dislike pings.

white abyss
#

Yea that's what I expected

swift osprey
#

you shouldn't put your sound inside of the weakauras folder

#

it says that in the pin

#

how are you trying to add the sound to you aura?

#

it won't appear in the drop down menu

oak willow
#

I made my folder in the classic folder

#

called it CustomSound

#

sorry for the confusion

#

@white abyss ^

#

E:\World of Warcraft\classic\CustomSound\example.ogg

#

it reads from above interface/addons

#

so all you need then once the folder is in the right place is: CustomSound\example.ogg

#

also to note: I used audacity to cut and modify the sound I wanted - in my case it was squidward squish - I used the sound of both squish types in one audio. I also tweaked the speed and pitch of the sound to go better with my walk type - undead kind of walks in pitter patters so I sped it up, this can all be done in Audacity.

2nd also: If the sound doesnt stop after you're done walking just go into Actions > On Hide > Stop Sound

3rd also: If you added the sound file while the game was open, you'll have to restart the game for it to catch.

#

I'll be working on having the sound stop when mounted, swimming and jumping soon - I'll post it in here as well in case others want it too

swift osprey
#

If you added the sound into the weakauras folder and restart the game it may no longer be in the folder

#

if you update weakauras it won't be in the folder

oak willow
#

so that's why they have you make it outside

swift osprey
#

don't put your custom sounds in the weakauras folder

oak willow
white abyss
#

Is my path

#

but I put: Interface\CustomSound\walking.ogg

oak willow
#

don't do that

#

C:\Program Files (x86)\World of Warcraft_retail_\CustomSound

#

do this

white abyss
#

im so confused

oak willow
#

so basically

#

weakauras root folder is the retail folder

white abyss
#

right

oak willow
#

ok so in the retail folder

#

make the CustomSound folder

#

put your ogg in there

white abyss
#

ok did that now

oak willow
#

then in wekauras you point it by doing the following:
CustomSound/examplesound.ogg

white abyss
#

ok I see

#

Well let me try exactly that

oak willow
#

and make sure you restart the game if you did this while the game was running

white abyss
#

Put the sound and launching now

oak willow
#

cool

white abyss
#

Works ty!

#

What should I put the repeat as

oak willow
#

I put my loop at 0.8 but it depends, play with that

#

also If the sound doesnt stop after you're done walking just go into Actions > On Hide > Stop Sound

white abyss
#

It does stop

#

someone made the code for me

oak willow
#

was that someone me? 😂

white abyss
#

basically rn it plays 5 times at oncew

oak willow
#

k so yeah your sound is too fast

white abyss
#

Yes it definitely seems to be you

oak willow
#

so increase the delay

white abyss
#

Whats the delay mean

#

like

oak willow
#

0.8 -> 1.2

white abyss
#

what is that number indicating

oak willow
#

or something

#

it means play the sound again after 0.8 seconds

white abyss
#

oh

#

Ok Im gonna try your file then

#

mine was like 10 seconds loop of it

oak willow
#

ah yeah you have to cut it to two steps

white abyss
#

Yep seems right

#

How did you learn so much about WA

#

😭

oak willow
#

dont forget to restart the game 👍

white abyss
#

Restarted yeas

oak willow
#

idk I learned over a few hours of screwing around with it and Spaten helped

#

I was using triggers before so I also had difficulties lol

white abyss
#

omg it works hahahahahah

#

This is so sily

jade yew
#

Less code makes it easier

white abyss
#

Im gonna make so many annoying things with this knowledge

oak willow
#

like you, I also love this 😂

oak willow
white abyss
#

Well

#

I set it to only load like this:

#

So just when chilling around

oak willow
#

yeah but it still happens on mount and swimming right now

#

I'll be changing that soon just havent gotten around to it

white abyss
#

That's kinda fine

#

but maybe there's a way to dot that yes

swift osprey
#

!mediahelp

tiny briarBOT
#

Trouble with custom media files? Make sure you've done everything on the list in this link: #pins message

jade yew
#

Yes

swift osprey
#

ANY subfolder within _retail_