Results 1 to 8 of 8

Thread: Which Walking?

  1. #1
    Join Date
    Jul 2007
    Location
    Pluto... Maybe?
    Posts
    198
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Solved

    Solved
    Last edited by pl0xmypl0x; 08-28-2009 at 08:32 AM.

  2. #2
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    Just make an autocolor for the road, and use symbols as a backup.

  3. #3
    Join Date
    Jul 2007
    Location
    Pluto... Maybe?
    Posts
    198
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    iv only been scripting for a tiny bit so i have no idea how to do that

  4. #4
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by pl0xmypl0x View Post
    iv only been scripting for a tiny bit so i have no idea how to do that
    You can easily use ACA or Scar Assistant. ACA is in your SRL includes under Scripting tools, and SA you can get from Evil Chicken.

    or if you want to make your own(recommended) read one of c0hens(or cazax, i forget lol) tuts on auto coloring with XYZ.

    or i can teach you if you want
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  5. #5
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you know bitmaps, you could try using the AutoColorThis function? Read a tutorial on bitmaps if you don't know them, create a bitmap of what you want to auto color, and then do like:

    SCAR Code:
    var bmp, color: Integer;

    bmp := ;//bitmap here..
    color := AutoColorThis(bmp,x,y,MMX1,MMY1,MMX2,MMY2);

    I am pretty sure that there is a FindFaladorRoadColor already though? Maybe wrong.

    You could also try a simple FindColorTolerance, upping the tolerance and saving the color:

    SCAR Code:
    function AutoColorRoad: Integer;
    var i: Integer;
    begin
      for i := 1 to 20 do
      if(FindColorTolerance(x,y,2938652,MMX1,MMY1,MMX2,MMY2,i)then
      begin
        Result := true;
        Exit;
      end;
    end;

    There are many different ways of doing this. You just have to be creative You could also count the colors there using simple methods with TPointArrays.

  6. #6
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    RadialWalking, or a TPA of the symbol color(s) would be suffice.
    “Ignorance, the root and the stem of every evil.”

  7. #7
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by pl0xmypl0x View Post
    Which walking would be best for this path? as far as i know there isnt an autocolor for it
    Look in AutoColor.scar
    Try FindRoadColor, hell, try 'em all. I'm 100% sure thats FindRoadColor though.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  8. #8
    Join Date
    Jul 2007
    Location
    Pluto... Maybe?
    Posts
    198
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Turns out it was fally auto color

Thread Information

Users Browsing this Thread

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

Posting Permissions

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