TF2-DMB / CBaseNPC

Provides a friendly interface for plugins to use in order to create custom NPCs on the game Team Fortress 2
37 stars 6 forks source link

Model updating Animation Data #57

Open artvin01 opened 3 months ago

artvin01 commented 3 months ago

An NPC that gets a new model asigned via SetModel or any model setting doesnt get its animation data updated how to reproduce:

Step1: Make an NPC, give it a medic model Step2: Animate it, walking cycle, doesnt matter Step3: Any new model with new animations or different ones Step4: Try to animate the new model via either lookupactivity or lookupsequence, it doesnt play the correct animation or its weights are wrong/Walkcycle, you name it.