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
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