imscaredtolosemymain
06-15-2012, 02:51 PM
Hi
I am looking into hunter scripts, and would like some suggested reading matter on how to detect the traps. (noobish level)
I am familiar with dtms, and have used these successfully in a number of my own little scripts (including a jadinko tracker), and have also seen the simpler colour finding functions.
the issue i am having is differentiating between traps and trees in the area i want to hunt. the browns of the box trap are too similar to tree trunks etc. i can find the grey/black spot on the top of raised trap/side of fallen trap, but this is very angle dependant. (ie if the trap is fallen, the grey blob is to the left of the clickable bit of the trap, assuming compass angles constant)
DTMs work with the traps in a horizontal line, but if i space them out (to a pattern i would use if legiting) the change of perspective in the traps prevents me finding them.
Other than the existing hunter scripts, are there any public scripts with similar issues which i could look at? or any suggestions which functions i could read up on?
Long term goal is to add a certain specific summoning function to the hunter script, which i have working as a stand alone, for baiting purposes. (dont mention for what so it doesnt come up on forum search)
can i, for instance, look for multiple dtms if i create one for every angle? or is there a more elegant solution?
thanks in advance
edit: can maybe a mod move this to scripting help? Sorry
I am looking into hunter scripts, and would like some suggested reading matter on how to detect the traps. (noobish level)
I am familiar with dtms, and have used these successfully in a number of my own little scripts (including a jadinko tracker), and have also seen the simpler colour finding functions.
the issue i am having is differentiating between traps and trees in the area i want to hunt. the browns of the box trap are too similar to tree trunks etc. i can find the grey/black spot on the top of raised trap/side of fallen trap, but this is very angle dependant. (ie if the trap is fallen, the grey blob is to the left of the clickable bit of the trap, assuming compass angles constant)
DTMs work with the traps in a horizontal line, but if i space them out (to a pattern i would use if legiting) the change of perspective in the traps prevents me finding them.
Other than the existing hunter scripts, are there any public scripts with similar issues which i could look at? or any suggestions which functions i could read up on?
Long term goal is to add a certain specific summoning function to the hunter script, which i have working as a stand alone, for baiting purposes. (dont mention for what so it doesnt come up on forum search)
can i, for instance, look for multiple dtms if i create one for every angle? or is there a more elegant solution?
thanks in advance
edit: can maybe a mod move this to scripting help? Sorry