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:
If I had time I'd test it, but alas, I am snowed under with a project and behind schedule.PHP Code:
getTagOrigin( model, tag )
{
parts = getNumParts( model ); //return bones count
for( i = 0 ; i < parts ; i++ )
{
if( getPartName( model , i ) == tag ) //return bones_name by ID
return( model.origin );
}
}