SRL Archive - OSR Help

Couple questions


Creath

2012-06-06 19:29:35

For interacting with static objects on the screen (stationary npcs, fountains, etc)

What would be the best way to do so? Bitmaps? DTMs? Colors?

There are so many different ways to do things, I'm not sure which to try :S

YoHoJo

2012-06-06 19:31:01

This section is for TUTORIALS not QUESTIONS.

Best way is color I'd say, along with TPA/ATPAs.

This will help:
http://www.youtube.com/watch?v=98wVrr6GwyU

Moved thread.

Olly

2012-06-06 19:40:15

Tpa's are the way to go, but dont feel bad about using dtms if tpa's are failing ive seen multiple ways when a dtm has worked 100x better than an tpa :P

Creath

2012-06-06 19:40:56

From: YoHoJo
This section is for TUTORIALS not QUESTIONS.

Best way is color I'd say, along with TPA/ATPAs.

This will help:
http://www.youtube.com/watch?v=98wVrr6GwyU

Moved thread.


Thanks, didn't see this section earlier. I saw other people asking for help in that section so I figured I'd post, my bad ^_^

Watching the video now!

YoHoJo

2012-06-06 19:50:08

From: Ollybest
Tpa's are the way to go, but dont feel bad about using dtms if tpa's are failing ive seen multiple ways when a dtm has worked 100x better than an tpa :P


I highly suggest against DTMs for mainscreen.
They use CTS1 (or 0?) which is crap you need tons of tolerance to even find the color since colors change so much (not too noticeable to human eye), and by the time you get enough tolerance, you get a ton of other colors matching and it's a mess.

A good use ACA alone will often times find exactly what you are looking for, adding TPA/ATPA to that just makes it even more accurate!

If you have good luck/have seen good DTMs for mainscreen that awesome, but I always go with ACA TPA ATPA over them.

Creath

2012-06-06 21:14:54

I'm trying Auto Color Aid and having a couple of notable difficulties. I'm working on a Vial filler that fills vials in edgeville, but the colors for all the buildings are the same ones used for the well. So it's finding all the buildings (or stalls, if I try the brown approach) nearby.

Would this be a scenario where DTMs would prove more efficient?


YoHoJo

2012-06-06 22:24:09

Rmember you don't have to pick EVERY SINGLE color so that the entire well turns red.

Try picking only dark, or only light, or only similar colors that way you will have less matches.

Also, there are certain FindObj functions that narrow down even further by Width, Height, and Pixel checks. (Look in Object.simba for them)

Also to get a bit more advanced if you use TPA/ATPA you will be able to find it very easily.