OpenArena Message Boards

OpenArena Contributions => Graphics => Topic started by: kit89 on January 04, 2007, 11:07:06 AM



Title: Need some help?
Post by: kit89 on January 04, 2007, 11:07:06 AM
Before I say anything, I would like to say is this is an excellent game with lots of potential! I love its fast passe gaming. :)

I've been trying to do some research into getting some models into OpenArena. And I do have the md3 importer & exporter. And I have imported the model into see how they have been setup for the game. Although its lacking in some parts.

So I was just wondering, would it be possible if I could see one of the original model setups?, possibly Sarge? I assume it was all done in Blender so that shouldn't be a problem.

It would greatly help me understand how it is all setup. And possibly create a tutorial on creating, animating, exporting and importing the model into OpenArena.

Your help would be appreciated. :)

Excellent game!


Title: Re: Need some help?
Post by: baconfish on January 04, 2007, 11:43:41 AM
All the model sources seem to be in the SVN section of the OA website. See here (http://openarena.ws/svn/source/assets/models/) :D


Title: Re: Need some help?
Post by: kit89 on January 04, 2007, 12:11:24 PM
Thanks baconfish never realised that.

My next question...

Is the animation.cfg, I got the gist that it tell the engine what frames to go to to do a certain cycle. The question is how do I figure out what its actually telling me?


Title: Re: Need some help?
Post by: fromhell on January 04, 2007, 12:58:26 PM
the animation.cfg is the hardest part of the process mainly because of dealing with the lower.md3's frame numbers (as you'll have to do some math of adding all used upper frames to the actual frame number in the cfg) and it's mostly learned by trial and error.


Title: Re: Need some help?
Post by: kit89 on January 04, 2007, 01:09:45 PM
What is "num frames"? Is that like the end frame?

I assume "loop frames" means it will loop it that many times.

How does the last bit work "frames per second"?

Looking at this part in the animation.cfg:

// first frame, num frames, looping frames, frames per second

0   30   0   40      // BOTH_DEATH1

I can figure out that the start frame is 0 and the end is 30, and it does not loop when running. But I cant understand what is the point of the 40?


Title: Re: Need some help?
Post by: fromhell on January 04, 2007, 01:14:00 PM
First column is the starting frame.

Second column is how many frames it is. It's not an "end frame". It's just a number of frames.

Third is the same as second, but loops these frames specifically. Say if you had a runner that tripped in the animation cycle at the 34th frame but don't want to play that trip again you can make it loop up to 30 frames instead.

Fourth is frames per second, aka the speed of the animation. Most models use 15, 20 or 30.


Title: Re: Need some help?
Post by: kit89 on January 04, 2007, 01:18:12 PM
Thanks for clearing that up. :D