How animations work?
How animations work?
So, I kinda get how animations work. I know how to add new animations, and how to easily play them with "weaponframe" function thingy. But what i dont know is how to make a running animation, so that theres an animation with the player running that replays when you run.
Look in player_run, in player.qc . The QC manually cycles through the frames, with a breakout to the standing frames if you're not moving, iirc. Look in the top of player.qc while you're at it, or any of the monster files, and see a bunch of "frame macros", the things with dollar signs at the beginning. These are handcoded to match what's in the model file in order to usefully be able to reference them.