1 ) Download and install the latest version of
AutoIt.
2 ) Take a few mission screenshots which clearly show each target type (bombers, ships, turrets, etc).
3 ) Open your screenshot file, zoom in on the target, and find the best representative color you can using the color picker (eye dropper).
4a )
If in Photoshop: Clicking on the color in the color tab will bring up the color picker window, which will display the hexadecimal representation of the color.
4b )
If in Paint: Click on
Edit Colors, and then choose
Add to Custom Colors. This window will now show you the Red, Green, and Blue value of the color. Go to
this website, enter those numbers into the appropriate fields, click on the
RGB -> CMYK button, and the hexadecimal notation for the color will be displayed.
5 ) Open the
Aeten.au3 mission file in the AutoIt editor, and scroll down to the the attack function. You will see a series of lines like this one for each target type:
Code:
$targ = PixelSearch($x1, $y1, $x2, $y2, 0xFFD629, $gtolerance) ; yellow-orange
6 ) Replace the appropriate hex value(s) in the code, shown in red above, with your new hex value(s).
7 ) Save the file.
8 ) In the main Lucky's folder, right click on
Luckys_Spacebot.au3 and choose
Compile Script (x86).
9 ) Run your newly compiled space bot and see if there is any improvement in target recognition.