View source for Talk:Cotillion
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Bullet Detect | 2 | 17:15, 17 June 2013 |
Match Length | 1 | 16:45, 10 May 2013 |
First page |
Previous page |
Next page |
Last page |
I am working on a new version of my microbot and noticed that Cotillion and several other top bots use different bullet detect logic. I am currently using 0 < energyDrop <= 3. Cotillion uses energyDrop > 0, but also corrects enemy energy in onHitByBullet and onBulletHit.
Having thought about the robo-physics of it that looks to be superior as it will not miss a shot that is coincident with taking damage. Is that correct?
Also assuming that enemy energy is adjusted properly then energyDrop > 0 is sufficient and the <=3 is no longer necessary to avoid false detections?
With that the only issues would be ramming and wall hits, but that is a little hard to account for in a micro.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:Talk:Cotillion/Bullet Detect/reply.
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.
I was thinking of this, but hadn't gotten around to it yet. The reason I went with the other way was because of execution speed.
First page |
Previous page |
Next page |
Last page |