Raised This Month: $32 Target: $400
 8% 

advise bots who is enemy


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fragnichtnach
AlliedModders Donor
Join Date: Oct 2008
Old 11-19-2020 , 11:29   advise bots who is enemy
Reply With Quote #1

Is it possible to advise a bot to not shoot at specific clients (and detect them as friends and all others as enemies).
fragnichtnach is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 11-19-2020 , 13:55   Re: advise bots who is enemy
Reply With Quote #2

Not sure which game you are asking about. If the game is Team Fortress 2 there is a plugin by the talented Tylerst called '[TF2] Bot Ignore'. In that plugin targeted players are ignored by Bots. Here's a link: https://forums.alliedmods.net/showthread.php?p=2087931

Here's the key piece of code used in that plugin:
PHP Code:
SetBotIgnore(clientbool:bIgnore)
{
    if(
bIgnore)
    {
        
TF2_AddCondition(clientTFCond_StealthedUserBuffFade, -1.0);
        
g_BotIgnore[client] = true;

    }
    else
    {
        
TF2_RemoveCondition(clientTFCond_StealthedUserBuffFade);
        
g_BotIgnore[client] = false;
    }

PC Gamer is offline
fragnichtnach
AlliedModders Donor
Join Date: Oct 2008
Old 11-22-2020 , 09:04   Re: advise bots who is enemy
Reply With Quote #3

Quote:
Originally Posted by PC Gamer View Post
Not sure which game you are asking about.
Damn, I missed this. It's about CS:GO.

Thanks for the info about this plugin. Unfortunately this doesn't help as these functions are not part of the cstrike extention.
fragnichtnach 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 17:28.


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