Raised This Month: $7 Target: $400
 1% 

[CS:S ZR Plugin] Stop Bots from attacking Humans


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 04-20-2021 , 01:11   [CS:S ZR Plugin] Stop Bots from attacking Humans
Reply With Quote #1

REQUIRES:
DHooks with Detour Support (No need to install if you have 1.11, DHooks Detour is bundled with 1.11)

One of the ConVars that puts all players into the CT team at the start, did not appear to work for bots for consecutive rounds. Thus, after some searching and finding an old post containing various sigs for bot detection, this was made.
This is a simple quick plugin made to prevent bots from attacking humans placed on the other team, without having to place them all into one team.

This will attempt to run in CS:GO, but it will most likely not work.
No support for CS:GO is planned.
Attached Files
File Type: sp Get Plugin or Get Source (zr_stopbotsattacking_humans.sp - 81 views - 16.7 KB)
File Type: smx zr_stopbotsattacking_humans.smx (8.1 KB, 87 views)
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4

Last edited by Shadowysn; 11-22-2022 at 05:14. Reason: Fixed massive oopsies, updated to 1.0.1
Shadowysn is offline
evans
Senior Member
Join Date: May 2021
Location: OnSmokeDetonate();
Old 05-16-2021 , 17:56   Re: [CS:S ZR Plugin] Stop Bots from attacking Humans
Reply With Quote #2

Hopeful plugin, don't wanna lower your hard work but a shame that bots will stop attacking almost completely... ((
evans is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 05-17-2021 , 02:14   Re: [CS:S ZR Plugin] Stop Bots from attacking Humans
Reply With Quote #3

Quote:
Originally Posted by evans View Post
Hopeful plugin, don't wanna lower your hard work but a shame that bots will stop attacking almost completely... ((
They stop attacking the zombies? They don't do it for the 3.4.1 Franug edition ZR plugin.
You need to go into more detail.

Which zombie mod/reloaded plugin do you have?
When does it happen? Before or during the zombies spawn, or a while after the spawning and everyone's supposed to fight?
And do a few, some, or most of the bots try to attack eventually?

Oops, I screwed up all this time.
The check was making the zombies ignore the humans but not vice versa. The few times I tested this plugin the humans were shooting the zombies and making them fight back...
And it was unoptimized.

Last edited by Shadowysn; 11-22-2022 at 03:22.
Shadowysn is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 11-22-2022 , 03:19   Re: [CS:S ZR Plugin] Stop Bots from attacking Humans
Reply With Quote #4

Updated to 1.0.1, hopefully it should actually properly work this time.
Shadowysn is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 01-04-2023 , 21:02   Re: [CS:S ZR Plugin] Stop Bots from attacking Humans
Reply With Quote #5

Just wanted to say that I tried it out and it works well for bots not shooting CTs, however, once they turn zombies, they still try to knife each other instead of going after CTs.

I tried solving this issue as well and never succeeded.
Attached you can find the source I was using to try and fix the issue (I literally tried all combinations and also asked someone for help with no avail).

this extension is needed to compile the plugin https://forums.alliedmods.net/showthread.php?t=220118

I don't recall if a compiled version was available and working for CS:S, I believe I compiled it myself for linux (attached)
Attached Files
File Type: sp Get Plugin or Get Source (zm_bots.sp - 58 views - 2.7 KB)
File Type: txt botattackcontrol.games.txt (978 Bytes, 71 views)
File Type: so botattackcontrol.ext.2.css.so (139.8 KB, 60 views)
__________________
nikooo777 is offline
evans
Senior Member
Join Date: May 2021
Location: OnSmokeDetonate();
Old 11-24-2023 , 05:42   Re: [CS:S ZR Plugin] Stop Bots from attacking Humans
Reply With Quote #6

Quote:
Originally Posted by Shadowysn View Post
They stop attacking the zombies? They don't do it for the 3.4.1 Franug edition ZR plugin.
You need to go into more detail.

Which zombie mod/reloaded plugin do you have?
When does it happen? Before or during the zombies spawn, or a while after the spawning and everyone's supposed to fight?
And do a few, some, or most of the bots try to attack eventually?

Oops, I screwed up all this time.
The check was making the zombies ignore the humans but not vice versa. The few times I tested this plugin the humans were shooting the zombies and making them fight back...
And it was unoptimized.
All good mate, it works properly, no claims absolutely! As Niko said, only issue is you need to distract the bots to attack you. Otherwise they knifing to each other somewhere in the corner until they distracted by headshot of one zombie. Yea, it needs to force them to be more active and attack humans more actively. They also often hiding, camping and looking to you instead of attacking. Would be great if someone will fix, i'll try to examine the code as well in the meantime...
__________________
evans is offline
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 22:14.


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