View Single Post
Re: not correct detection by bots chicken as a friend/enemy
Old
  (#6)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: not correct detection by bots chicken as a friend/enemy - 23-04-2005

Quote:
Originally Posted by botman
PM, I think what he's saying is if I change a player's model to a chicken (not terrorist or anti-terrorist), the bot's get confused about who is an enemy.

The bot code uses the player's model to determine who is friendly and who it enemy. If the player's model is not a terrorist model or an anti-terrorist model, the bot will attack his own team members because the bot thinks they are on some other team.
It's exactly this problem. But it's not only about ChickenMod. The topic is corresponding also to other mods changing player's model - for example SuperHero mod (another AMX plugin).

How do I recognize/detect which chicken is currently a friend or an enemy? It's for me (as a human player) very easy - I'm getting the chicken at crosshair and it tells me who is a friend or who is an enemy...
I may ask T(+)rget - man from AMX mod dev team - he knows good Chicken Mod and players detection in AMX - maybe he can show us simply way how do the people in AMX detect player's team.
  
Reply With Quote