Making The Banking DTM
Before You attempt this part of the tut Read Part 1 and 2.
Open up your image through the DTM editor as i told you how to in part 1.
have your image something like this:

one you got that open it up in your DTM editor and select the main point in the bankers box behind the bankers yellow dots.
It should look like this:

I would put the toll to about 230 because it works alot better with a high toll level on the bank dtms then pic each sub points of the bankers around it and set the area size to 2 on each one ( the area size button is above the toll)
it should look something like this:

and then go >edit>DTM to text and look in the debig box and the DTM will be there
Well done you have finished part 4 of this tut!
Making The Banking DTM
There is one or to ways to use the DTM with the minimap we are going to use DTMRotated.
and place your DTM in there like so
SCAR Code:
procedure LoadDTMs;
begin
DTM := DTMFromString('78DA634C63606030674001E5F9F9609A1188F' +
'F03016316906184AAE6EB5706B81A309D07248C51D5BC7D8BA626' +
'17D3AE3F7F9850D5140309535435FFFEF1A1AA4920C29C48849B9' +
'970B9390248981130270853CDBF7FC2286A0090341A79');
end;
and when you do this always remember to call on the DTM in the mainloop
also you have to declare the DTM in your var at the start of your script like so
SCAR Code:
var
DTM: integer;
x, y: integer; // dont forget to include this for the clicking
to use the dtm in your script there are many ways i will teach you one of the many ways.
SCAR Code:
procedure GetInToBank;
begin
MakeCompass('S');
wait(1000);
if DTMRotated(Bankers, x, y, MMX1, MMY1, MMX2, MMY2) then
begin
Writeln ('found bank dtm');
wait(1000)
Mouse(x, y, 5, 5, true);
FFlag(0);
end;
this would be the procedure you would use to get into the bank.
the..
they are the mini-map co-ords so it will search there in the mini-map
makes the compass south
that will click on the DTM if you have it correct
waits till you get into the bank.
Well Done you have completed Part 4 of this Tut!!!!
Testing Your DTM
After you make a dtm save it to a file by going
file>save then quit our of the editor then go back into it and go
edit>load new image and open up one of the images you used for your DTM and then go file>open and open up the DTM you saved just before and if there is a big cross over it then you are done

If it looks like this then
YOU NOW KNOW DTM's