Raised This Month: $ Target: $400

[TF2] Custom powerup entities

Post New Thread Reply   
Thread Tools Display Modes
Junior Member
Join Date: Nov 2017
Plugin ID:
Plugin Version:
Plugin Category:
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    Spawn Custom powerup entities for TF2
    Old 03-22-2022 , 19:08   [TF2] Custom powerup entities
    Reply With Quote #1

    This Module allows Plugin devs to create their very own custom powerup from scratch

    • 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

    • Extract custom_powerups_source.zip
    • move 'addons' folder into your 'tf' folder
    • Done!

    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
    Attached Files
    File Type: zip custom_powerups_assets.zip (294.3 KB, 38 views)
    File Type: zip custom_powerups_source.zip (47.0 KB, 46 views)

    Last edited by NakedSnake; 03-22-2022 at 19:50.
    NakedSnake is offline

    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump

    All times are GMT -4. The time now is 12:18.

    Powered by vBulletin®
    Copyright ©2000 - 2023, vBulletin Solutions, Inc.
    Theme made by Freecode