Results 1 to 9 of 9

Thread: DTM's

  1. #1
    Join Date
    Sep 2007
    Location
    newcastle australia
    Posts
    240
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default DTM's

    hey, i know this probably sounds pretty stupid to alot of people here, but how do you go about making and implementing DTM's?
    when i quit cheating, DTM's were still new and untested, i was told they rarely worked by other scripters, so i never got around to learning about them, as far as i know its like a bitmap but with shape tolerance?
    anyone able to give me a ground up tut on them?

  2. #2
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    DTMs - Deformable Template Bitmaps - is kinda like doing a FindColorSpiralTolerance in lots of different areas. These mini FindColorSpiralTolerances all have to result true themselves, and have to be found in the exact places that you set them to be found in for the DTM itself to be found. This means that they are extremely sensitive to the color you are searching for, the area you allow the function to look in, and the position of the points in relation to each other

    To create a DTM, open SCAR --> Tools --> DTM editor.

    For DTM functions, F1 in SCAR
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  3. #3
    Join Date
    Sep 2007
    Location
    newcastle australia
    Posts
    240
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    that sorta doesnt help in regards to putting it in the script :/
    thanks for the info on that tho, explains it pretty well
    edit:
    also having another problem, i havnt done pascal in a while, but i thought this should work:

    until(getcolor(43,372)<7504989 or getcolor(43,372)>11140620);
    saying type mismatch in script

  4. #4
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    To put it into the script after you have created it, press File --> DTM to Text and it will appear in the debug window. Copy and paste into your script and use the functions FindDTM / FindDTMRotated

    your problem is just a picky error

    PHP Code:
    until(getcolor(43,372)<7504989) or (getcolor(43,372)>11140620); 
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  5. #5
    Join Date
    Aug 2007
    Posts
    115
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I will recommend you this Tutorial http://www.villavu.com/forum/showthread.php?t=564!

  6. #6
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Starblaster100 View Post
    DTMs - Deformable Template Bitmaps
    I thought it was Deformable Template Model ?
    Administrator's Warning:


  7. #7
    Join Date
    Sep 2007
    Location
    newcastle australia
    Posts
    240
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by sapetto View Post
    I will recommend you this Tutorial http://www.villavu.com/forum/showthread.php?t=564!
    i will politely refuse on the grounds that i dont have access to it...

    is there any way to fasttrack the 7 day wait? :P

  8. #8
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Sumilion View Post
    I thought it was Deformable Template Model ?
    haha, DTB. Yes you are of course right Sumilion it is Deformable Template Model.

    Sorry, there is currently no way to fast track the 7 day wait. However, if you do put in a lot of effort, you are rewarded here. It has happened many times before.
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  9. #9
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Starblaster100 View Post
    haha, DTB. Yes you are of course right Sumilion it is Deformable Template Model.
    Haha, ok then.

    Quote Originally Posted by elementalelf View Post
    i will politely refuse on the grounds that i dont have access to it...

    is there any way to fasttrack the 7 day wait? :P
    Got a Message for you.
    Administrator's Warning:


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. DTM's
    By Firebrand in forum OSR Help
    Replies: 5
    Last Post: 01-03-2008, 02:13 AM
  2. DTM's?
    By Tanas in forum OSR Help
    Replies: 2
    Last Post: 10-06-2007, 09:17 PM
  3. DTM's
    By marre in forum OSR Help
    Replies: 2
    Last Post: 09-16-2007, 09:25 PM
  4. Help with DTM's
    By !bezo! in forum OSR Help
    Replies: 10
    Last Post: 08-30-2007, 02:50 PM
  5. Help with DTM's
    By !bezo! in forum OSR Help
    Replies: 13
    Last Post: 03-27-2007, 10:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •