Advertisement Jump to content
Sign in to follow this  

what animations are there in an MD2 model ?

This topic is 4901 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

Hi All I have read that md2 models define a set of 21 animations (199 frames) such as STAND (frames 0-39) and so on. I dealt with models that has less than 199 frames. how one can identify what kind of animations are there in a certain model ? md2 frame has a name, something like attack001, from this info one can identify the total number of animations and the number of frames per animation, but still how one can know the number of frames per second for a certain animation ? thanks allot

Share this post

Link to post
Share on other sites
how can one know where an animation starts and where it ends ?
if u check the animation name u might find names like:


I could identify the start and end based on file name but I was experimenting with different md2 files and found the combinations above, some files has a 3 digit sequence number at the end of the name, some has 2, some has 1 and some has 0. if u do not know how to extract the name from the frame then there is no way to automatically detect where animation's start and end. standard md2 files that has 198 frames has a predefined animation's so u can know but what about models with other animation's ?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!