Quote:
Originally Posted by SirBlockles
I wrote a custom wearable dispenser weapon with its own custom attribute, and it all works fine on that front, but... The default attributes refuse to work.
|
The CW3 plugin interface has issues applying attributes to non-weapon entities. Had to make a note of that for Custom Attributes myself.
Not sure since actually using CW3 is out of my expertise, but you may need to do one of the following:
- Use the "attributes" section instead of "cw3_attributes". Internally CW3 determines the entity to apply the attribute to using GetPlayerWeaponSlot, which doesn't work on non-weapon entities (the Buff Banner counts as a weapon). CW2-style attributes operate on entities directly.
- Use wearable_razorback for the item. I'm less certain about this one, but I'd reason it to be due to wearables normally occupying non-weapon slots.
__________________