Archived

This topic is now archived and is closed to further replies.

md2 naming convention

This topic is 5590 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

anyone know whats the naming convention for md2 animations in quake2 ? there is a attack, crouch, jump , but some of the models have numbers like crstnd1 or jump02 whats the convention ?? Its my duty, to please that booty ! - John Shaft

Share this post


Link to post
Share on other sites
Hi,

AFAIK md2 models must (for Q2) must adhere to these sequences of animation frames;


frame 0 to 39 : stand
frame 40 to 45 : run
frame 46 to 53 : attack
frame 54 to 57 : pain1
frame 58 to 61 : pain2
frame 62 to 65 : pain3
frame 66 to 71 : jump
frame 72 to 83 : flip
frame 84 to 94 : salute
frame 95 to 111 : taunt
frame 112 to 122 : wave
frame 123 to 134 : point
frame 135 to 153 : crstnd
frame 154 to 159 : crwalk
frame 160 to 168 : crattak
frame 169 to 172 : crpain
frame 173 to 177 : crdeath
frame 178 to 183 : death1
frame 184 to 189 : death2
frame 190 to 197 : death3


So perhaps the naming is less important than the correct ordering of frames. Be sure that the models you are opening are actually made for Quake 2 since other people use the md2 format for their own purposes.

Cheers

Matt

Share this post


Link to post
Share on other sites
thanks .. thats exactly what i was looking for. i can now adjust my game engine to always use the correct frames.

Its my duty, to please that booty ! - John Shaft

Share this post


Link to post
Share on other sites