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

[L4D2] BotGrenades 1.3 (Outdated)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Plugin ID:
5420
Plugin Version:
1.2
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Force bots to uses/equip their grenades on tanks in L4D2
    Old 11-19-2016 , 03:14   [L4D2] BotGrenades 1.3 (Outdated)
    Reply With Quote #1

    This plugin may no longer supported, use cravenge's plugin instead https://forums.alliedmods.net/showthread.php?t=296150

    This is the plugin that allow bots to throw grenades, especially on tanks too.

    I tried to figure it how to make bots to throw pipe bombs at the hordes, and it's quite difficult. If anyone knows how to target common infected please comment it down on this thread thank you.

    This plugin is inspired by DeathChaos25
    https://www.youtube.com/watch?v=M5qO95Aowa0

    They are 12 commands here and it requires admin flag to do it.

    sm_botgrenade forces all bots to equip grenades.
    sm_botthrowpipebomb forces bots equip pipe bombs.
    sm_botthrowvomitjar forces bots equip vomitjar.
    sm_botthrowgrenade forces all bots to throw grenades.
    sm_botthrowmolotov forces bots equip molotov.
    sm_botthrowpipebomb forces bots throw pipe bombs.
    sm_botthrowmolotov forces bots throw molotov.
    sm_botthrowvomitjar forces bots throw vomitjar.
    sm_botthrowrandomgrenade choose a random bot to throw grenade.
    sm_botthrowrandompipebomb choose a random bot to throw pipebomb.
    sm_botthrowrandommolotov" choose a random bot to throw molotov.
    sm_botthrowrandomvomitjar choose a random bot to throw vomitjar.

    There's also an option for convar if you want the bots to throw grenades to tank or not.

    l4d2_tank_grenade 1 enable
    l4d2_tank_grenade 0 disable

    I recommended to download this gear transfer plugin so the bots can pick up grenades.
    https://forums.alliedmods.net/showthread.php?t=137616

    Quote:
    version 1.0 - Released
    version 1.1 - Make bots force to throw grenade.
    version 1.2 - Make bots to throw grenade on tanks.
    version 1.3 - Improved the bots throwing grenades while they aiming at it and commands.
    Requires SDKHooks
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_botgrenade.sp - 2316 views - 11.1 KB)
    File Type: smx l4d2_botgrenade.smx (9.2 KB, 1069 views)
    __________________
    EdisonGar

    Last edited by Edison1318; 08-25-2018 at 21:55.
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 11-19-2016 , 04:04   Re: [L4D2] Bot Grenade
    Reply With Quote #2

    Umm, you might wanna check your thread's description (the box above). Also, will test it out for bugs and congrats on making your first plugin!
    cravenge is offline
    Edison1318
    Senior Member
    Join Date: Nov 2015
    Location: Peaceful place of the in
    Old 11-19-2016 , 04:35   Re: [L4D2] Bot Grenade
    Reply With Quote #3

    Quote:
    Originally Posted by cravenge View Post
    Umm, you might wanna check your thread's description (the box above). Also, will test it out for bugs and congrats on making your first plugin!
    Ok, now i added the description.
    and thanks.
    __________________
    EdisonGar

    Last edited by Edison1318; 11-19-2016 at 04:42.
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    ElKapone14
    Junior Member
    Join Date: Oct 2013
    Old 11-23-2016 , 19:55   Re: [L4D2] Bot Grenade
    Reply With Quote #4

    Your first plugin is actually the one I've been searching for quite a while now. Thank you very much. I tested it a little bit and for now it works perfectly. If I encounter a bug I'll report it here. Thanks again !
    ElKapone14 is offline
    Edison1318
    Senior Member
    Join Date: Nov 2015
    Location: Peaceful place of the in
    Old 11-24-2016 , 01:28   Re: [L4D2] Bot Grenade
    Reply With Quote #5

    Quote:
    Originally Posted by ElKapone14 View Post
    Your first plugin is actually the one I've been searching for quite a while now. Thank you very much. I tested it a little bit and for now it works perfectly. If I encounter a bug I'll report it here. Thanks again !
    Anytime. I'm no expert coding or scripting. But i just learn a few codes and i manage to imprint in the script.
    __________________
    EdisonGar
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    ElKapone14
    Junior Member
    Join Date: Oct 2013
    Old 11-24-2016 , 09:32   Re: [L4D2] Bot Grenade
    Reply With Quote #6

    Still no bug so far. But I have a little suggestion if you can do it : is there a way to order a single bot to throw whatever grenades he has ? What I I'm trying to say is that when more than 2 bots have the same grenade (molotovs for exemple) they will throw it together almost at the the same time. I'd like to order individual bot and not whoever has a molotov will throw it you know what I mean ? Hope you understand.
    ElKapone14 is offline
    Edison1318
    Senior Member
    Join Date: Nov 2015
    Location: Peaceful place of the in
    Old 11-26-2016 , 21:01   Re: [L4D2] Bot Grenade
    Reply With Quote #7

    Quote:
    Originally Posted by ElKapone14 View Post
    Still no bug so far. But I have a little suggestion if you can do it : is there a way to order a single bot to throw whatever grenades he has ? What I I'm trying to say is that when more than 2 bots have the same grenade (molotovs for exemple) they will throw it together almost at the the same time. I'd like to order individual bot and not whoever has a molotov will throw it you know what I mean ? Hope you understand.
    Maybe i'll try to do that, but it might needs more time for me to remaster scripting it. Yes and sorry for late reply.
    __________________
    EdisonGar
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    ElKapone14
    Junior Member
    Join Date: Oct 2013
    Old 11-27-2016 , 13:47   Re: [L4D2] Bot Throw Grenade
    Reply With Quote #8

    Okay no worry dude take your time. Nice update too. Was about to say if it was possible to force bot to throw grenades instantly instead of just equip them. Nice job.
    ElKapone14 is offline
    Edison1318
    Senior Member
    Join Date: Nov 2015
    Location: Peaceful place of the in
    Old 11-28-2016 , 04:01   Re: [L4D2] Bot Throw Grenade
    Reply With Quote #9

    New update for this plugin: Bots can now throw grenades on tanks.
    __________________
    EdisonGar
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    ElKapone14
    Junior Member
    Join Date: Oct 2013
    Old 11-28-2016 , 14:17   Re: [L4D2] Bot Throw Grenade
    Reply With Quote #10

    Keeps getting better and better. Thank you and good job. Looking forward to the next update (I think we are not a lot but don't abandon the updates for this c: )

    Last edited by ElKapone14; 11-28-2016 at 14:17.
    ElKapone14 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 03:22.


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