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

[L4D1 & L4D2] Bot Config Loader


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Omixsat
Member
Join Date: Jul 2022
Plugin ID:
8101
Plugin Version:
1.0.5
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allow changing bot-specific convars with user-generated values
    Old 07-06-2022 , 21:37   [L4D1 & L4D2] Bot Config Loader
    Reply With Quote #1

    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
    Code:
    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.
    Attached Files
    File Type: zip CB+CFGs.zip (3.7 KB, 753 views)
    File Type: sp Get Plugin or Get Source (l4d_botconfigloader.sp - 966 views - 6.6 KB)

    Last edited by Omixsat; 09-25-2022 at 12:54. Reason: Updated description
    Omixsat is offline
    kalmas77
    Junior Member
    Join Date: Sep 2021
    Old 10-31-2022 , 12:37   Re: [L4D1 & L4D2] Bot Config Loader
    Reply With Quote #2

    Waiting patiently for L4D2 CFGs

    Last edited by kalmas77; 10-31-2022 at 12:38.
    kalmas77 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 16:39.


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