![]() |
shield issues...
When bots are focusing an enemy with shield & facing them,
in 2.5x: they aim & keep shooting! regardless of shield is up/down. in 2.0.0.864: they just keep aimming him. this code was written at the end of CBot::FocusEnemy (2.0.0.864) Code:
// don't shoot to enemy if enemy with & facing us, we can't hurt it Problem: if other enemies come in bots' sight, they still keep aimming(and shooting) that enemy with shield protected, then stupidly get killed. I think when bots are focusing an enemy with shield & facing them, they should engage other enemies(if exists in sight) or try to complete the mapgoal task (just image what if a human with shield up running ahead in a new round to catch enemy bots' attention, they just keep aimming and wait to be killed, never to say the mapgoal - bots' stand no chance to win!!:cursing:) in 2.51 src I noticed this in Bot::LookupEnemy Quote:
Bot:: Think BotAI SetConditions LookupEnemy ChooseAimDirection FocusEnemy is LookupEnemy the problem? and how to correct this?? :helpsmilie:thx |
Re: shield issues...
2.51 src(last modified by ProRaiL)
http://forums.bots-united.com/showpo...2&postcount=82 |
Re: shield issues...
i wrote this at the end of FocusEnemy
Quote:
i tested this with a zbot as a teammate(bot_zombie 1) following me, and i'm using shield facing a YaPB enemy. When the YaPB caught sight of my teammate zbot it would usually kill him. But there are times when the YaPB just aim the zbot without shooting, the moment i ran away/turned off shield, the YaPB killed zbot just then, i showed up before that, and YaPB keep shooting at me! --it seems the YaPB's m_wantsToFire property was applied to wrong enemies! lol |
All times are GMT +2. The time now is 01:06. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.