Admer456/ioq3-burek

Animation description files

Closed this issue · 0 comments

Right now, only playermodels support animation.cfg files. However, I propose a generic approach for any type of model.

Some work has already been done in the RenderEntity draft. It'd parse .mdef files of the model's name.
One MDef with one animation would look like this:

AnimationDef idle
{
    firstFrame 0
    numFrames 50
    loop 1
}

Eventually, MDefs could be used to define model hitboxes and a lot of other data not normally present in IQM.