Results 1 to 8 of 8

Thread: ~ Changing the color in the debug?

  1. #1
    Join Date
    Dec 2006
    Location
    Canada, BC
    Posts
    728
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Question ~ Changing the color in the debug?

    hey im makeing a reflection radar type thing for gaining drop potential safely, it tells you all the players around you and if there combat is in the range to so they can attack you, aswell as there distance from you. so i got a few questions..

    1. Is it posible to have red text something like "WARNING, Enemies approching" when players are detected? And if so which functions would i use?

    2. I know reflection can detect things that are off the map, but how wide is its range realy? ive been meaning to test it but i havent had a chance to. if i were standing in the wild would it be able to detect well outside of what you can see on the mini map?

    This things saved my life a few times already ;D if i can get it to work realy well i might make it all snazzy and release it :] though, has something like this already been released? it is quite a simple idea realy.
    Lance. Da. Pants.

  2. #2
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    #2. Just the chunk of minimap that loads during the "Loading, Please wait". Eveytime you get that it loads the chunk that reflection can use.
    I do visit every 2-6 months

  3. #3
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    SCAR Code:
    DisplayDebugImageWindow(Height, Width: Integer);

    SCAR Code:
    SafeDrawBitmap(Source: Integer; Canvas: TCanvas; x, y: Integer);

    Just have an image of the writing or something, and with "Canvas: TCanvas" just do GetDebugCanvas.

  4. #4
    Join Date
    Dec 2006
    Location
    Canada, BC
    Posts
    728
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks, and wow everything loaded? isnt that alot of space?
    oh and how do i get smart to play a sound file again?

    Edit: i just tested it and i only got 20 tiles away from this guy (like so he was just alittle outside of the map) and then reflection stoped detecting him.. shouldnt it do alot better than that if it can detect everything thats loaded?
    Last edited by Lance; 06-18-2009 at 06:18 AM.
    Lance. Da. Pants.

  5. #5
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by lancerawks View Post
    ok thanks, and wow everything loaded? isnt that alot of space?
    oh and how do i get smart to play a sound file again?
    Its quite a small chunk actually. i think a 50x50 i think?
    I do visit every 2-6 months

  6. #6
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  7. #7
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    To play a sound use
    SCAR Code:
    procedure PlaySound

  8. #8
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by Zasz View Post
    Its quite a small chunk actually. i think a 50x50 i think?
    Actually, I think it's a 104x104 tile area.

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
  •