Difference between revisions of "GITS/Targeting"
J Litewski (talk | contribs) m (GITS Targeting moved to GITS/Targeting) |
J Litewski (talk | contribs) |
||
Line 1: | Line 1: | ||
− | '''GITS Targeting''' - ([[ | + | '''GITS Targeting''' - ([[GITS/Targeting/Source|Source]]) |
---- | ---- | ||
(The original Targeting formula is from the [[WaveSurfing_Challenge/Bot_B|WaveSurfing Challenge Bot B]] from this [[Linear_Targeting|Code Snippet]].) | (The original Targeting formula is from the [[WaveSurfing_Challenge/Bot_B|WaveSurfing Challenge Bot B]] from this [[Linear_Targeting|Code Snippet]].) | ||
− | Improvements | + | ==Improvements== |
+ | These are improvements I made to the targeting formula. | ||
− | + | ===RadarSweep (extremely buggy)=== | |
+ | RadarSweep is a little glitch that I educe to expand the Radar Coverage. It's improved the detection of robots, but it also improved the chance of the Robot to switch between shooting at two different robots if they are close together. I have this disabled until I can refine it further. | ||
− | + | ===PowerConserve=== | |
+ | So far, PowerConserve has been a huge success. The gun will fire the correct amount of bullets within medium distances from GITS (on a 800x600 field). It will, however, overshoot by one or two if the target is far away or undershoot by one if the target is extremely close to GITS. This has also only been tested on static terms (i.e., GITS standing still and SittingDuck). Theoretically, GITS should always be spot on if it was a dynamic test, since Robots never stand still in battle. I'm also going to implement a dynamic Bullet Power script that'll further improve PowerConserve's ability by limiting the Max Power of the Bullet (if needed) to kill the other robot (instead of the static 3.0 power). |
Revision as of 15:19, 15 May 2009
GITS Targeting - (Source)
(The original Targeting formula is from the WaveSurfing Challenge Bot B from this Code Snippet.)
Improvements
These are improvements I made to the targeting formula.
RadarSweep (extremely buggy)
RadarSweep is a little glitch that I educe to expand the Radar Coverage. It's improved the detection of robots, but it also improved the chance of the Robot to switch between shooting at two different robots if they are close together. I have this disabled until I can refine it further.
PowerConserve
So far, PowerConserve has been a huge success. The gun will fire the correct amount of bullets within medium distances from GITS (on a 800x600 field). It will, however, overshoot by one or two if the target is far away or undershoot by one if the target is extremely close to GITS. This has also only been tested on static terms (i.e., GITS standing still and SittingDuck). Theoretically, GITS should always be spot on if it was a dynamic test, since Robots never stand still in battle. I'm also going to implement a dynamic Bullet Power script that'll further improve PowerConserve's ability by limiting the Max Power of the Bullet (if needed) to kill the other robot (instead of the static 3.0 power).