Raised This Month: $51 Target: $400
 12% 

[TF2] Entity Collector (1.1.3 27-12-2023)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bezdmn
New Member
Join Date: Dec 2023
Plugin ID:
8613
Plugin Version:
1.1.3
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Garbage collects orphaned entities
    Old 12-26-2023 , 15:33   [TF2] Entity Collector (1.1.3 27-12-2023)
    Reply With Quote #1

    Description:

    "Garbage" collects (removes from the game) orphaned entities such as projectiles after their owner dies. Does so by hooking the FireProjectile member function of each valid CTFWeaponBaseGun.

    It currently works in TF2 Classic on my MGE server, but if someone's interested, I could port it over to the base game as well.

    ConVars
    • sm_entc_version "1.1.3"
    • entc_tracked_ents "30"
      • Number of tracked entities per player.
    • entc_autoremove "1"
      • Remove entities automatically on death. Use RemoveClientEntities to remove them manually at any time.
    • entc_display_te ""
      • Show a brief visual effect in place of a removed entity. Empty value means disabled.
      • Works with "Sparks" and "Energy Splash".

    Changelog
    Code:
    27-12-2023 (1.1.3)
    - Added three new ConVars 
    - Added a native for plugins to manually call for removal
    
    26-12-2023 (1.0.0)
    - Initial release
    Attached Files
    File Type: zip sourcemod.zip (14.4 KB, 27 views)
    File Type: sp Get Plugin or Get Source (entcollector.sp - 26 views - 10.0 KB)

    Last edited by bezdmn; 12-27-2023 at 10:40.
    bezdmn is offline
    Reply



    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 06:58.


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