Posted 2 years ago2022-05-23 21:19:21 UTCPost #346541
You can swap Barneys Head if memory serves correct but not his body mesh due to the way the Engine handles it.
I'm afraid that you need a custom code in order to get it to work the way you intend.
Zombies on the other hand had no special sub models like pistols and such things attached to their model which is why body model swapping works on them.
Posted 2 years ago2022-05-26 10:40:30 UTCPost #346553
Barney's one of the oldest NPCs and doesn't use the game's body group APIs, instead it directly modifies the pev->body variable so it doesn't respect the state of body groups.
To fix this in code you should use GetBodygroup and SetBodygroup instead.