Raised This Month: $ Target: $400
 0% 

Invisability to bots


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-13-2011 , 16:45   Invisability to bots
Reply With Quote #1

Is it possible to be invisible to bots??

Its cz bots if it matters.

Kinda like if you were in smoke grenades the bots walk right by you
Doc-Holiday is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 07-14-2011 , 00:21   Re: Invisability to bots
Reply With Quote #2

I don't think so. Bots use a targeting system(not 100% on that).

So, even if you appear invisible, they will probably still pick you up and shoot(assuming they do use a targeting system).

EDIT: I'm sure you can get more information with this at http://www.bots-united.com
__________________
Hi.
Kreation is offline
Old 07-14-2011, 03:24
fysiks
This message has been deleted by fysiks. Reason: oh maybe not
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-14-2011 , 06:45   Re: Invisability to bots
Reply With Quote #4

I know that smoke renders them retarded lol and they walk right by you... but thats it.

maybe theres a way to trick them into thinking your in smoke?
Doc-Holiday is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-15-2011 , 04:06   Re: Invisability to bots
Reply With Quote #5

If a bot receives AddToFullPack stuff you can just filter out invisible player entities so the bot doesn't receive them and doesn't have anything to target... unless the bot gets the entity list directly from the server :/
__________________
Hunter-Digital is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-15-2011 , 04:49   Re: Invisability to bots
Reply With Quote #6

Quote:
Originally Posted by Hunter-Digital View Post
If a bot receives AddToFullPack stuff you can just filter out invisible player entities so the bot doesn't receive them and doesn't have anything to target... unless the bot gets the entity list directly from the server :/
Im more talking about set_user_rendering...... to make the player ivnis...

So that wouldnt work
Doc-Holiday is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 07-14-2011 , 00:54   Re: Invisability to bots
Reply With Quote #7

I just know that PodBot supports this.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-15-2011 , 05:45   Re: Invisability to bots
Reply With Quote #8

With FM_AddToFullPack
You can check whether your entity's data is bieng transmitted to the bot and if it is, than you can set the entity's state (es_handle) to invisibility, this way you will only be invisible to the bot (and not to any other player) or you can block the transmission and see if it works.
__________________

My Plugins For ZP

Inactive due to College and Studies

Last edited by abdul-rehman; 07-15-2011 at 05:57.
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-16-2011 , 00:08   Re: Invisability to bots
Reply With Quote #9

Question about add to full pack

When i tested using some client_prints

In a server with bots.. using if(!player) return 0; will only use the humans as "host"??

but "ent" can still be the bots correct??

thats what it seemed like.

PHP Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
    
register_plugin("test""0.0.1""SavSin");
    
    
register_forward(FM_AddToFullPack"fwdAddToFullPack"1);
}

public 
fwdAddToFullPack(es_handleeenthosthostflagsplayerpSet)
{
    if(!
player)
        return 
FMRES_IGNORED;

    new 
szHost[32], szEnt[32];
    
get_user_name(hostszHostsizeof(szHost));
    
get_user_name(entszEntsizeof(szEnt));

    
client_print(0print_chat"DEBUG :: This is the host %s"szHost);
    
client_print(0print_chat"DEBUG :: This is the ent %s"szEnt);

    return 
FMRES_IGNORED;

Doc-Holiday is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-16-2011 , 03:34   Re: Invisability to bots
Reply With Quote #10

I dont know what the player parameter is for but what i know is that data is bieng transmitted from the ent to the host. The host can be a bot or a human or any other entity, same goes for ent. In order to play with the ent's transmission you can use the es_handle with set_es/get_es natives. Correct me if i m wrong.
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
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 00:48.


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