Jump to content
  • 0

Need help understanding MD3 animation


hardcore_gamer

Question

So I created a simple 3D cube with a simple animation where the cube merely moves up and down. I have used 3D models before but not one that has an animation. From the research I have done I understand that you use frameindexes to tell the engine which frames are used per animation but there are lots of things I still don't understand and I haven't gotten this working yet. Here is what my model def, decorate and textures lump look like:

 

E2GD9At.png

 

wnyy4lQ.png

 

tP5uiD2.png

 

 

So what exactly is missing? Gzdoom just crashes/gets a black screen. Can somebody explain in more detail how 3D models are animated because so far I have hit a brick wall in my efforts to understand it :(

Edited by hardcore_gamer

Share this post


Link to post

6 answers to this question

Recommended Posts

  • 0

I have made cubes that move up and down using 3D floor and waggling the floor and ceiling of the control sector.

Share this post


Link to post
  • 0
1 hour ago, Jerry.C said:

All your states have a duration of 0 so the entire thing ends up in an infinite loop.

 

 

I think I am probably massive misunderstanding what these numbers mean. Can you explain it in a bit more detail what all these numbers and letters mean? Other than the last number on the modeldef list since I already know that that's for the frame numbers.

Share this post


Link to post
  • 1

It's about the DECORATE. You say "CUBE A 0". That 0 is how long frame A is supposed to be shown. 0 means nothing.

 

Share this post


Link to post
  • 0
7 hours ago, R4L said:

Yeah, change that to 1 and you should be golden.

 

Thanks a bunch. This was driving me crazy but now it works. I love it how sometimes just one single number can break everything lol.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...