#Lethal Emotes API
1 messages ยท Page 2 of 1
Yeah just make sure to make the stuff I marked as null, to be null
That is very important
syncAnim ?
im confused
v keybind does this
why would i put it in the config
as true
wouldnt it always sync then
If false, it won't stnc
stnc ?
cause I put 0 thought into it
so I just left it as false
again, just parameters so you can just set it to true
the emote has no sound right
but they are there for if someone making an emote needs it to not sync either the animation, the audio, or both
unless you imported audio
it does not
i would do that in unity ?
yeah
oh
basically the same process but without animation specific steps
i mean i can add audio over it no ?
yeah
Music - Riton & Kah-Lo - Fake I.D. (Official Video)
Video I used - https://youtu.be/K0BcL2GQ6jI
Just a stupid video I thought would be funny
like this
if you have a (ogg preferred) audio file
mp3 is bad ?
there is mp3 to ogg converter though
ffmpeg is your friend for converting audio files
but we can't use opus
i shouldnt use online converters ?
either one?
yeah ffmpeg is literally the best
so yeah add that ogg to your unity project
how do i use this in unity now
then add that to your existing asset bundle
oh
very important
never skip this step
ok i did that
but i dont see how that adds it to the existing asset bundle
also dont i need to edit the audio to only have the part i want
xD
no
in unity
I make a gif
while you download audacity
ok i have the song in audacity
i accidently did something to the song
in audacity and restarted the program
i couldnt figure out how to move
tried arrow keys
and moving the thing
ah
group them then build it
ok i see
it would be much easier to trim it in vegas
or something
i have no idea how this works

then make new ogg
yeah you can use whatever
just pass it through ffmpeg before you send to unity
to make an ogg
lol what
oh i need to render it
i can do ogg
through this
which one do you recommend ?
but its audio
I meant that more in a general sense of "pick one I dunno"
i did 350
48
the biggest one
basically
it crashed my vegas trying to drag it to unity
up to a great start
ok time to follow ur video
the discord one
not youtube
don't forget to check the two preloading options
these
otherwise you will experience an amount of stutter the first time the emote plays
correct ?
.
i did
not spaces
Is the problem with rehosting solved?
but that is technically valid
oh i griefed myself ?
cause I like to sperate my audio and anims into seperate bundles
just know you need to add that new bundle to the folder like earlier
i can do that too
how would i do that though
like i need to group them somehow ?
just like the other asset bundle from earlier
or you mean group them in one?
also you need "."s here
oh yeah i didnt build it yet
in unity
oh
am i missing something
why is Audioclip in red
oh
how to make it just one bundle?
the way you do it
normally
like the way i did it is technically right but not ideal
or something
i dont quite understand
the way you did it honestly makes sense if you start adding more and more
just for organization
so you have a bundle for emotes
and a bundle for music
hmm
do that again with the newly created one
but wouldnt i need to change the code
nope
oh
it just loads all asset bundles in that folder
so i builld this ?
ah
or something like that
oh
again that's just for organization
yeah
so build those bundles
i need to build them both again right
yeah
and delete old one
no
also
uhh
you say you got it
but that's just your standalonewindows folder
did you move the two to your assetbundles folder?
not yet
forgot that step
lol
done
so is what you meant you normally make a folder for audio
and folder for animations in here ?
ok
one folder
now change my code
yeah i did those
nope
so its ready ?
do i need badass emotes for it to work ?
that customName parameter
can have caps
cause that is the user facing emote name
yeah
ok build ?
you are essentially making the same thing as badassemotes from a logistical standpoint
just another emote mod
yes
the only issues that can really come up between mods that use lethalemotesapi is if two mods implement an emote with the same name
but finding mmd is so bad
damn it works
huge
how do i thirdperson
again
i forgot
im always using the first person
middle click to toggle while emoting
ahh
wtf
it's not in the example cause I added it after I last updated the example
its actually kinda good
ok i feel like i will be able to maybe make one on my own next time after propper sleep
lol
especially if i save ur other videos
there is a param for making your emote default to third person
if you so choose
keep in mind, this is for the emote itself and not your personal settings
i rlly appreciate all the help you gave me
so default functionality will be third person
yeah glad to help
we want to make this much simpler in the future for basic animations
i like first person
but we've gotten bogged down with upkeep
i just wanted to see this specifically in thirdperson as im alone
yeah
we love emote mods in these parts
always happy to see another funny emote enjoyer
keep in mind, another fun feature, which admittadly would require some actual coding
but enemies all have emote skeletons now
so anything you import can be run on them too with a bit of work
oh, there is a bit more to upload to thunderstore fyi
but we can tackle that whenever you get to that
anyone can emote
just the one quirk with asset bundles
I'm assuming you've never dealt with an assetbundle folder?
so yeah
i forgot how it works completly to be fair
but we can do this real quick
but i plan to add more
before i upload
i think
atleast try to
yep
i can make the preset for it
so i have it ready
i want to credit all the emotes i use too
so i dont get in trouble
how do you credit it on badass company ?
uhhh
we kinda didn't tbh, 99% is ripped from fortnite
and other 1% was hand animated
so we just kinda left it as is
yep
feels good to not be clueless for once
here is how it looks btw
the ending of the emote is a bit weird lol
technically you can set it to loop
if your audio loops already
or you can get it to loop
that's a param
a single audio file ?
due to how unity works, you have to make your animation loop in unity itself though
there is multiple on some ?
is it hard to loop animation
for a looping song that has a startup
maybe i should just loop the part i like from it
my head hurts i cant do this rn
i need to sleep lol
its 6 am
if i want to make another emote i just re download the example thing from github i should prob back up the default of that @grizzled lava
also gm
i woke up with a terrible migrene and slept forever
or is there a easier way i can do it
you can have as many emotes as you want in a single mod
oh
but i dont know how to extend the code
lol
or can they all load into the same assetbundles folder ?
so, while I would recommend a function to house all the code instead of just copy pasting
if it helps you understand it better you can just
and just load your new animations and audio in the same asset bundles you already are building
oh
seems simple to do
think i get it
i will try on my own first
ty!
first i want my headache to go away though
also sorry for how poorly i did yesterday i was insanely tired lol couldnt focus propperly
this seems like its humanoid already too i think @grizzled lava
not sure how you can tell
also i can just keep using the same example package right
not sure what you mean by this
ok i move it out

i need to move it in the folder itself
well
oh
skip
then ctrl r
you don't have auto refresh turned on and I don't remember where to turn that on
but ctrl r manually refreshes unity
still not working
i right clicked it and hit refresh
at this point using the folder will be easier
that's fair
@small ginkgo once the next update comes out, which will probably be sometime today
should i put like animation1 audio1 on next one @grizzled lava
or should i remove the other assets
um
no don't make a new bundle
just add any new animations to the "animation" bundle
and any new audio to the "audio" bundle
assetbundles are just zip files effectively
so its not a duplicate name
think of them like that
you wouldn't make a million zip files for a million files
just one
or two in this case, for organization
oh
and put your nae nae animation in the existing animation assetbundle
woops
no
delete "riley - nae nae"
i have to fix looping on my first emote anyways
oh
so they are like there own zip files
yeah just think of this tab as a list of zip files
so i can put the nae nae inside my animation foilder
yes
i gotta remake it though
and these are the contents of said zip file
probably
yeah
in the preview
you can see the line resetting
if it looks fine
loop will look perfectly fine
that's fine
as long as you don't need stuff to sync together
like a beat of a song is a specific movement
will it end on the audio instead then ?
so that
yeah its not rlly specific
like I mentioned since unity is annoying
lemme break down looping
animations: like we already discussed, that will just work
also i broke something here
i clicked on the line to skip further into the audio
and now its gone
audio: in code
oh yeah
what's gone?
screenshot?
that's the same as my audio inspector
ooooh
i cant look at my dance anymore
ahh
hahaha
wait if i speed up in unity
will it speed up the actual animation too
yes actually
i dont want it for this one specifically but could come in handy
I thought of this
oo
granted this requires that optional bit I mentioned but
the animation code ?
lemme get a video
oh
i mean thats simple code i understand this
that i could manage
the audio for whip nae nae is free elo
atleast
maybe i will try speed up my gmod one
but i would need to make audio speed up too prob
that i can do myself though
oh this whip nae nae is from BO3 lmao
I have TONS of videos going out today for the new DLC:
โ Thanks to Noah for the gameplay: http://www.youtube.com/noahj456
โ HG40 (MP40) Gameplay: https://youtu.be/h5ua9NKuZDI
โ New Sniper in Black Ops 3: https://youtu.be/PrDLckWpkBs
โ Baseball Bat BO3 Gameplay: https://youtu.be/XRSd2uVqghY
โ Carver Blade BO3 Gameplay: https://youtu.be/pLSaIFgqMR...
no wonder its so well made
I do request tho, to make use of this if you are adding songs that will get claimed

i dont know much about copyrighted songs though how do i find out if its copyrighted
bottom of youtube right ?
does this mean its copyrighted
yes
I wouldn't always rely on that, cause sometimes it doesn't list stuff cause a video is too crusty
but if it is there then yeah 100% gets claimed
aight
that's what we did
but again, if it shows there then 100% it get's claimed so you really only have to look up stuff that doesn't get listed
well ik for sure both my songs are claimed 100%
add a way for first person in config
Isn't first person the default
3rd person is so goofy and gets rid of the lethal company feeling
it was these two settings right
load in background and preload audio data for audio
yes
i can find the video in my dls to make sure
nvm
we good
then apply
i actually didnt forget most unity steps
now i just need to put it in my assetsbundle folder then its visual studio time
as i have this
included gmod and nae nae audio and motions
so much easier to focus when i actually have slept
I feel that
its only the last step of coding i need to do right
the path is already set correct
the convar / param changes
yeah the csproj stuff you can ignore
nice
i need to find ur video of how i made a new house functiion
hold on
i dont want to mess this up
correct
did i do it correctly
missing e
lol
fixed
looks correct to me
just making sure
yep
ok
i rememeber what to do next
the gmod i need to enable looping setting for
right
is it okay using this symbol
for custom name
I'm pretty sure that's fine
if not, it will yell at you and you can just not do it
also for a much more advanced case, this would drastically reduce your clutter
"much more advanced"
not really that advanced, just taking that whole code block and making a function out of it
so you only have to copy paste a single line
oh
i think the way im doing it rn is good enough
for me
are case sensetive an issue on file names
like this
nope
uhh
technically nothing is incorrect
but
I feel in your use case, since you are syncing animation, but not audio
that's gonna be really weird
so you might want to turn that on for both your emotes
turn what on
oh
which in your case
i didnt see that was an option
might be really weird
the whip nae nae isnt looped
ah
i already configured the audio the way i wanted
i think it should be good
lets give it a test run
that went smoothly this time
for the most part
hahaha its so desynced
its mega scuffed
I`m making some new video....
keep practice making camera
Camera + Wav download link https://www.deviantart.com/alexa-blue-sky/art/MMD-Watch-me-whip-and-nae-nae-Camera-WAV-Dl-587408609
Motion by (c) MinuzNegative ( the motion video is been private)
Model by (c) Mqdl
Tk Grid floor by (c) touko-p
Camera by (c) Me
Effect (c) O_selfOverlay and...
this is good
nae nae = hands up
whip = hands forwards
pretty straight forward
shouldnt be imposible for me to sync
yooo thank youuuu
Ever had the problem of audio not playing in sync with your animation? Do you find your player movement not synchronized with the movement sound you added? The problem occurs due to non-usage of an animation event.
Letโs try to understand this.
Say you have a player attack animation where the player unsheathes and swings the sword. if you have...
ima try this
indian unity guy got me covered
nvm
So that is valid, and everything you need is exposed
But yeah you'll have to make custom implementation
I mean looking at your animation
It's just not correct
Like it will never sync with the song
audio starts at wrong part of animation
Well, if you know what part to start the audio at, just clip the audio to start there
Unless I'm misunderstanding
well im not fully sure
i have an idea
think ik where to start it
let me try
can i see how it plays in unity
with the animation and audio together
xD
But you have the animation and audio, so you just have to make an object with all of it
i see
Let's add audio to your VRChat avatar. My discord is @Not Savvy#2333 for any serious questions, comments, or help.
Toggle Assistant download:
https://www.mediafire.com/file/u4hydpz1p9sxmh7/ToggleAssistant-0.11.0_1.unitypackage/file
found this
maybe this works
ok its getting cursed
i will wait for you lol
what is the emote_tester unitypackage thing for ?
it wont let me drag the animation up there
oh
any more info than that?
thats all i can see
uhhh
drag it into your scene, see if it works
what
let me try to re-export it
hrm
cause unity
uhh
you might not though
gimme a sec
oh
nvm yeah you do
cause you need a working rig
im dling
that was probably why the package wasn't working
unity might need to be restarted
only the project right not the hub
@grizzled lava Hello, I have a problem while build
"A project with an output type of class library cannot be started directly
In Order to debug this project, add an executable project to this solution which references this library project. Set the executable project as the startup project."
don't press the play button
use this
so I don't click, I do it through the tab
same problem
i deleted everything from the package you gave me
ive done that once
already
xD
it does not work
ok wtf
new error
why did it work this time
but i have blender
it wants me to do something with blender i dont get it
i dont think the other isuse is there anymore
you do
but the one I circled still doesn't work?
isnt this correct
yeah use that

just opened it in blender and resaved it
yeah
no
I just forgot

where was this?
that shouldn't matter
but its playing the wrong animation
how do i switch to my animation
its the punch one
yeah you gotta change this
oh
drag your new animation where it's pointing
correct


