AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D(2)] Delay Bots Starting Game (https://forums.alliedmods.net/showthread.php?t=339288)

Omixsat 08-30-2022 14:16

[L4D(2)] Delay Bots Starting Game
 
1 Attachment(s)
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


S.A.S 04-24-2024 10:28

Re: [L4D(2)] Delay Bots Starting Game
 
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.



All times are GMT -4. The time now is 14:06.

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