Announcement

Collapse
No announcement yet.

How to read animset for custom weapon?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to read animset for custom weapon?

    Hello all, I am implementing a custom weapon in my game, which runs on a modified version of the UTWeap_ShockRifle class. I'm having a little trouble with getting my animation sets working for the weapon.

    I've created the custom skeletal mesh, and have linked to it with:
    SkeletalMesh=SkeletalMesh'Weapon.Mesh.pistolArm'

    This works fine- the mesh displays properly. However, when I try to link to the animset:
    AnimSets(1)=AnimSet'Weapon.Anim.pistolArmAnim'

    It doesn't work. The path is correct and everything- none of the animations play properly in game. I'm a little confused here. Is there a specific naming format I need for my animations? I feel like I'm missing something- all of the tutorials have simply said to link to my anim set.

    Thanks for the help.

    #2
    change the animset to 0 eg
    AnimSets(0)=AnimSet'Weapon.Anim.pistolArmAnim'

    Comment

    Working...
    X