General Info:
Since there's no official way to modify bot ConVars in L4D1 per mode, I took it upon myself to create a plugin that allows config changes similar to how gamemodes.txt works in L4D2. I've also added in some functions that permit "Development Only" ConVars to be edited. You can also use this in L4D2 in case you don't want to use VPK-based scripts.
Initially known as
"An L4D1 implementation of L4D2's gamemodes.txt"
CVars:
Code:
//Bot Config Loader version
l4d_botconfigloader_version
Installation:- Download the *.smx file and put this into your server's \addons\sourcemod\plugins folder.
- Download "CB+CFGs.zip", extract then select one among the 3 choices according to your L4D version or configure your own L4D_BCL.cfg and then put it into your server's \addons\sourcemod\configs folder.
Configuration:
This plugin uses a configuration file named
L4D_BCL.cfg located in ..
\addons\sourcemod\configs with the ff. content patterned similarly to gamemodes.txt as seen in L4D2:
Code:
"GameModes"
{
"coop"
{
//Insert your custom ConVars Below this line for coop/campaign/single player mode
}
"teamversus"
{
//Insert your custom ConVars Below this line for teamversus mode
}
"versus"
{
//Insert your custom ConVars Below this line for versus mode
}
"survival"
{
//Insert your custom ConVars Below this line for survival mode
}
}
If you need existing configs/samples on how to create this file, you may refer to the
CB+CFGs.zip. Inside the attachment you'll see 3 versions:
- CB+ Main CFG - Basically Competitive-Bots+ Survivor Edition CFG & Apocalypse Edition CFG combined into ONE convenient package. Choose this if you desire a balanced challenge
- CB+ Survivor Edition CFG - Enhances all the survivor bots ONLY. Choose this if you prefer having better teammates instead.
- CB+ Apocalypse Edition CFG - Enhances all infected AI. If you are SADISTIC and/or masochistic, you may choose this instead. Best used by veterans or well-experienced players.
Credits
Changelog:
Code:
V1.0.5 - 09/25/2022
- Fully transitioned to SM 1.7 syntax
To do:
- L4D2 CFGs
- DONE Fully transition to 1.7 syntax
V1.0.3 - 07-19-2022
- Partially transitioned to 1.7 syntax
- Transferred L4D_BCL.cfg to configs directory for consistency reasons. Configuration files should be there.
- Added teamversus mode for L4D1 CFG Files.
V1.0.2 - 07-12-2022
- Added CVar l4d_botconfigloader_version to print version of plugin
- Modified CB+CFGs.zip - Corrected versus game mode since special infected cvars tweak VS in their favor. Should now be vanilla bots with enhanced bot settings ONLY for that mode
V1.0.1 - 07-07-2022 @ 2:22 PM PHT
- Corrected minor warning issue
V1.0 - 07-07-2022
- Initial release.