Can someone either make me a dtm which can be used to find ANY log or explain to me what's the same between each log? I try, but i can't seem to find similarities.![]()
Can someone either make me a dtm which can be used to find ANY log or explain to me what's the same between each log? I try, but i can't seem to find similarities.![]()
SCAR Code:LogDTM := DTMFromString('78DA6314626060E0634001BEAE320C3A8C0C0' +
'C40C4F01F081885810C090634C0884402696E20214D400D0B9010' +
'27420D2F1176B1115003F2172B0135203F31135003F213070135B' +
'240420CBF1A003539062B');
Got this from Senrath, so you should thank him. The shape of the log are all the same.
In future, a useful was to have a DTM that works with items of all the same colour, is to just take the outline points.
adding to what Richard said, the outline of items in your inventory is the same color no matter what the item. so just take a few points of the outline of the log and the middle point thats on the color should have very high tolerance (id put up at 100) just so it can catch all the differant colors of logs
Lance. Da. Pants.
Don't set the tolerance to 100, as oak, willow, yew, and normal are quite similar. Putting it as 100 still looks for a colour, and you want it to look for the shape. Set the tolerance as 255 (the max), and it will look just for shape.
Last edited by Rich; 05-31-2009 at 07:07 PM.
<3
Originally Posted by Eminem
255 is the max.
Meh i just type 9999999 and it's fine(in D(D)TM editor 9999 gets set to 300 [so thats the max?])
Ce ne sont que des gueux
No 255 is the maximum because that is the most that an R, G, or B value can have.
DDTM editor says otherwise xD
But I believe 255 yeh.
Ce ne sont que des gueux
Well since the values are 8-bit then the maximum number of configurations is 256 of each color.
Oh yeah, 255. Sorry, I meant 255, not 155.
<3
Originally Posted by Eminem
443 is actually the max tolerance..
Also, if you wanted to be accurate, you should use a DDTM which changes the center color dependant on what log you are dropping
Could be overkill at times though.
Writing an SRL Member Application | [Updated] Pascal Scripting Statements
My GitHub
Progress Report:13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you have serious physchological problems 13:46 <@BenLand100> HE GETS IT! 13:46 <@BenLand100> HE FINALLY GETS IT!!!!1
Nava, how comes in some tuts I read ages ago, they said that 255 is the max, when it is actually 443?
<3
Originally Posted by Eminem
Because when you get to those values, it makes near to no difference.
Writing an SRL Member Application | [Updated] Pascal Scripting Statements
My GitHub
Progress Report:13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you have serious physchological problems 13:46 <@BenLand100> HE GETS IT! 13:46 <@BenLand100> HE FINALLY GETS IT!!!!1
Incorrect, it's 442. It has to do with the formula that SCAR uses to calculate the tolerance and such things. But at least in RS, the tolerance won't pass ~255, unless you compare ClWhite and ClBlack.
On topic: use as mainpoint and subpoints the outline, with tolerance 0, becuase almost all logs have the same outline.
There are currently 1 users browsing this thread. (0 members and 1 guests)