Hmm, damn.
OK, this a trial and error thing, but if you put SCAN_TEXTURE into the c-trace,
does the "tex_name" string change to a useful name of the string of the hit part?
Or does it just give the MDL-filename? If it gives the skin name, can you name
those in such a way to be able to extract the info you need?
OR
Does your textures have the alpha channel UNUSED? If it does, create alpha channels
on each skin and "paint" a specific alpha value over each body part.
That is replace our separate color-map skin with the alpha channel.
Youve just got to do it so the alpha channel never get displayed.
(never use the tranparent flag I believe...)
This will depend uon us getting different skin names from "tex_name" as the previous
paragraph tries for.
I can give more detail if this is managable.