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

[L4D(2)] Delay Bots Starting Game


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Omixsat
Member
Join Date: Jul 2022
Plugin ID:
8166
Plugin Version:
1.2
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Prevents bots from leaving the safe room via sb_all_bot_team until a survivor has loaded or until l4d_sb_stop_time has passed
    Old 08-30-2022 , 14:16   [L4D(2)] Delay Bots Starting Game
    Reply With Quote #1

    Note: This is just an updated version of Thraka's [L4D] Delay Bots Starting Game.

    Updated to latest syntax with a small tweak allowing users to input their own customized wait time for the bots in their server.

    Description
    Prevents bots from leaving the safe room via sb_all_bot_team until a survivor has loaded or until l4d_sb_stop_time has passed.

    ConVars
    Code:
    // How long should the bots stay idle before moving out of the safe room
    // Config file is found in ..\cfg\sourcemod
    // Default: "30"
    l4d_sb_stop_time
    Changelog
    Code:
     Version 1.2
            - Default wait time increased from 20 secs to 30 secs.
            - Added a new ConVar "l4d_sb_stop_time" which edits the maximum wait time
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_delay_bot_start.sp - 376 views - 1.7 KB)

    Last edited by Omixsat; 09-13-2022 at 14:15. Reason: Updated Title
    Omixsat is offline
    S.A.S
    Member
    Join Date: Jul 2023
    Old Yesterday , 10:28   Re: [L4D(2)] Delay Bots Starting Game
    Reply With Quote #2

    Code:
    //// l4d_delay_bot_start.sp
    //
    // l4d_delay_bot_start.sp(28) : warning 242: function "Event_RoundStart" should return an explicit value
    // l4d_delay_bot_start.sp(40) : warning 242: function "Timer_CheckForHumanSurvivor" should return an explicit value
    // Code size:         4472 bytes
    // Data size:         2732 bytes
    // Stack/heap size:      16536 bytes
    // Total requirements:   23740 bytes
    //
    // 2 Warnings.

    Last edited by S.A.S; Yesterday at 10:29.
    S.A.S 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 00:21.


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