Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
hardcore_gamer

Need help understanding MD3 animation

Question

Posted (edited)

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

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

 

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

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
  • 0

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×