This Module allows Plugin devs to create their very own custom powerup from scratch
Features
team specific pickup
player specific visibility / interaction
optional auto despawn
3 custom int and floats
Things to note!
SetAnimation requires you to know if the named animation exists in the model the powerup uses, otherwise the plugin will hang and give memory access errors
When using a custom model for powerup, be sure that the model has a collision model attached to it, otherwise it will not detect touch
I've only tested this working for TF2, I am unsure if it would be stable for other source games
Installation
Extract custom_powerups_source.zip
move 'addons' folder into your 'tf' folder
Done!
Usage
just include 'Custom_Powerups' into plugins you're making
see 'testpowerup.sp' for proper usage
Video demo
I have included testpowerup.sp to show how to properly set up a brand new custom powerup plugin
I'll be happy to answer questions or suggestions aboutthis module