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.
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.
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.
Simba Code:(* Main *)
repeat
WriteLn('I am an idiot!');
until(False);
Heya, best of luck to ya bud.I've found pixelshift won't work so well for detecting something low-scale like pole-fishing. In my newest Barb Fly-Fisher I made a simple way for detecting fishing by looking for our player's pole in a very specific spot.
Here's mine for detecting pole-fishing if the camera is west: (west only)
Simba Code: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;
Current projects:
[ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]
"I won't fall in your gravity. Open your eyes,
you're the Earth and I'm the sky..."
Thanks for everything! I have been at this for an hour and I am getting stuck a lot. Flight, I have no idea how you put scripts together so fast.
I just put out my first script as well. Let me know if you'd like some help as Im currently just sitting around running Ghouler haha
yeah dude, I need to know where you started. I'm having an unbelievably hard time.
There are currently 1 users browsing this thread. (0 members and 1 guests)