geheur / weapon-animation-replacer

BSD 2-Clause "Simplified" License
5 stars 3 forks source link

Swapping fang stab attack animation doesnt work #43

Closed elf64 closed 11 months ago

elf64 commented 1 year ago

Title pretty much, trying to swap the fangs animation stab to scythe for example doesnt work and it still stabs with the scythe image

geheur commented 1 year ago

I mistakenly didn't mark the animation as a stab animation. Changing "Replace" to "Attack" might work until it's fixed. I don't have a fang so I can't test it. btw do you happen to know the slash animation id? I never recorded that one.

elf64 commented 1 year ago

Changing it to attack doesnt work either. You mean the ID for the scythe? i dont have one but the visual sounds plugin for the fang says stabsword_slash 2548 for Slash

geheur commented 1 year ago

visual sounds is showing sound ids.

if you want to log the osmumten's fang stab/slash animation ids, you could install my "weapon charges" plugin, click the "log data" checkbox, do the animation, then check your logs for it.

I don't think I need those ids though, I think I know what the issue is. I'll see what I can do to fix it.

elf64 commented 1 year ago
[Client] INFO  com.weaponcharges.Devtools - 403: animation changed: 9471
[Client] INFO  com.weaponcharges.Devtools - 405: animation changed: -1
[Client] INFO  com.weaponcharges.Devtools - 410: animation changed: 9471
[Client] INFO  com.weaponcharges.Devtools - 412: animation changed: -1
geheur commented 1 year ago

I need the slash animation id, not the stab one. I already have stab and to mark it as stab I'd like to be able to add the slash animation as a slash animation, so I need its id.

elf64 commented 1 year ago
[Client] INFO  com.weaponcharges.Devtools - 73: animation changed: 390
[Client] INFO  com.weaponcharges.Devtools - 75: animation changed: -1

for the fang slash animation

geheur commented 1 year ago

Alright, I'll put it in in the next release.

geheur commented 11 months ago

I think I added this about a month ago.