This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[L4D1 & L4D2] Kick Special Infected Bots After Death [v1.0.1 | 03-November-2023]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
8584
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    30 
    Plugin Description:
    Automatically kicks special infected bots right after death
    Old 11-03-2023 , 15:51   [L4D1 & L4D2] Kick Special Infected Bots After Death [v1.0.1 | 03-November-2023]
    Reply With Quote #1

    Description

    Automatically kicks special infected bots right after death.

    Why

    Special infected bots take around 6 seconds to be kicked from the server upon death, consuming client slots until then.
    Kicking right after death will increase their spawn rate success related to having "no slots" available.

    Features
    • Allow setting which special infected bot should be kicked.
    • Allow speeding up the Tank incapacitated animation to kick.

    Cvars

    A configuration file named "l4d_kick_si_bot_on_death.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

    PHP Code:
    // Enable/Disable the plugin.
    // 0 = Disable, 1 = Enable.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_kick_si_bot_on_death_enable "1"

    // Which special infected should be kicked right after being killed.
    // 1 = SMOKER, 2 = BOOMER, 4 = HUNTER, 8 = SPITTER, 16 = JOCKEY, 32 = CHARGER, 64 = TANK.
    // Add numbers greater than 0 for multiple options.
    // Example: "127", enables for all SI.
    // -
    // Default: "127"
    // Minimum: "0.000000"
    // Maximum: "127.000000"
    l4d_kick_si_bot_on_death_si "127"

    // Kicks the Tank bot when it becomes incapacitated.
    // 0 = Disable, 1 = Enable.
    // Note: must have TANK flag enabled on "l4d_kick_si_bot_on_death_si".
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_kick_si_bot_on_death_tank_incapacitated "1" 
    Admin Commands
    • sm_print_cvars_l4d_kick_si_bot_on_death => Print the plugin related cvars and their respective values to the console. (z flag required)

    Change Log

    Spoiler


    Notes

    Related messages
    • Dropped <BOT> from server (Kicked by Console : infected team is full)
    • Dropped <BOT> from server (Kicked by Console : death anim finished)

    Related Plugins

    Post Reply
    • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

    Thank you!

    Installation
    • Put the "l4d_kick_si_bot_on_death.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_kick_si_bot_on_death.sp - 477 views - 16.0 KB)
    __________________

    Last edited by Marttt; 11-13-2023 at 19:00.
    Marttt is offline
     



    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 21:39.


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