The getNumParts() is an interesting find. I'm wondering if it can be used as a COD2 approximation of COD4's getTagOrigin() by converting the method:

PHP Code:
getTagOriginmodeltag )
{
    
parts getNumPartsmodel ); //return bones count

    
for( parts i++ )
    {
        if( 
getPartNamemodel ) == tag //return bones_name by ID
            
return( model.origin );
    }

If I had time I'd test it, but alas, I am snowed under with a project and behind schedule.