[L4D2] Defib using Bots (Updated 09-25-2020)
1 Attachment(s)
About : Ever tired of dying, when a survivor bot has a defib, and the game just goes on without you because bots won't defib you? Well, No more!
How it works : This plugin scans the map for any survivor death models, after it finds one, if certain criterias are met, a bot with a defib will then be forced to walk up to the dead body, then he is forced to aim at the dead body, take out his defib, and use +ATTACK to successfully defib a dead survivor. Video Demonstration here The criterias for bots to defib survivors are as following : 1) There is distance limit, we don't want bots going halfway across the map just to defib one person 2) No survivors must need help (IE Trapped by a SI, incapacitated or hanging from a ledge) 3) There must be no visible threats to the survivor bots for them to accomplish this
Spoiler
Admin Commands (Added in Version 1.3 and 1.4, Root access required) : sm_regroup - Orders all survivor bots to regroup and move to where the person who issued this command is located sm_resetbots - Resets all bots and interrupts their current action. sm_retreat - Orders all survivor bots to retreat from the special infected you are currently aiming at sm_attack - Orders all survivor bots to focus and attack the special infected you are currently aiming at Note that these 2 commands also have the same limitations put into place as the defib usage on bots Code:
Version 1.0 04-15-2015 (55 views) Code:
- Requests(?) It is suggested you run Gear Transfer! If there is an instance where the bots go all dumb and defib people while ignoring zombies please let me know, as this shouldn't be the case. |
Re: [L4D2] Defib using Bots
Incredible. Love it!
Now if we can get those pesky bots to throw grenades ;) |
Re: [L4D2] Defib using Bots
Quote:
|
Re: [L4D2] Defib using Bots
Quote:
|
Re: [L4D2] Defib using Bots
Ooooh this looks nice! :)
|
Re: [L4D2] Defib using Bots (Updated 04-16-2015)
Alright, so I noticed that bots sometimes would randomly hold down the trigger and not stop, so I decided to fix that by adding multiple checks, also eased up a little bit on the distance restriction.
|
Re: [L4D2] Defib using Bots (Updated 04-17-2015)
So, I noticed that because of the way the plugin forces the bots to use defibs, they would sometimes never stop swinging melee weapons, this has been fixed!
I also noticed that for some reason, Gear Transfer isn't correctly forcing bots to pick up defibs most of the time, so I added my very own defib check into this plugin so that bots will now pick up defibs too! Do note that if you drop a defib, under some very specific odd circumstances, the defib may be visually stuck in the air, don't worry as the defib can still be picked up and used normally, this is just a side effect of how the bots are forced to pick up defibs. |
Re: [L4D2] Defib using Bots
Quote:
A. If pipebomb, throw it regardless of wall. B. If molotov, lets make sure it lands where it aims. Very difficulty, but possible with alot of coding |
Re: [L4D2] Defib using Bots
Quote:
I will be specifically heavy on the limitations with molotovs, since on Expert a single molly can wipe every survivor very easily. They easily use grenades by themselves too, you just need to force them as their active weapon. |
Re: [L4D2] Defib using Bots (Updated 04-17-2015)
Let's think about a possible case:
Tank kills a player and another bot survivor. Only one alive bot HAL9000 carrying a defibrillator and saves dead bot! Now we Left player 4 Dead. T-T |
All times are GMT -4. The time now is 01:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.