SRL Archive - OSR Help

Can someone help me? Please :) Clicking on map


djborec

2012-05-11 19:19:04

I need to click on map in house, to get near portal ,but I do not know how :)

I tried RoatedDTM, but it failed to detect
I tried FindColorsSpiralTolerance and TPA, but it fails in 90% case , i tried different tolerance ,did not help at all

I need to click on spot where red mark is:


Here is clean :


Can anyone make DTM,or give me some tip how to click exactly there.
Maybe something with camera rotation but not sure.

Abu

2012-05-11 19:37:55

Use RadialWalk with the DarkGreen colour…

djborec

2012-05-12 01:49:09

The only problem is ,that player can be anywhere in home so I can not set degrees :/

Le Jingle

2012-05-12 02:04:15

What are you trying to accomplish? Radial walk, given you've been in that room your character is standing in for x amount of time, will do the trick in walking you to the house portal (where the darker green grass is visible on the mini-map), just like abu_jwka stated^.

djborec

2012-05-12 02:20:48

From: Le Jingle
What are you trying to accomplish? Radial walk, given you've been in that room your character is standing in for x amount of time, will do the trick in walking you to the house portal (where the darker green grass is visible on the mini-map), just like abu_jwka stated^.


Yeah, but as I said ,character can be in any room of house ,it can be under green grass, on left etc, so I am not sure How can radial walk help here?

Anyway I am trying agin with DTMRoated ,because in editor it seems to recognise my point :)

Problem Solved ,when I used FindDTM instead of DTMRoated? OOoo

Brandon

2012-05-12 03:16:51

Make a TPA of that dark green spot then MiddleTPA and click the point..

If you also want to open doors then include the DoorFile and use a DoorProfile to gather all doors.
Open Each one that gets your character stuck..

Another idea would be to get your character's position on the minimap aka MSCX, MSCY..

FloodFill until it hits a white outline. In that ATPA which it returns, search for a door profile and walk to that. Open it.. Repeat.

I'd do the work but its a ton so nty.

litoris

2012-05-12 05:06:54

Make a custom SPS map?

djborec

2012-05-12 05:37:54

From: Brandon
Make a TPA of that dark green spot then MiddleTPA and click the point..

If you also want to open doors then include the DoorFile and use a DoorProfile to gather all doors.
Open Each one that gets your character stuck..

Another idea would be to get your character's position on the minimap aka MSCX, MSCY..

FloodFill until it hits a white outline. In that ATPA which it returns, search for a door profile and walk to that. Open it.. Repeat.

I'd do the work but its a ton so nty.


will try that thx :)