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

[l4d&l4d2]infected&survivor adding bots!(menu!)(version = 1.3)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
gamemann
Veteran Member
Join Date: Sep 2009
Location: Mullica Hill, New Jersey
Plugin ID:
1482
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Type in the chatbox !addbot to bring you an menu to select to add a survivor or infected bot!
    Unapprover:
    Reason for Unapproving:
    Author unresponsive; re-registering commands multiple times
    Old 02-19-2010 , 18:22   [l4d&l4d2]infected&survivor adding bots!(menu!)(version = 1.3)
    Reply With Quote #1

    Description:
    well your on your server playing with other people and you notice the survivors are just crushing the infected. Well this plugin will make it so if you type in the chatbox !addbot it will display a menu and this works for admins only, anyways it will display a menu that has options add survivor bot and add infected bot so now you can fill up the teams!!! Also type in the chatbox: !addib to add infected bots!

    convars:
    Code:
    // This file was auto-generated by SourceMod (v1.4.0-dev)
    // ConVars for plugin "clientaddbots.smx"
     
    // disablke or enable anvertisements for this plugin
    // -
    // Default: "1"
    l4d2_allow_anvertisement "1"
    // if 1 when a player is in spectator mode it will make them join survivor mode automanicly, warning: This may interfierr with allow bot picking convar thats why i set it to 0!
    // -
    // Default: "0"
    l4d2_allow_auto_picking "0"
    // if 1 it will make it so when a client enters the game a bot will be created
    // -
    // Default: "0"
    l4d2_allow_bot_adding "0"
    // If 1 it will make it so when a client disconnects it will delete tht bot. Really works good with allow_bot_adding convar. USAGE: 1 = active , 0 = disabled
    // -
    // Default: "0"
    l4d2_allow_bot_kicking "0"
    // if 1 it will make it so if a client is a specator they can say in the console !add and it will make a bot and they join it. USAGE: 1 = active , 0 = disabled
    // -
    // Default: "1"
    l4d2_allow_bot_picking "1"
    // if 1 it will allow everyone to type in the chatbox !join !joingame !jointeam 2 !jointeam 1 !jointeam 3 !joinsurvivor !joininfected !joinspectator
    // -
    // Default: "0"
    l4d2_allow_join_cmds "0"
    notes:
    - Hope you enjoy!

    bugs:
    - none!

    version history:
    1.0:
    - release
    1.1:
    - fixed alot of coding
    - read the 1.1 news
    1.2:
    - fixed up code (made it neater)
    - fixed the version
    - added 3 new convars
    - and more
    - also a config will be created
    1.3:
    - added more convars
    - fixed code and spelling errors
    - added more


    1.1 news:
    Ok i fixed the infected bot function even though its a little different! TO spawn infected bots type in the chatbox: !addib that stands for add infected bot! SO please use this and its tested on versus and coop servers!

    also:
    This works on the passing!

    notices:
    i dont know if this is a bug but if you have superversus installled on your server with this running, and you changed the survivor limmit in super versus to like 3 and then go into game and type !addbot then click survivor bot then it will spawn 3 bots at a time!

    installation:
    paste .smx in addons\sourcemod\plugins
    paste .sp in addons\sourcemod\scripting

    update installation:
    overite addons\sourcemod\plugins\clientaddbots.smx
    overite addons\sourcemod\scripting\clientaddbots.sp
    delete cfg\sourcemod\l4d2_survivor_infected_adder.cf g
    then a new one will be created with new convars maybe


    UPDATED VERSION!
    http://gflclan.com/showthread.php?tid=151
    Attached Files
    File Type: sp Get Plugin or Get Source (clientaddbots.sp - 3289 views - 7.3 KB)
    File Type: smx clientaddbots.smx (5.3 KB, 1042 views)
    File Type: cfg l4d2_survivor_infected_adder.cfg (1.2 KB, 1526 views)
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!

    Last edited by gamemann; 02-26-2012 at 13:42.
    gamemann is offline
    Send a message via Skype™ to gamemann
    Hangender
    New Member
    Join Date: Feb 2010
    Old 02-19-2010 , 23:07   Re: [l4d&l4d2]infected&survivor adding bots!(menu!)
    Reply With Quote #2

    the infected spawning function doesn't appear to be working.
    Hangender is offline
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 02-20-2010 , 10:02   Re: [l4d&l4d2]infected&survivor adding bots!(menu!)
    Reply With Quote #3

    Quote:
    Originally Posted by Hangender View Post
    the infected spawning function doesn't appear to be working.
    ok i will get on to that. It was working for me though. Because i tested the whole thing before i released it.
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!
    gamemann is offline
    Send a message via Skype™ to gamemann
    Nataraja
    Member
    Join Date: Jan 2010
    Old 02-21-2010 , 07:10   Re: [l4d&l4d2]infected&survivor adding bots!(menu!)
    Reply With Quote #4

    Could it use in versus mode?
    Nataraja is offline
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 02-21-2010 , 08:34   Re: [l4d&l4d2]infected&survivor adding bots!(menu!)
    Reply With Quote #5

    Quote:
    Originally Posted by Nataraja View Post
    Could it use in versus mode?
    yea, i tested it on my versus server.
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!
    gamemann is offline
    Send a message via Skype™ to gamemann
    Hangender
    New Member
    Join Date: Feb 2010
    Old 02-21-2010 , 15:53   Re: [l4d&l4d2]infected&survivor adding bots!(menu!)
    Reply With Quote #6

    Strange, what happen is when I spawn an infected, it says in the console "infected bot joined game", and I hear the infected for 1 second, then it's gone. I'm using the latest snapshot
    Hangender is offline
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 02-21-2010 , 21:19   Re: [l4d&l4d2]infected&survivor adding bots!(menu!)
    Reply With Quote #7

    Quote:
    Originally Posted by Hangender View Post
    Strange, what happen is when I spawn an infected, it says in the console "infected bot joined game", and I hear the infected for 1 second, then it's gone. I'm using the latest snapshot
    tht is what i am trying to fix.
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!
    gamemann is offline
    Send a message via Skype™ to gamemann
    untalented893
    Senior Member
    Join Date: Oct 2009
    Old 02-23-2010 , 17:19   Re: [l4d&l4d2]infected&survivor adding bots!(menu!)
    Reply With Quote #8

    Yea, will this add the infected bots for the rest of the round or just until the bot dies? I'd like to make is so that the infected can have like 6 bots if the survivors are doing too well and not have to keep spawning them. Also, can you make it so it carries over to the next map as well?
    untalented893 is offline
    gamemann
    Veteran Member
    Join Date: Sep 2009
    Location: Mullica Hill, New Jersey
    Old 02-23-2010 , 19:08   Re: [l4d&l4d2]infected&survivor adding bots!(menu!)
    Reply With Quote #9

    Quote:
    Originally Posted by untalented893 View Post
    Yea, will this add the infected bots for the rest of the round or just until the bot dies? I'd like to make is so that the infected can have like 6 bots if the survivors are doing too well and not have to keep spawning them. Also, can you make it so it carries over to the next map as well?
    yea i will work on that!
    __________________
    Software/network engineer. I often work on a neat project called The Modding Community.

    Check out my GitHub here!
    gamemann is offline
    Send a message via Skype™ to gamemann
    untalented893
    Senior Member
    Join Date: Oct 2009
    Old 02-24-2010 , 01:57   Re: [l4d&l4d2]infected&survivor adding bots!(menu!)
    Reply With Quote #10

    cool, looking forward to the update
    untalented893 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 17:11.


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