Today I will integrate some of the weapon models and animations by the DMD into our codes. So first off, a weapon that acts like a blender whose blades will spin and deal melee damage, and slowly wind down also. So quite a challenge, a weapon that has several phases.
So I loaded in the model, animations, and after realising some animation errors, fixed it, then it animated. But for some reason, firing animation doesn't work.
So spent 1-2 hours of figuring out and realised why. Then now the weapon's firing animation worked. But it's just step 1. The weapon has several phases of activation, Wind up, Spinning, and Wind down.
I referenced the Minigun's codes and made the 3 modes of shooting. So after quite awhile of work, it finally attacks like it's supposed to. (Wind up, full attack, and wind down).
Then overwrote a function so that it plays 2 idle animations. So that occasionally the gun will move.
After that I integrated 2 more of DMD's weapons and this time since alot of the things are already figured out, they did not take too much time.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment