SRL Archive - MSI Archives

MSI Path Question


YoHoJo

2011-12-06 18:43:04

TPointArray([Point(4580, 2903), Point(4516, 2952),
Point(4555, 3175)])

I thought most paths just have 2 points first being the 'botting area' and second one being the banking area.

Those are tiles for Varrock West Mine, what are each of the 3 points?
I would like to change the 'mining area' point myself in order for it to work better with iron ores. So which point would I need to change?

Nava2

2011-12-06 18:53:20

If I am not mistaken, these are control points. These points are where the script will generate a path between. From there, the script will walk the path between the points.

That being said it is not a perfect system, but it does work better and generate a random path each and every time they are used. The control points are typically points where the script needs to either significantly turn or walk a semi-constant path.

Ex: Walking from VEM to the guards, one long path, you can deviate slightly from side to side, but its really just one long stream to the guards. But, if you didn't have that point, it would try to walk between VEM and the Bank directly.. through the wall. We all know that doesn't work too well. ;)

Thus, they are called control points because they force the path to a certain direction.

YoHoJo

2011-12-06 18:55:53

Yeah I knew that (MSI generates random path between the two(3) points).
Thanks for letting me know about the third one though! Neat idea, otherwise it would walk into a dead end/wall!
I assume the last point is the mine then hmm….

Nava2

2011-12-06 18:57:25

The last or first!

YoHoJo

2011-12-06 19:02:46

FAARNAKING BALLS
I can't figure it out… I changed last 90% sure it's last yet it's still clicking towards middle of mine area, not the bottom…………..

Nava2

2011-12-06 20:10:23

From: YoHoJo
FAARNAKING BALLS
I can't figure it out… I changed last 90% sure it's last yet it's still clicking towards middle of mine area, not the bottom…………..


There is a certain degree of randomness. Also, I think the TLocation Record or w/e it is, should have a "relocation" point it probably walks to.

Coh3n

2011-12-07 00:22:07

We figured this out over MSN. :)