The Wiki for Tale 5 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "User:Oni"

From ATITD5
Jump to navigationJump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
----
 
----
 
Hi!
 
Hi!
 +
<br>
  
 
----
 
----
Below is a general purpose grass/clay collecting macro. 1280x1024 resolution. 2nd F8 zoomed all the way in.<br>
+
Some macros that I use:<br>
Copy and paste the below code into ACTool.
+
<br>
 
+
[[/Macros|Macro Page]]
----
+
<br>
 
+
[[/Trees|Trees Page]]
<pre>
+
<br>
//General purpose Grass and Clay collector. 1280x1024
+
[[/Solver|Solver]]
//To begin, be in 2nd F8 view zoomed all the way in.
+
<br>
//hover your mouse over the icon
+
[[/PaintColors|My Paint Colors]]
//you wish to collect in ATITD (i.e. be over a patch of clay or grass
+
<br>
//and have this program active.  Press F2, and the macro will start.
+
[[/boards | Treated Boards Recipies]]
Constants
 
Red = 0
 
Green = 0
 
Blue = 0
 
XPos = 0
 
YPos = 0
 
CurrKey = 0
 
X2 = 0
 
Y2 = 0
 
End
 
SetConst XPos = {MouseX}
 
SetConst YPos = {MouseY}
 
LoadRGB $XPos, $YPos
 
SetConst Red = {RGBRed}
 
SetConst Blue = {RGBBlue}
 
SetConst Green = {RGBGreen}
 
SetConst CurrKey = {GlobalKeys}
 
 
 
//////////
 
Loop 10000
 
Call Grass
 
Call Left
 
Call Grass
 
Call Right
 
END
 
//////////
 
 
 
Procedure Grass
 
GetRed  $XPos, $YPos = $Red
 
GetGreen  $XPos, $YPos = $Green
 
GetBlue  $XPos, $YPos = $Blue
 
setconst X2 = {mouseX}
 
setconst Y2 = {mouseY}
 
MousePos $XPos, $YPos
 
 
  Leftclick
 
  Mousepos $X2, $Y2
 
 
 
End
 
End
 
End
 
End // Procedure Grass
 
 
 
Procedure left // move left
 
delay 200
 
MousePos 360, 524
 
delay 100
 
Leftclick
 
delay 3000
 
End // Procedure left
 
 
 
Procedure right // move right
 
delay 200
 
MousePos 895, 522
 
delay 100
 
Leftclick
 
delay 3000
 
End // Procedure right
 
 
 
 
 
<pre>
 

Latest revision as of 00:39, 23 October 2010