Difference between revisions of "Thread:Talk:Cotillion/Bullet Detect/reply (2)"

From Robowiki
Jump to navigation Jump to search
m (Reply to Bullet Detect)
 
m (minor edit)
 
Line 1: Line 1:
Yeah, I've found that using <code>onBulletHit</code> adjustment instead of limiting the [[Energy Drop|energy drop]] is much more effective against [[LT|linear targeting]], because if the enemy fires the same tick the bot hits them, or the same tick they hit a wall, or even the same tick they get a bullet hit bonus, their fire will not be detected.  If you have some codesize to spare, I would also recommend adjusting the enemy energy variable on <code>onHitByBullet</code>, to make it even more accurate.
+
Yeah, I've found using <code>onBulletHit</code> adjustment instead of limiting the [[Energy Drop|energy drop]] to be much more effective against [[LT|linear targeting]], because if the enemy fires the same tick the bot hits it, or the same tick it hits a wall, or even the same tick it gets a bullet hit bonus, its fire will not be detected.  If you have some codesize to spare, I would also recommend adjusting the enemy energy variable on <code>onHitByBullet</code>, to make it even more accurate.

Latest revision as of 16:15, 17 June 2013

Yeah, I've found using onBulletHit adjustment instead of limiting the energy drop to be much more effective against linear targeting, because if the enemy fires the same tick the bot hits it, or the same tick it hits a wall, or even the same tick it gets a bullet hit bonus, its fire will not be detected. If you have some codesize to spare, I would also recommend adjusting the enemy energy variable on onHitByBullet, to make it even more accurate.