I know that you can change the color on the model on a player by using Player:SetPlayerColor(), however I’d like to be able to do it to ragdolls or NPCs. I’ve looked around bodygroups, but they do not support it. I have also decompiled the male_01.mdl file, but there are no references to changing color. How does SetPlayerColor() work, and how can I use it on NPCs?
EDIT: I also opened up the model in HLMV, but I can’t seem to find anything useful.
EDIT2: It turns out that the colors are due to the VMT/VTF files, but the extracted VMT contains no references to colors (neither the HL2 version or the GM version).