Re: not correct detection by bots chicken as a friend/enemy -
23-04-2005
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.
The solution to this is to NOT change player's models to something other than terrorist model or anti-terrorist model, or change the bot code UTIL_GetTeam() so that it uses some other method to determine what team the bot is on.
botman
|