AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] BotGrenades 1.3 (Outdated) (https://forums.alliedmods.net/showthread.php?t=290637)

Edison1318 11-19-2016 03:14

[L4D2] BotGrenades 1.3 (Outdated)
 
4 Attachment(s)
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

cravenge 11-19-2016 04:04

Re: [L4D2] Bot Grenade
 
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!

Edison1318 11-19-2016 04:35

Re: [L4D2] Bot Grenade
 
Quote:

Originally Posted by cravenge (Post 2471262)
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.

ElKapone14 11-23-2016 19:55

Re: [L4D2] Bot Grenade
 
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 !

Edison1318 11-24-2016 01:28

Re: [L4D2] Bot Grenade
 
Quote:

Originally Posted by ElKapone14 (Post 2472222)
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.

ElKapone14 11-24-2016 09:32

Re: [L4D2] Bot Grenade
 
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.

Edison1318 11-26-2016 21:01

Re: [L4D2] Bot Grenade
 
Quote:

Originally Posted by ElKapone14 (Post 2472315)
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.

ElKapone14 11-27-2016 13:47

Re: [L4D2] Bot Throw Grenade
 
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.

Edison1318 11-28-2016 04:01

Re: [L4D2] Bot Throw Grenade
 
New update for this plugin: Bots can now throw grenades on tanks.

ElKapone14 11-28-2016 14:17

Re: [L4D2] Bot Throw Grenade
 
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: )


All times are GMT -4. The time now is 17:20.

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