Raised This Month: $32 Target: $400
 8% 

[TF2] Bots Chill (version 1.1 14Sept2022)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
PC Gamer
Veteran Member
Join Date: Mar 2014
Plugin ID:
7410
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Administrators can prevent Bots from moving or attacking
    Old 12-05-2020 , 21:38   [TF2] Bots Chill (version 1.1 14Sept2022)
    Reply With Quote #1

    Description:
    This plugin allows Administrators to stop all Bots from moving and attacking. It's useful for server operators who have Bots and simply want to stop the action for a moment.

    Commands:
    !botschill - This will force all Bots to immediately stop moving, even if they are in mid air. It removes all weapons from Bots so they are unable to attack.
    !botsattack - This enables Bot movement, equips Bots with weapons, and allows them to attack.


    Example: !botschill
    Effect: All Bots immediately stop moving and stop firing weapons.

    Example: !botsattack
    Effect: All Bots resume movement and attacking.

    Video:


    Installation:
    Place botschill.smx in your plugins folder. Change map. Done.
    Attached Files
    File Type: sp Get Plugin or Get Source (botschill.sp - 204 views - 1.6 KB)

    Last edited by PC Gamer; 09-14-2022 at 18:57.
    PC Gamer is offline
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 12-05-2020 , 22:19   Re: [TF2] Bots Chill
    Reply With Quote #2

    Or you could just type: sm_cvar nb_blind 1
    __________________
    Fearts is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 12-05-2020 , 22:50   Re: [TF2] Bots Chill
    Reply With Quote #3

    Quote:
    Originally Posted by Fearts View Post
    Or you could just type: sm_cvar nb_blind 1
    True... but that doesn't keep the Bots from moving.

    My original goal was to find a way to force the Bots to stop moving, keep their weapons, prevent them from attacking, and not appear transparent. This plugin was as far as I got.
    PC Gamer is offline
    StealtHack
    Member
    Join Date: Jun 2013
    Location: The Netherlands
    Old 12-12-2020 , 13:23   Re: [TF2] Bots Chill
    Reply With Quote #4

    Quote:
    Originally Posted by PC Gamer View Post
    True... but that doesn't keep the Bots from moving.

    My original goal was to find a way to force the Bots to stop moving, keep their weapons, prevent them from attacking, and not appear transparent. This plugin was as far as I got.
    You also have sm_cvar nb_stop 1, which stops them from moving and attacking.
    StealtHack is offline
    StrikeR14
    AlliedModders Donor
    Join Date: Apr 2016
    Location: Behind my PC
    Old 12-12-2020 , 13:43   Re: [TF2] Bots Chill
    Reply With Quote #5

    So it's useless?
    __________________
    Currently taking TF2/CSGO paid private requests!

    My Plugins | My Discord Account
    StrikeR14 is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 12-12-2020 , 17:33   Re: [TF2] Bots Chill
    Reply With Quote #6

    Thanks for the input! The problem with 'sm_cvar nb_stop 1' is that bots will sometimes continue to move until they collide with a wall, object, or player. Some Bots will continue to blindly fire their weapons, especially if they are touching a locker. Lastly, if you teleport the Bot they will begin moving and attacking again.

    With the Bots Chill plugin none of these issues are present. Still, I welcome your input!
    PC Gamer is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 09-14-2022 , 18:58   Re: [TF2] Bots Chill (version 1.1 14Sept2022)
    Reply With Quote #7

    Plugin in original post updated to version 1.1.

    This version uses SourceMod 1.11 syntax. No new features since it already works as intended.
    PC Gamer is offline
    Pelipoika
    Veteran Member
    Join Date: May 2012
    Location: Inside
    Old 09-15-2022 , 10:45   Re: [TF2] Bots Chill (version 1.1 14Sept2022)
    Reply With Quote #8

    nb_player_move 0
    __________________
    Pelipoika is offline
    PC Gamer
    Veteran Member
    Join Date: Mar 2014
    Old 09-16-2022 , 02:50   Re: [TF2] Bots Chill (version 1.1 14Sept2022)
    Reply With Quote #9

    Wow! I'm honored to have Pelipoika comment on my plugin!

    The problem with nb_player_move 0 and nb_blind 1 and nb_stop 1 is that they don't always prevent movement and attacking.

    Again, the goal was to:
    1. Prevent Bots from moving
    2. Have Bots keep their weapons
    3. Prevent Bots from attacking
    4. Bots remain solid (non transparent)
    5. Allows human players to move and attack
    6. Doesn't require cheats enabled

    This plugin accomplishes all of the above with one command. It is very useful, especially if you are a developer.
    PC Gamer is offline
    Reply


    Thread Tools
    Display Modes

    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 12:01.


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