Results 1 to 8 of 8

Thread: FindRoadColor; problem

  1. #1
    Join Date
    Oct 2007
    Location
    medway.england
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    FindRoadColor; problem

    so the problem is that iv made this totaly ownage catherby lob fisher/banker but when im standing in the bank findroadcolor never gets the right color. its realy odd because when you do findroadcolor down neer the fishing spots(but within sight of the road oviously) it works fine. any ideas why this is messing up? and if not then is there another way to get the road color without manualy re-inputing it each time?

  2. #2
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    it depends on the kind of road. for exmple there's FindFallyRoadColor and things like that. have a look at autocolor.scar

    also this is what i do in my wcer, you could do something similar:
    SCAR Code:
    NewColor := FindFallyRoadColor;
    if NewColor = 0 then NewColor = FindRoadColor;
    if (NewColor <> 0)and(NewColor<>CurrentColor) then
      CurrentColor := NewColor;

    i have no idea what catherby looks like, but there are also functions like FindDirtRoadColor and stuff. like i said check AutoColor.scar

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  3. #3
    Join Date
    Oct 2007
    Location
    medway.england
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hi, il have a mess around with the findfallyroadcolor ect and see if any work. i dont know if the code you posted there would work because its not that it dosn't find the road color, its that it gets the road color wrong... eg: it found 7633789 when the road color was actualy 5986913...

  4. #4
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    if there are different roads nearby / buildings that is probably the cause of the problem.

    I'm guessing you wouldn't know how to autocolor the road by yourself...

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  5. #5
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Autocoloring functions are broken ATM. Fix is in SRL development section. I think.

  6. #6
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by EvilChicken! View Post
    Autocoloring functions are broken ATM. Fix is in SRL development section. I think.

    omg no wondeerr lol i was up to like 5 yesterday trying to find out why it isnt working...anywyz thnx for posting this..

  7. #7
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    All the R B G 's have changed i my self has fixed... get all the colors... and go for the lowest R B G and use them

  8. #8
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I don't think FindRoadColor is broken. Someone else has posted about a members area before, and if I remember right, the problem was that it would grab the building floor color instead of the road color.

    There were several suggestions about how to design an autocolor function that would work for it. Try searching for the thread.


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FindRoadColor
    By Bobzilla69 in forum Research & Development Lounge
    Replies: 2
    Last Post: 07-03-2008, 07:17 AM
  2. FindRoadColor Problem
    By jackkat in forum OSR Help
    Replies: 4
    Last Post: 06-02-2007, 09:14 PM
  3. FindRoadColor?
    By 3Garrett3 in forum OSR Help
    Replies: 7
    Last Post: 05-08-2007, 09:27 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
  •