Closed UncannyFish closed 2 years ago
Haven't tested it myself, but the new code looks better than the old one. Does this also solve the issue with force grip being offset? Some users have recently mentioned such an issue with jka models, but I haven't looked into that, yet.
Are you sure it's a good idea to remove the "_off" stripping? I don't remember exactly what it was for, but I think it was a workaround for something the jka cgame module does and jk2 doesn't. This should get looked into and tested before merging this.
I can't find find why _off
stripping would be useful. I will look into it after some sleep. I haven't heard about grip, I will test it too.
I tested force grip. Looks like it was fixed too with this new table. Previously it was offsetting like pull/push.
Could you show demonstration of the fix?
Here is screenshots before fix. JK2 Kyle JKA Kyle
After applying fix both Kyles look like on screenshot 1.
Quick video demonstration of that this pull request fix: (JK2 Kyle on the left, JKA Kyle on the right)
https://user-images.githubusercontent.com/64485842/177019032-4177a7ff-3d1a-4bc6-9896-61612a7d9d55.mp4
https://user-images.githubusercontent.com/64485842/177019034-4b2e41ed-5a9b-4131-be51-919d41fee3ac.mp4
I believe the issue was in
OldToNewRemapTable
. It was not remappinglhang_tag_bone
tolhand
. I also mappedltail
andrtail
tolfemurYZ
andrfemurYZ
. I found custom JKA models using these bones for capes and skirts.