Page MenuHomeFeedback Tracker

CustomBoneRemapping works only on Weapons
Feedback, NormalPublic

Description

We would like to use the bone remapping, that's used on weapons. But it doesn't work on items, that are not inherited from Weapon_Base. We would like this on custom smoking animation and later something else more difficult.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Feature Request
Steps To Reproduce
  1. create custom animations with the weapon bones
  2. create an item inherited from Inventory_Base
  3. add CustomBoneRemapping
  4. run the animation
Additional Information

! add bone remap for item class
! pBoneRemap has always 2x N members
//! bone in item's P3D first, bone in Character skeleton second

! array<string> remap = { "bolt", "Weapon_Bolt", "magazine", "Weapon_Magazine", "trigger", "Weapon_Trigger" };
! AddItemBoneRemap("class", remap);

proto native int AddItemBoneRemap(string pItemClass, array<string> pBoneRemap);

its mention item's class, we were expecting to make it work on all items, that would be in player's hands

video contains working animation when its inherited from Weapon_base

Event Timeline

d146ales created this task.Sep 9 2023, 4:51 PM
Hunterz added a subscriber: Hunterz.Sep 9 2023, 4:51 PM
DafixCz added a subscriber: DafixCz.Sep 9 2023, 5:14 PM
Geez changed the task status from New to Feedback.Sep 11 2023, 10:36 AM

another usecase is making animation where you eating food using spoon instead by hands