brandon8081
2012-02-21 21:51:29
Over the next couple weeks I will be developing a Shilo Village fly fisher. This will be my first script I am writing, I've watched tutorials and I think I am ready. If anyone has some tips, please let me know.
2012-02-21 21:51:29
2012-02-21 22:02:52
2012-02-21 22:05:31
From: RISK
Read Flight's tutorial on pixel shift detection. It'll help you a lot with detecting if you are fishing or not. Then read up on how to use SPS and such to make it easier for you to start out.
2012-02-21 22:27:10
Function IsPoleFishing: Boolean;
var
CTS,i: Integer;
TPA: TPointArray;
PColors,Tols: TIntegerArray;
HMods,SMods: Array of Extended; //An array of extended intergers, like a boss...
begin
CTS := GetColorToleranceSpeed;
PColors := [727590, 727848, 793897, 793897];
HMods := [0.26, 0.21, 0.15, 0.16];
SMods := [0.50, 1.39, 0.47, 0.78];
Tols := [2, 2, 3, 5];
for i := 0 to High(PColors) do
begin
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(HMods[i], SMods[i]);
FindColorsSpiralTolerance(257, 200, TPA, PColors[i], 250, 190, 273, 225, Tols[i]);
ColorToleranceSpeed(CTS);
Result := (Length(TPA) > 0);
if Result then Exit;
end;
end;
2012-02-21 23:01:45
2012-02-22 02:35:55
2012-02-22 03:40:35