Attributes (in Custom Attributes framework format) reimplementing features that were integral to previous iterations of Custom Weapons.
While these are originally written with Custom Weapons X in mind, there is nothing preventing their use with other plugins.
In addition to Custom Attributes, you'll need:
viewmodel_override.smx
provides three different attributes: clientmodel override
,
viewmodel override
, and worldmodel override
.
clientmodel override
takes priority and
sets both of those.
sv_pure
to allow custom files. (Either set it to 0 or -1, or set it
to 1 and modify cfg/pure_server_whitelist.txt
to specify the paths to your custom assets.
If you use a strict pure setting, do keep in mind that you cannot ensure that players haven't
replaced your custom models with something else on their client.)models/weapons/.../c_myweapon.mdl
).It also implements arm model override
, which allows for visual replacements of the arm models.
Animations are inherited from the original arms. This is quite cursed.
For known working models, use the ones in this Workshop Weapons Pack. You will need to do some additional work to use models intended as client-side replacements (e.g. those from GameBanana). I can't help you there; that's outside the scope of this plugin.
Please do (but do file an issue first). The only reason this repository is available is because CWX would be otherwise dead in the water if a viewmodel plugin didn't exist.
Released under GPLv3.