![](wink.gif)
T2k
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
aimAngle = EnemyObjDirection + (((EnemyObjDirection - lastEnemyAngle) * EnemyDistance) / 80.0f);
quote: Original post by particleG
I have also removed prediction from my code (just gave up on it). It still didn''t work and I am suspecting VC.NET is at fault. The prediction worked a bit but then for no reason my bot turned to the left or right so that the enemy was at the edge of my FOV (with constant angular velocity). I could never figure out why it did that so it is now gone. I still liked it for long ranges but forcing my bot to turn around scanning for the enemy while the enemy had it in its FOV was killer.
Trying to figure out this prediction has left my bot, well nuetered. I removed so much of the code trying to track that bug that all my bot does now is run up (keep some distance) and attack. No strafeing, no hiding or anything. The FSM is left with 2 states (search + attack_0) when before it had 7. I wish I had a backup of the original.
I dunno if I am gonna fix up my current bot or wait until this contest moves from beta. Too damn much work and I am not looking forward to it.