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

[CS:GO/CS:S] Jail Bots AI (Modular and with natives) now with support for CS:GO


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
3824
Plugin Version:
3.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Special jail bots with AI for play in jailbreak servers
    Old 08-08-2013 , 12:44   [CS:GO/CS:S] Jail Bots AI (Modular and with natives) now with support for CS:GO
    Reply With Quote #1

    Description:

    Special jail bots with AI for play in jailbreak servers

    Features:

    -Bots only join in CT Team
    -Bots only attack to rebels prisioners if the bot have seen a rebel action
    -Bots say in chat the reasons why they consider a prisioner rebel
    -When CT team only have bots, jail doors will open automatically
    -Bots dont drop weapons when they dead


    You can test the latest version of this plugin in my jailbreak server:



    Requeriments:


    Recomended CFG for bots:

    Put in sourcemod/sourcemod.cfg
    Code:
    // bots
    sm_cvar bot_prefix "AI JailBot" // bot prefix
    sm_cvar bot_controllable 0 // dont allow to control bots
    
    bot_quota 6 //Number of bots
    bot_quota_mode "fill" 
    bot_difficulty 3 
    bot_chatter radio 
    bot_auto_vacate 1
    bot_join_after_player 0
    bot_allow_rogues 0

    Natives for subplugins:
    PHP Code:
    /**
     * Make rebel for a specific bot
     *
     * @param bot     Bot player
     * @param player     Rebel player
     * @string SayNow     Phrase that bot say now - none = dont say anything - none is the value by default
     * @string SayOnDead     Phrase that bot say when he have killed to human player - none = dont say anything - none is the value by default
     * @noreturn          
     */
    native JBOT_MakeRebel(botplayerString:SayNow[]="none"String:SayOnDead[]="none");

    /**
     * Check if a player is rebel for that bot
     *
     * @param bot     Bot player
     * @param player     Rebel player
     * @return true if is rebel or false if not is rebel for the bot
     */
    native JBOT_IsRebel(botplayer);

    /**
     * Make a no rebel status between bot and player
     *
     * @param bot     Bot player
     * @param player     Rebel player
     * @string SayNow     Phrase that bot say now - none = dont say anything - none is the value by default
     * @noreturn
     */
    native JBOT_MakeNoRebel(botplayerString:SayNow[]="none");

    /**
     * Called when a player turns into a rebel for a bot.
     * @param bot   bot that see rebel.
     * @param client   Client rebel.
     */
    forward JBOT_OnClientRebel(botclient); 
    Sub plugins are:
    • jail_bots plugin: that contains all jailbots natives and essentials functions
    • jail_bots_rebels: make rebels for bots, when they do a rebel action (hurt a CT, kill a CT, shoot a gun)
    • jail_bots_forgivemake: that bots can forgive a rebel player been a while. Cvar is sm_jailbots_forgivetime 60.0 (Time elapsed since a bot see a rebel action for forgive rebel player)
    • jail_bots_doorsopener: open doors when the team CT only have bots. Cvar is sm_jailbots_doorsopenertime 15 (Time in seconds for open doors on round start when CTs only have bots)
    • jail_bots_removeweapons: Remove weapons of bots on dead
    • bot_ct: Move bots to the CT team when they join the game.


    Suggestions are welcome


    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 01-29-2016 at 03:44.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 08-08-2013 , 13:06   Re: [CS:S] Jail Bots (AI)
    Reply With Quote #2

    You are a genius.

    This is the best idea for a plugin that I have ever saw.
    __________________
    retired
    shavit is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 08-08-2013 , 13:21   Re: [CS:S] Jail Bots (AI)
    Reply With Quote #3

    Quote:
    Originally Posted by shavit View Post
    You are a genius.

    This is the best idea for a plugin that I have ever saw.
    Thank you very much

    This idea came to me when "Bot Attack Control" published, I said nothing because in the beginning I wanted to make it private, but what the hell! I prefer sharing plugins instead of make it private for my server, that's what I like, make plugins for publish it
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    cREANy0
    SourceMod Donor
    Join Date: Jul 2012
    Location: Germany
    Old 08-08-2013 , 19:21   Re: [CS:S] Jail Bots (AI)
    Reply With Quote #4

    Really nice plugin!
    __________________
    cREANy0 is offline
    MPQC
    SourceMod Donor
    Join Date: Dec 2011
    Old 08-09-2013 , 09:14   Re: [CS:S] Jail Bots (AI)
    Reply With Quote #5

    Cool plugin, but you've got some serious issues with the way you indent lol.
    __________________
    MPQC is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 08-09-2013 , 09:49   Re: [CS:S] Jail Bots (AI)
    Reply With Quote #6

    Nope, looks good in notepad++ and it is irrelevant
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 08-09-2013 at 09:56.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 08-09-2013 , 11:18   Re: [CS:S] Jail Bots (AI)
    Reply With Quote #7

    Quote:
    Originally Posted by Franc1sco View Post
    Nope, looks good in notepad++ and it is irrelevant
    ikr?
    __________________
    retired
    shavit is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 08-09-2013 , 11:25   Re: [CS:S] Jail Bots (AI)
    Reply With Quote #8

    Deleting unnecessary code, I had no desire to delete indents also, I'll delete it for the next version if it bothers to someone so you do not suffer for it xD
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 08-09-2013 at 17:42.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    iGANGNAM
    AlliedModders Donor
    Join Date: Sep 2012
    Location: Lithuania
    Old 08-13-2013 , 15:01   Re: [CS:S] Jail Bots (AI)
    Reply With Quote #9

    What about this? https://forums.alliedmods.net/showthread.php?t=173670
    iGANGNAM is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 08-13-2013 , 15:33   Re: [CS:S] Jail Bots (AI)
    Reply With Quote #10

    Quote:
    Originally Posted by iGANGNAM View Post
    I think they mean that some servers where using bots to increase there playercount so it appeared they had more people on the server than they actually had by modifying the game trough a plugin.

    This is just a fun way of using bots ingame

    Awsome plugin
    Groger 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 04:20.


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