MDL

#20
I have the .cp files in the bag. They do serve the exact function I had last speculated...

Basically there are these things embedded in the MDL files that look like little pairs of coloured triangles.

I think cyan triangles mark the center of the model. So for like walking animations they move. If there is no cyan triangle (I don't think this one comes in pairs) then coordinate 0,0,0 or the root animation channel is used.

Next are blue triangles which come in pairs generally one beneath each foot for biped creatures, not sure how non-bipeds would work out.

Red triangles are for attack elements. A pair forms a sword. They are also used to define where magic shoots from and in what direction. I reckon the size of the triangles might also come into play, but the .cp files only tracks the centers of each triangle throughout each animation.

I'm pretty sure I've also seen purple triangles. The colours themselves are probably for reference only.

So yeah basically, like I just said^ the .cp files are a database of the centers of the "control points" throughout each step of the animation.

I don't think it's necessary to interact with .cp files. The .prf files may reference control points directly. Somehow anyway the attack control points must be associated with attacking and only activated during particular attack animations or else you'd always be damaged by getting too close to monsters' implements of attack.


I'd like to document everything somehow, but I can't find any open standards for file format documentation or non-proprietary XML markup. So since no one else is interested in working with the files afaik I will wait until I can decide upon the best means of doing so.


PS: For some reason many of the doors have an awful lot of control points lined up almost like track lighting. I have no clue why that is necessary.
Reply



Messages In This Thread
MDL - by HolyDiver - 2010-04-02, 04:35 PM
Re: MDL - by HolyDiver - 2010-04-02, 07:17 PM
Re: MDL - by HolyDiver - 2010-04-05, 04:05 AM
Re: MDL - by Madison Lastrega - 2010-04-06, 06:28 AM
Re: MDL - by Madison Lastrega - 2010-04-06, 07:19 AM
Re: MDL - by HolyDiver - 2010-04-06, 06:56 PM
Re: MDL - by HolyDiver - 2010-04-06, 11:27 PM
Re: MDL - by Madison Lastrega - 2010-04-07, 05:17 PM
Re: MDL - by HolyDiver - 2010-04-07, 06:23 PM
Re: MDL - by HolyDiver - 2010-04-08, 03:18 AM
Re: MDL - by HolyDiver - 2010-04-08, 10:19 PM
Re: MDL - by Madison Lastrega - 2010-04-10, 05:15 AM
Re: MDL - by HolyDiver - 2010-04-10, 05:55 AM
Re: MDL - by Madison Lastrega - 2010-04-10, 07:22 PM
Re: MDL - by HolyDiver - 2010-04-10, 09:22 PM
Re: MDL - by HolyDiver - 2010-04-10, 09:24 PM
Re: MDL - by HolyDiver - 2010-04-20, 10:48 AM
Re: MDL - by HolyDiver - 2010-04-21, 01:45 PM
Re: MDL - by HolyDiver - 2010-05-03, 01:06 AM
Re: MDL - by HolyDiver - 2010-05-03, 07:59 PM
Re: MDL - by HolyDiver - 2010-05-04, 12:16 AM
Re: MDL - by HolyDiver - 2010-05-07, 07:27 AM
Re: MDL - by HolyDiver - 2010-05-10, 11:29 AM



Users browsing this thread:
6 Guest(s)