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

[L4D2] Monster Bots


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Machine
Senior Member
Join Date: Apr 2010
Plugin ID:
1695
Plugin Version:
1.1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Automated Special Infected Spawner
    Old 05-29-2010 , 20:33   [L4D2] Monster Bots
    Reply With Quote #1

    Monster Bots

    Description:


    This is a plugin that combines the features of Tank Rush from Grammernazi and Infected Bots by mi123645.

    What this does is spawn a set number of special infected at intervals.

    You could do a Tank rush, or you could have a match against an army of hunters.

    By default it is set to supplement the director by creating random regular special infected.

    This is only recommended for coop servers.

    Cvars:

    monsterbots_maxbots - Maximum amount of monster bots. Default is 8
    monsterbots_type - The Type of monsters. Default is 0
    monsterbots_on - Is monster bots on? Default is 0
    monsterbots_interval - How many seconds till another monster spawns. Default is 7
    monsterbots_nodirector - Shutdown the director? Default is 0
    monsterbots_witchrange - The range from survivors that witch should be recycled. Default is 1500

    Monster Types:

    The types are identical to the class of the creature.

    0 = Random (Smoker,Boomer,Hunter,Spitter,Jockey,Charger)
    1 = Smoker
    2 = Boomer
    3 = Hunter
    4 = Spitter
    5 = Jockey
    6 = Charger
    7 = Witch
    8 = Tank


    Changelog:

    1.0 - Release
    1.1 - Added witch recycle code. New cvar for recycle range.
    1.1.1 - Witch only recycles when all survivors out of range.
    1.1.2 - Small fixes.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_monsterbots.sp - 5943 views - 8.8 KB)

    Last edited by Machine; 09-01-2010 at 01:24. Reason: Update
    Machine is offline
    IronWarrior
    Veteran Member
    Join Date: Jan 2010
    Old 05-30-2010 , 00:31   Re: [L4D2] Monster Bots
    Reply With Quote #2

    I like this, been wanting something to make our COOP servers a lot harder for Survivors on Expert.
    IronWarrior is offline
    hailtothegames
    Junior Member
    Join Date: Apr 2010
    Old 05-30-2010 , 16:32   Re: [L4D2] Monster Bots
    Reply With Quote #3

    I was testing this with just all witches and ran pass them and i saw no witches for the rest of the map. So can you make the zombies that fall to far behind despawn so new ones can spawn.
    hailtothegames is offline
    Machine
    Senior Member
    Join Date: Apr 2010
    Old 05-30-2010 , 21:14   Re: [L4D2] Monster Bots
    Reply With Quote #4

    Quote:
    Originally Posted by hailtothegames View Post
    I was testing this with just all witches and ran pass them and i saw no witches for the rest of the map. So can you make the zombies that fall to far behind despawn so new ones can spawn.
    Good idea. Updated.
    Machine is offline
    Jоnny
    Senior Member
    Join Date: Jun 2007
    Old 06-07-2010 , 04:45   Re: [L4D2] Monster Bots
    Reply With Quote #5

    it's easy to add L4D1 support:

    Code:
                            case 9:
                            {
                                new random = GetRandomInt(1, 3);
                                switch(random)
                                {
                                    case 1:
                                    SpawnCommand(bot, "z_spawn", "smoker auto");
                                    case 2:
                                    SpawnCommand(bot, "z_spawn", "boomer auto");
                                    case 3:
                                    SpawnCommand(bot, "z_spawn", "hunter auto");
                                }
                            }

    Plugin looks great, i will try it
    Jоnny is offline
    IronWarrior
    Veteran Member
    Join Date: Jan 2010
    Old 06-30-2010 , 10:22   Re: [L4D2] Monster Bots
    Reply With Quote #6

    We have this installed on two 10+ player COOP servers but am not sure if it's working.

    Quote:
    monsterbots_maxbots 8
    monsterbots_type 0
    monsterbots_on 1
    monsterbots_interval 7
    monsterbots_nodirector 0
    monsterbots_witchrange 1500
    These are the cvars that we have set and the server is working fine, the plugin shows up in sm plugin list but I don't notice any difference.

    I'm expecting every so often to see a "horde" of SI attacking from different angles like it was VS play.

    Is it possible to add a new command that would force the plugin to spawn the SI horde so I can test it please?
    IronWarrior is offline
    troop5
    Member
    Join Date: Dec 2009
    Old 07-01-2010 , 02:23   Re: [L4D2] Monster Bots
    Reply With Quote #7

    Quote:
    Originally Posted by IronWarrior View Post
    We have this installed on two 10+ player COOP servers but am not sure if it's working.



    These are the cvars that we have set and the server is working fine, the plugin shows up in sm plugin list but I don't notice any difference.

    I'm expecting every so often to see a "horde" of SI attacking from different angles like it was VS play.

    Is it possible to add a new command that would force the plugin to spawn the SI horde so I can test it please?
    Make sure you edit the config file, because default it is not on.

    Or you could remove this line in the plugin so on mapchange it doesn't change back to monsterbots_on 0
    Code:
    AutoExecConfig(true, "l4d2_monsterbots_config");

    Last edited by troop5; 07-01-2010 at 02:28.
    troop5 is offline
    SyluxLockjaw100
    Senior Member
    Join Date: Jul 2010
    Location: Novaya Russia
    Old 08-28-2010 , 08:09   Re: [L4D2] Monster Bots
    Reply With Quote #8

    Hmmm....they spawn before we even came out from the saferoom... Fix?
    SyluxLockjaw100 is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 08-28-2010 , 08:48   Re: [L4D2] Monster Bots
    Reply With Quote #9

    PHP Code:
                            if (monster == 0)
                            {
                                if (
    StrContains(classname"smoker") || StrContains(classname"boomer") || StrContains(classname"hunter") || StrContains(classname"spitter") || StrContains(classname"jockey") || StrContains(classname"charger"))
                                {
                                    
    nummonsters++;
                                }
                            }
                            else if (
    monster == 1)
                            {
                                if (
    StrContains(classname"smoker"))
                                {
                                    
    nummonsters++;
                                }
                            }
                            else if (
    monster == 2)
                            {
                                if (
    StrContains(classname"boomer"))
                                {
                                    
    nummonsters++;
                                }
                            } 
    You should replace this with switch(monster){ case 1: ...
    AtomicStryker is offline
    Machine
    Senior Member
    Join Date: Apr 2010
    Old 09-01-2010 , 01:21   Re: [L4D2] Monster Bots
    Reply With Quote #10

    Will do. Updated.
    Machine 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 13:10.


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