Well it is possible to make sub-models in only 1 model and use pev_body/pev_skin to change them and save a lot of resources. I know this is possible with players models but is it possible with weapon models?
I thought about change weapon pev since it is an entity like players. Something like this:
PHP Code:
public plugin_init()
{
RegisterHam(Ham_Item_Deploy, "weapon_knife", "ham_ItemDeploy_Knife", 1)
}
public ham_ItemDeploy_Knife(weapon_ent)
{
set_pev(weapon_ent, pev_skin, skinnum)
}
I think this could be something very useful for a lot of people, specially zp/sh servers that requires many models and with valve limit after last year updates, there are a lot of crashes.
I can't test it myself cuz i dont have and i dont know how to make sub-models in weapon models
But does someone knows if it would work? Or some other way to make this possible?
__________________