VRChat Unity - Adding Dances and Emotes (Audio Included!)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello this is Pinky and before getting into this tutorial I would like to quickly mention that only 3.2 percent of the people that watch this are subscribed uh if this tutorial helps at all I would appreciate it if you could drop a subscription and like the video as I put a decent amount of time into these videos and I just like to help people so to help the algorithm and spread this video please uh just like leave a comment and subscribe anyways hello this is Pinky and this will be a tutorial on how to add animations to your avatar so this tutorial will be split into two parts the first will be just adding the animation and the second part will be adding music alongside your animation so to get started we're gonna go to our Avatar and we are going to our action layer here 's may look slightly different from mine but in the end it should have a wait for AF uh action or AFK and so what we're going to do here is I'm going to copy this but if you want to check you have to make the playable layer control and they could track and control and I'm going to just copy and paste this and I'm going to rename this to prepare dancing and I'm going to make a transition so for right now I'm only planning to add at one animation which will be this one right here so I'm going to create a single transition and I'm only going to call for one value so in here in our conditions pick VRC emotes if this does not show up for you what you will have to do is go up here to parameters click new click in and then rename the int that you make to VRC emote exactly like this so after you've done that go here and go to equals so click right here go to equals and pick any number between 0 and 254. so I'm personally going to pick a hundred and I'm also going to do the same for here VRC emote equals 100. so now to the emote in question I am choosing a dance personally and if I want this to loop I will click on the emote and I will click on here and do leap Loop emote if you do not want it to Loop then turn it off anyways so now here we are going to take this we're going to make another transition and we're going to transition it into the bleed out stand and we're going to call this uh we're going to add the conditions and VRC emote not equals and not equals to 100. so this is the first step just make sure that you have equals a hundred equals a hundred equals uh or does not equal 100 and then you are done with here our next step will be adding this to the menu so we are going to go to our end menu we're going to do add control and we are going to rename this to dance we are going to make it a toggle hello this is Pinky from the future and I'm just going to quickly say that I did not go over the fact that you have to add VRC emote to your uh Avatar parameters this can be found inside of your main Avatar where your VRC descriptor is and you just have to add it right here and we're going to make it so that when emote is equal to 100 it will play now to check if this successfully Works we're going to click play we're gonna go here here and hit dance and as you can see the dance has successfully worked now if you don't want that delay what you can actually do is go back to the action layer and in here where it says has exit time set that to zero and turn it off and same with this one zero turn it off and if you also want this you can set that to zero and turn it off and that would just mean that you'll exit out of the emote quicker so to test that if that worked click play again go to your emotes click dance and as you can see that was a lot faster than last time so that is part one of this tutorial part two will be adding the music so what I am going to do is go to where I put my music which is inside of here I chose a DOT wav I'm pretty sure dot Ogg and Dot MP3 are accepted you just make sure that the file Imports correctly to make sure that happens um you'll see these like kind of yellow design here for like the uh waveform of the audio that's how you know it's successfully imported so what I'm going to do is I'm going to drag it here into my hierarchy and then I'm going to drag it into my avatar now we are going to create an emote for this so we're going to click on the Avatar we're going to click here on the controller the animator and then into controller and we're going to pick our FX layer which in my case is ampwavefx now what I'm going to do is I'm going to go here create new clip and I'm going to call it dance on I'm now going to click play and here I'm going to turn this on and off quickly so that dance on matches with the object being turned on and then I'm gonna do dance off and I'm going to create another animation but this time the it's going to be off so now that that is done I'm going to quickly reset I'm going to take the controller out because we no longer need it and I'm going to go to my actual controller so right here FX controller inside of here we're going to go to layers uh you can get rid of these these don't matter and we're going to make a new layer as you can see press Plus go in here we're gonna call it dance uh that's wow I am not on my game dance and then we are going to go to parameters and we're going to add the int VRC emote spelled exactly like that and now inside of here we're gonna put the weight all the way up and then wherever you stored your two uh animations which I believe I did in here we're gonna have dance um off the default and then dance on be the toggle so we're gonna do Transition make a transition and inside of here we are going to go VRC emote equals 100 same numbers we used before and for over here same thing VRC emote equals 100 and I'm going to turn exit time to zero on both of these and turn them off and to make sure that this has successfully worked when you boot up the uh Avatar and you go to the emote
Info
Channel: PxINKY
Views: 38,671
Rating: undefined out of 5
Keywords:
Id: 1pFHpKBbnQ0
Channel Id: undefined
Length: 7min 26sec (446 seconds)
Published: Sun Sep 18 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.