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

[TF2] TFBots on MvM (1.3) (Updated 24/5/15)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
tRololo312312
Senior Member
Join Date: Apr 2015
Plugin ID:
4616
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows Red Bots to play MvM Gamemode
    Old 04-28-2015 , 03:52   [TF2] TFBots on MvM (1.3) (Updated 24/5/15)
    Reply With Quote #1

    Hello, and please welcome my second plugin, MvM Bots!

    I started playing MvM only i think 2 months ago and I LOVED IT! Since i love bots too i wanted to make bots work on MvM. I already knew what could make bots move and its item_teamflag. (intelligence)
    However i wanted to make this automatic process so i dont need any admin commands or cheats to make move out of their spawn and that resulted this plugin.

    ---------------------
    ---------------------
    What it does?:

    AS OF 1.2 VERSION IT DOES:

    - Spawns unpickable flag to random robot and redbots move to that robots location. (and probably kill the robot)

    - When the robot where the flag is teleported dies, flag gets teleported to new random robot

    - Flag is invisible so humans wont see it

    - If Tank exists on the field, the flag gets teleported to that instead

    ---------------------
    ---------------------
    Commands and Cvars:

    None (plugin is automatic)

    NOTE: you add bots by using tf_bot_quota or if you want specific bots use tf_bot_add and then tf_bot_quota 0 to remove extra bots

    ---------------------
    ---------------------
    Install:

    Click "Get Plugin" for botfollowMvM from down this page and install to your sourcemod/plugins folder.

    OPTIONAL: Get forceaimMvM plugin to improve bots aim and Pyro logic. (Basicly just a Aimbot for red bots )

    ---------------------
    ---------------------
    Changelog:

    v1.3

    - Is now less CPU intensive. (Uses Timer instead of RunCMD.)

    v1.2

    - Complete rewrite of the plugin. (See What it does section to see new behave of the plugin.)

    (Undocumented forceaim update)

    - Fixed rare case when robot is not detected by redbots aimbot

    (forceaimMvM update 1.1)

    - Medics can now revive players

    v1.1b (Another Bugfix)

    - Class priorities should be fixed for good.

    v1.1a (Bugfix Update)

    - Fixed Class Priorities. (was harder to do than i thought)

    v1.1

    - Added Class Priorities which goes:
    Pyro
    Soldier
    Heavy
    Demo
    Medic
    Scout
    Engineer
    Sniper
    Spy

    - Changed some Strings from new to decl (Golden Rule)

    v1.0 (Release)

    - Released to public.

    ---------------------
    ---------------------
    Known Bugs:

    - When flag gets teleported to Tank bots behave "oddly". (They are not trying to pickup the flag at all and sometimes they ignore the whole flag even though they move)

    ---------------------
    ---------------------
    Credits:

    Forlix (to his FindEntityByTargetname stock which i found on forums)

    ---------------------
    ---------------------

    My Steam Group for my servers: http://steamcommunity.com/groups/trololo312312servers


    PS: you might need to set tf_mvm_min_players_to_start to 1 if having only one human on team.
    Attached Files
    File Type: sp Get Plugin or Get Source (forceaimMvM.sp - 5447 views - 6.7 KB)
    File Type: sp Get Plugin or Get Source (botfollowMvM.sp - 5579 views - 3.5 KB)

    Last edited by tRololo312312; 05-23-2015 at 18:43. Reason: Version 1.3
    tRololo312312 is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 04-28-2015 , 03:54   Re: [TF2] TFBots on MvM (1.0) (28/4/15)
    Reply With Quote #2

    Bumpity Bump Bump.
    tRololo312312 is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 04-28-2015 , 05:08   Re: [TF2] TFBots on MvM (1.0) (28/4/15)
    Reply With Quote #3

    Sorry for my useless comment. Just checking does my Signature work properly

    EDIT: Fixed!

    Last edited by tRololo312312; 04-28-2015 at 05:10. Reason: fiexed :3
    tRololo312312 is offline
    SPYderman
    Senior Member
    Join Date: Aug 2013
    Old 04-28-2015 , 14:12   Re: [TF2] TFBots on MvM (1.0) (28/4/15)
    Reply With Quote #4

    What I've also seen is that bots have a logic for when not having the flag, they move to the enemy that has their flag. It's how I got them to roam on my custom maps by making the respawn timer on it so fast you couldn't pick it up.

    I'd suggest a cvar to make it to where no one can pick up the flag, therefor letting the bots roam?
    SPYderman is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 04-28-2015 , 16:20   Re: [TF2] TFBots on MvM (1.0) (28/4/15)
    Reply With Quote #5

    Quote:
    Originally Posted by SPYderman View Post
    What I've also seen is that bots have a logic for when not having the flag, they move to the enemy that has their flag. It's how I got them to roam on my custom maps by making the respawn timer on it so fast you couldn't pick it up.

    I'd suggest a cvar to make it to where no one can pick up the flag, therefor letting the bots roam?
    Wait wah? I didnt quite catch that. How you got them move to them? Is the flag for both teams or something? I mean how you can pickup a flag that carried by a robot?

    EDIT: Do you use a different GameType for the flag?

    EDIT2: I also have noticed that some bots follow the flag carrier while some bots goto blue spawning area. How does this exactly happen?

    Last edited by tRololo312312; 04-28-2015 at 16:33. Reason: more info
    tRololo312312 is offline
    SPYderman
    Senior Member
    Join Date: Aug 2013
    Old 04-28-2015 , 17:56   Re: [TF2] TFBots on MvM (1.0) (28/4/15)
    Reply With Quote #6

    Quote:
    Originally Posted by tRololo312312 View Post
    Wait wah? I didnt quite catch that. How you got them move to them? Is the flag for both teams or something? I mean how you can pickup a flag that carried by a robot?

    EDIT: Do you use a different GameType for the flag?

    EDIT2: I also have noticed that some bots follow the flag carrier while some bots goto blue spawning area. How does this exactly happen?
    PM'd about entity flag related info.

    As far as the 2nd edit goes, I believe it has something to do with bots only following players with flags if they're next to them. If they aren't within a certain radius I think, they will go hunting down the enemy flag carrier.
    SPYderman is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 04-29-2015 , 08:01   Re: [TF2] TFBots on MvM (1.1) (Updated 29/4/15)
    Reply With Quote #7

    1.1 Update.

    Read Changelog in first post for changes
    tRololo312312 is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 04-29-2015 , 09:41   Re: [TF2] TFBots on MvM (1.1a) (Updated 29/4/15)
    Reply With Quote #8

    1.1a Bugfix Update

    Fixed Class priorities

    EDIT: Fixed Version number being still at 1.0

    Last edited by tRololo312312; 04-29-2015 at 09:44. Reason: info
    tRololo312312 is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 04-29-2015 , 11:08   Re: [TF2] TFBots on MvM (1.1b) (Updated 29/4/15)
    Reply With Quote #9

    1.1b Bugfix again

    Fixed priorites.
    tRololo312312 is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 05-12-2015 , 22:56   Re: [TF2] TFBots on MvM (1.2) (Updated 13/5/15)
    Reply With Quote #10

    1.2 Update here!

    Whole plugin is reworked and no longer behaves the same way. See the What it does section for new features.
    tRololo312312 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 08:06.


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