cheb
Lesser Nub
Cakes 3
Posts: 127
|
|
« Reply #2 on: October 30, 2016, 07:14:53 PM » |
|
There is a much more jarring problem: in any realistic situation (everyone strafe-jumping like pros they are) there is NO animation at all. Everyone's avatar is stuck in a perpetual "mid-jump" frame like bouncing mannequins.
I STRONGLY PROPOSE to find a way to apply running animation for strafe-jumping.
1. For each skin, analyze animation to split it into two phases: phase 0 is one foot forward and phase 1 is the other foot forward. Maybe by using the foot sound attachment points as references, or by selecting frames with lowest vertical vertex coordinates - in short, the hard part.
2. Add a boolean phase counter to each player, each time he jumps flip 0 and 1.
3. If player speed exceeds, say, 250 horizontal and abs(vertical speed) is, say, below 200, consider it strafe-jumping and apply running phases instead of jumping animation. The trick here is to apply frame not based on time but based on vertical speed. So, for example, upward speed of 150 maps to 0.0, zero to 0.25 and downward of 150 to 0.5, and for the next jump upwards to 0.5, zero to 0.75 and downwards to 1.0. There *will* be sharp transitions during the bounces as start and end of each phase would be probably cut off due to speed being less. But this is for the better as no amount of twiddling would make animation match strafe jumping speeds. (believe me, when I animated that mancubus I found the hard way that its animation is twice slower than its actual speed in Doom 2. I had two options: making it skating around (looks damn unnatural) or double the playing speed of its walking animation (looks damn unnatural, all that lard would shake itself apart at those accelerations) In light of this, the classic rules of anime when there are NO intermediate frames between two dramatically different poses, are a godsend.
This is NOT perfect but at least it could be applied to old models, keeping Q3 compatibility and not breaking anything AND pro players would stoop looking like bouncing mannequins. They will be moving their legs, at least
|