SRL Archive - Help and Support

DTMing/Bitmapping


Sjoe

2006-05-05 11:05:42

So I'm trying to Bitmap/DTM that Rock on the minimap, but my mouse never finds it.
Is it the prob of the Rock? Should I better just bitmap the Road or something? :d

thx , greetz ;)

afireinside

2006-05-05 15:44:27

bitmapping should not be the way to go. since the map rotates, the bitmap procedure will never find it because findbitmaptolerance(); does not support rotation.

DTMing is how to solve it. If the rock color is fairly unique, then make 1 point on the rock and one on the ground south of it say. Bump up the tolerance of those colors to 60 or 70 for each so they work with all colors. Also, add some area to the point which is not the origin.

Test it out, if the mouse doesnt find anything or it freezes, then your too specific, tune down your searching rules. If the mouse moves to the top left hand corner or not the desired point, lower tolerance or ad more points until the rock becomes distinguishable

Sjoe

2006-05-06 06:43:49

Ok thx, gonna try that out :)

EDIT : not working really well, should I use FindDTM, FindDTMIn or FindDTMRotated?

EDIT2:

What should I bitmap or DTM then? Or how do I let it click the Road :) ( It has go East)

driger1592

2006-05-06 10:21:13

To have it click the road, use the road as your parent point. From there, choose objects that are rather distinctive. Then, put some tolerance on everything, and put the area up. Try reading my DTM tutorial in my tutorial project. The link is in my sig. I think it'll help you a little bit.

Sjoe

2006-05-06 15:11:57

1) I don't know what you mean with parent point
2) I'll read your tutorial :p
3) Dunno what 3 is for but there's always a 3

driger1592

2006-05-06 15:25:29

1) You'll find out by reading my tutorial ;)
2) <3
3) :p

Sjoe

2006-05-12 11:54:13

grrr, I have alot of problems with DTMing :(
Scar will find the DTM on the world I made it, but on other worlds it doesn't
What can I do to fix it? I use findDTM and blabla:=getcolor(x,y)

YoHoJo

2006-05-12 16:52:16

I added you on MSn ill help