Posted by gameripper
Is this how they did it in stuff like COD? I'm sure they didn't compile every weapon so many times since it would result in lots of really oversized files.
With a bit of engine code could allow switching between attachments easy.
Anyways yeah sounds like a good idea, maybe someone could do a template version for a tutorial which others could then adapt.
They could always use an attachment/parenting system. Like in Source you'd just define an attachment point. For example, grenades in CS:S. Player models have a bunch of attachment points for grenades, weapons, the bomb etc. As you know the weapon world models are separate models from the player model. They just parent them to the player and set the position to the attachment point (or something like that, you can do it in Hammer using something like OnTrigger, modelname, SetParent, !activator(player) then OnTrigger, modelname, SetParentAttachment, grenade1).
Anyway, I still don't see the point. A few extra models only add a few MB to the download. May make it a tiny bit easier to install though.