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

[L4D2] BotGrenades 1.3 (Outdated)


Post New Thread Reply   
 
Thread Tools Display Modes
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 01-21-2017 , 08:14   Re: [L4D2] BotGrenades 1.3
Reply With Quote #11

New Updated : Improved the bots throwing grenades while they aiming at it and commands.
__________________
EdisonGar
Edison1318 is offline
Send a message via Skype™ to Edison1318
Sev
Veteran Member
Join Date: May 2010
Old 01-21-2017 , 10:12   Re: [L4D2] BotGrenades 1.3
Reply With Quote #12

Good plugin.

My only recommendation is putting all those commands in a menu for admins, so they don't have type them out or bind them. They could simply bind the menu to a key, pick the option they want. It would require more steps, but probably easier. Just a suggestion though, or make the commands shorter.

Last edited by Sev; 01-21-2017 at 10:12.
Sev is offline
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 01-21-2017 , 20:14   Re: [L4D2] BotGrenades 1.3
Reply With Quote #13

Quote:
Originally Posted by Sev View Post
Good plugin.

My only recommendation is putting all those commands in a menu for admins, so they don't have type them out or bind them. They could simply bind the menu to a key, pick the option they want. It would require more steps, but probably easier. Just a suggestion though, or make the commands shorter.
True, later i'll just put in menu so you don't have to use commands.
__________________
EdisonGar
Edison1318 is offline
Send a message via Skype™ to Edison1318
Windy Wind
Junior Member
Join Date: Apr 2016
Old 04-12-2017 , 21:38   Re: [L4D2] BotGrenades 1.3
Reply With Quote #14

Very nice plugins, thou I would like the bots to actually use bombs by themselves without order from the users in a smarter way. I will work on the smart targeting system and see how it goes.
Windy Wind is offline
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 04-13-2017 , 04:22   Re: [L4D2] BotGrenades 1.3
Reply With Quote #15

Quote:
Originally Posted by Windy Wind View Post
Very nice plugins, thou I would like the bots to actually use bombs by themselves without order from the users in a smarter way. I will work on the smart targeting system and see how it goes.
I was planning working about that. It wasn't very easy at all make bots throw molotov and vomitjar at the tank, the slightly chances are miss and can cause friendly fire when the bots stand up too close to the survivors.
__________________
EdisonGar
Edison1318 is offline
Send a message via Skype™ to Edison1318
Windy Wind
Junior Member
Join Date: Apr 2016
Old 04-13-2017 , 05:25   Re: [L4D2] BotGrenades 1.3
Reply With Quote #16

Quote:
Originally Posted by Edison1318 View Post
I was planning working about that. It wasn't very easy at all make bots throw molotov and vomitjar at the tank, the slightly chances are miss and can cause friendly fire when the bots stand up too close to the survivors.
yeah, It is hard to make them throw molotov efficiently at tank. At the moment, I have finished the targeting system for the pipe bomb, which makes the bots capable of throwing it right into the mob. From my play test, they are quite reliable at using pipe bomb now, which should fix your mentioned issue. I will upload it later for you to test out once I get back.
Windy Wind is offline
Windy Wind
Junior Member
Join Date: Apr 2016
Old 04-13-2017 , 10:47   Re: [L4D2] BotGrenades 1.3
Reply With Quote #17

Ok, so here it is. Well, It would increase the chance of them actually throwing pipe bomb at the hordes, sometimes they do miss
Oh and I made them automatically throw their pipe bomb without order from players if certain conditions are met too.

Update: Fix fatal error.
Attached Files
File Type: txt l4d2_bot_improved_grenade_V2.txt (6.4 KB, 183 views)
File Type: smx l4d2_bot_improved_grenade_V2.smx (7.4 KB, 173 views)

Last edited by Windy Wind; 04-14-2017 at 01:26.
Windy Wind is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 04-13-2017 , 12:06   Re: [L4D2] BotGrenades 1.3
Reply With Quote #18

Quote:
Originally Posted by Windy Wind View Post
[...]
Please attach the source file if you're following the rules of the forums.
cravenge is offline
Windy Wind
Junior Member
Join Date: Apr 2016
Old 04-13-2017 , 12:55   Re: [L4D2] BotGrenades 1.3
Reply With Quote #19

Quote:
Originally Posted by cravenge View Post
Please attach the source file if you're following the rules of the forums.
Done.
Windy Wind is offline
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 04-13-2017 , 20:34   Re: [L4D2] BotGrenades 1.3
Reply With Quote #20

Quote:
Originally Posted by Windy Wind View Post
Ok, so here it is. Well, It would increase the chance of them actually throwing pipe bomb at the hordes, sometimes they do miss
Oh and I made them automatically throw their pipe bomb without order from players if certain conditions are met too.
Thanks, and somehow your plugin somehow showing a spam error

L 04/14/2017 - 08:22:19: [SM] Exception reported: Entity -1 (-1) is invalid
L 04/14/2017 - 08:22:19: [SM] Blaming: l4d2_bot_improved_grenade_V2.smx()
L 04/14/2017 - 08:22:19: [SM] Call stack trace:
L 04/14/2017 - 08:22:19: [SM] [0] GetEntPropString
L 04/14/2017 - 08:22:19: [SM] [1] Line 732, d:\destop\megas\addons\sourcemod\scripting\in clude\entity.inc::GetEntityClassname()
L 04/14/2017 - 08:22:19: [SM] [2] Line 32, D:\Destop\Megas\addons\sourcemod\scripting\l4 d2_bot_improved_grenade_V2.txt::OnPlayerRunCm d()
I managed to fix that part that you forgot to add IsValidEntity.

And thanks for helping me code for the bots to throw pipebomb at the hordes too. I don't really need the bots to shout at the chat text so i'm gonna remove that.
__________________
EdisonGar
Edison1318 is offline
Send a message via Skype™ to Edison1318
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 11:03.


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