Results 1 to 14 of 14

Thread: Color Picking Tutorial

  1. #1
    Join Date
    Feb 2006
    Location
    California-Foster City
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Color Picking Tutorial

    Yes, another color picking Tutorial


    NOTE: This tutorial starts at the point in which you have gotten scar

    Introduction: In this tutorial we will cover:

    1. How to pick colors
    2. How to put colors into a setup

    What are colors

    Colors you see are what Scar detects things as. Each color on the computer has its very own code like 0=black. Scar uses this color to find objects

    How to get a color

    To get a color, you must use something called a color picker which shall be later described


    Getting a color

    1.


    The above image is the tool bar that should be in scar.




    That is the legendary color picker, one of the basics of all scripts. *Orchestral music plays*


    2. To find a color, you must click the color picker. To do so, you move your mouse over to the button, then take your left hand, place it over your right pointer finger, and push down.

    After doing so, the whole screen should freeze except the mouse.

    3. You should see your mouse has magically transformed into crosshairs with a quote like tag protruding from it. Move that over to the color on the item you wish to pick. For example, if the script said
    Code:
    Pick the color of a essence in your inv
    Then you'd move the crosshairs/mouse over to the essence and click.



    4. A set of #'s like

    Color Picked: 16777215 at (498, 309)

    should appear in the debug box as shown in the picture below



    THat is the Debug box.

    Drag your mouse over the 16777215 (that is the color, in this example) and hit
    ctrl+c.

    5.
    Setting up


    There are 2 types of setups, one in the const and one as a procedure

    const setting
    Code:
    const
    Under that their should be things like
    Code:
    const
    rockcolor=123213;//color of the rock
    or something. Highlight whatever is after the = sign and hit ctrl+v. The color of the object should be put their.

    Procedure setup

    Some scripts require the colors to be put in a procedure like
    Code:
    procedure setup;
    begin
    rockcolor:=123213//color of the rock
    end;
    or something. Highlight whatever is after the := sign and hit ctrl+v. The color of the object should be put their.



    Other stuff:


    1. Color is automatically copied to ctrl+c

    Common terms used in color picking
    Here are some common terms used in color picking that I have seen. If you notice others just tell me
    MM- Minimap

    MS- Mainscreen

    Inv- Inventory

    Credits:

    Sdcit- I stole the guide from him

    Jagex_fagex- Added MS, inv
    The Welcoming Party
    Don't be a Fakawi! Get 25 hours of sleep a day!

  2. #2
    Join Date
    Mar 2006
    Location
    Behind you
    Posts
    3,193
    Mentioned
    61 Post(s)
    Quoted
    63 Post(s)

    Default

    when they have find mmbankcolor in script how does they exactly work???

    "Sometimes User's don't need the Answer spelled out with Code. Sometimes all they need is guidance and explanation of the logic to get where they are going."

  3. #3
    Join Date
    Feb 2006
    Location
    Aussie
    Posts
    937
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ms - main screen

    Great newbie tut!

  4. #4
    Join Date
    Mar 2006
    Location
    USA
    Posts
    948
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    you don't have to copy it out of the debug box it gets copied to clipboard automaticly

  5. #5
    Join Date
    Feb 2006
    Location
    California-Foster City
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by jagex_fagex
    ms - main screen

    Great newbie tut!
    thanks i added it
    The Welcoming Party
    Don't be a Fakawi! Get 25 hours of sleep a day!

  6. #6
    Join Date
    Mar 2006
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    quite brief, but to the point, very well done i say.

  7. #7
    Join Date
    Mar 2006
    Location
    Iowa
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks!

    Great help for people like me who have never laid eyes on scar.

  8. #8
    Join Date
    Feb 2006
    Location
    Aussie
    Posts
    937
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    inv - inventory ??

  9. #9
    Join Date
    Feb 2006
    Posts
    1,022
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Bam Bam
    you don't have to copy it out of the debug box it gets copied to clipboard automaticly
    Omg. :O

    Never knew that!

  10. #10
    Join Date
    Feb 2006
    Location
    California-Foster City
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    thanks, but i knew that . I just forgot to edit it. Oh well. no need i guess
    The Welcoming Party
    Don't be a Fakawi! Get 25 hours of sleep a day!

  11. #11
    Join Date
    May 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    good tutorial for newbies

  12. #12
    Join Date
    Nov 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Bam Bam View Post
    you don't have to copy it out of the debug box it gets copied to clipboard automaticly
    Really? Thats cool I never knew that
    $6.00 Welcome Survey After Free Registration!
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig if you agree

    http://www.stats.srl-forums.com/sigs/3348.png

  13. #13
    Join Date
    Dec 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this is a short tut but it really gets right down to what u really need to know. Thanks for the great tut and u should be seeing scripts from me very soon

  14. #14
    Join Date
    Dec 2008
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ty for the Tut!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Picking up...
    By Maiki in forum OSR Help
    Replies: 13
    Last Post: 10-01-2007, 11:48 PM
  2. Color picking help needed!!!
    By yanix in forum OSR Help
    Replies: 12
    Last Post: 08-29-2007, 08:54 PM
  3. auto color picking.
    By derek9456 in forum OSR Help
    Replies: 3
    Last Post: 11-03-2006, 11:47 PM
  4. Bitmap + Color Help (Old Tutorial)
    By XxKanexX in forum Outdated Tutorials
    Replies: 0
    Last Post: 04-12-2006, 03:33 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
  •