SRL Archive - Help and Support

DTM Troubles


Method

2007-10-28 22:00:20

I've been having troubles creating a DTM of the three willow trees on the minimap in Rimmington (picture below). I've tried picking colors from different worlds then using ACA to find the best one with tolerance, but I can't seem to locate it once I switch worlds. The area size has been 1-4 with no luck at each. I'd like to know what you guys think since I'm stumped. Here's where I'm trying to create the DTM:


Any help is appreciated. Thanks.

Esteban

2007-10-28 22:03:22

You're trying to make a DTM of those 3 trees? Let me see what i can try to whip up for you ;).

Method

2007-10-28 22:06:25

Yeah, I want the main point to be basically where I'm standing and the other points to be on the trees (if possible).

Esteban

2007-10-28 22:21:31

Um, i can get it to you if i knew what the parameters for FindDTMRotated were, looked at DTM.scar for it, and i've got all the params listed :S.

Method

2007-10-28 22:35:13

function FindDTMRotated(DTM: Integer;, var x, y: Integer;, x1, y1, x2, y2: Integer; StartAngle, EndAngle, AngleStep: Extended; var Angle: Extended): Boolean;

Alternatively, using DTMRotated uses FindDTMRotated to find the DTM also.

Esteban

2007-10-29 16:26:26

Hokay, i'll use that. But why isn't FindDTMRotated listed as that is DTM.scar :P?

Markus

2007-10-29 16:51:27

FindDTMRotated is in SCAR, DTMRotated is in SRL.

ShowerThoughts

2007-10-29 16:52:08

its not so smart to go stand on the place you want to go so now you cnat put the mainpoints on it :s

HyperSecret

2007-10-29 18:30:56

make a DDTM its much easier

Method

2007-10-29 19:06:00

From: hermpie
its not so smart to go stand on the place you want to go so now you cnat put the mainpoints on it :s


Using a tolerance of 255 where I want the main point to be fixes that.

From: HyperSecret
make a DDTM its much easier


How would I find the colors of the trees, then? Since the coordinates change I can't look in the same place with GetColor(x, y). Any suggestions?