SRL Archive - OSR Help

ACA Auto Function Thingy


koryperson

2013-12-05 02:26:28

Removed.

footballjds

2013-12-05 09:59:19

So you want a reason to use CTS1/2 other than accuracy? That is the whole reason we use it!!!!

koryperson

2013-12-05 10:48:59

From: footballjds
So you want a reason to use CTS1/2 other than accuracy? That is the whole reason we use it!!!!


Ahhh, so this huge chunk of code is just for finding a color? Must be pretty intense haha xD

Well thanks for the answer, I think my FindColorTolerance is good enough for what I'm doing :)

footballjds

2013-12-05 11:08:39

From: koryperson
Ahhh, so this huge chunk of code is just for finding a color? Must be pretty intense haha xD

Well thanks for the answer, I think my FindColorTolerance is good enough for what I'm doing :)


Not so fast!!!

There are different Color Tolerance Speeds. 0 is the default and is what is used unless you change that.

I wouldn't ever use findObj created by ACA. BUT, I definitely use ACA.exe to create a color record(a color with tol, sat, hue and lum).

If you're doing heavy accurate object detection/finding you'll start using TPointArrays and T2DPointArrays(which is just arrays of TPointArrays);

TPA's are fun as hell

koryperson

2013-12-05 14:01:39

So color record is the best one? I'll keep that in mind when practicing today.

And I've read all of the TPA tutorials countless times and for some reason it just doesn't click in my head. I've been trying to expand my small amount of knowledge in scripting and its so difficult to make the jump from finding colors and waiting to TPAs, map walking, etc, etc.

If it means anything, I'm scripting for RSPSs so my resources when it comes to functions are pretty limited.