Results 1 to 9 of 9
  1. #1
    tomstichi's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Germany :)
    Posts
    70
    Reputation
    10
    Thanks
    2,264
    My Mood
    Amused

    MW3 External Radar

    Hello,
    I made an external radar for MW3 in visual basic.




    My question is: How can I rotate the radar when I turn around?
    Sorry for my bad english...
    Last edited by tomstichi; 03-07-2013 at 10:01 AM.

  2. #2
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,470
    Reputation
    564
    Thanks
    6,168
    My Mood
    Psychedelic
    Plot it according to RefDef->ViewAngles

  3. #3
    tomstichi's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Germany :)
    Posts
    70
    Reputation
    10
    Thanks
    2,264
    My Mood
    Amused
    Quote Originally Posted by Kenshin13 View Post
    Plot it according to RefDef->ViewAngles
    Thanks
    Do you have an Example(in code) :-/?

  4. #4
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,470
    Reputation
    564
    Thanks
    6,168
    My Mood
    Psychedelic
    I don't know how you even coded this, if you gave an example how you plotted it to the screen, maybe I can help. Also, I'm not a VB coder so all I can give you is pseudocode (Which is easy to convert if you know the language)

  5. #5
    tomstichi's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Germany :)
    Posts
    70
    Reputation
    10
    Thanks
    2,264
    My Mood
    Amused
    Quote Originally Posted by Kenshin13 View Post
    I don't know how you even coded this, if you gave an example how you plotted it to the screen, maybe I can help. Also, I'm not a VB coder so all I can give you is pseudocode (Which is easy to convert if you know the language)
    Ok, can you add me in skype?
    tomstichi

  6. #6
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,470
    Reputation
    564
    Thanks
    6,168
    My Mood
    Psychedelic
    Quote Originally Posted by tomstichi View Post
    Ok, can you add me in skype?
    tomstichi
    Wait, you want my help and yet you want ME to do the work of adding you? haha You're funny kid.

  7. #7
    tomstichi's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Germany :)
    Posts
    70
    Reputation
    10
    Thanks
    2,264
    My Mood
    Amused
    Quote Originally Posted by Kenshin13 View Post
    Wait, you want my help and yet you want ME to do the work of adding you? haha You're funny kid.
    ok tell me your name pls i will add you

  8. #8
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,470
    Reputation
    564
    Thanks
    6,168
    My Mood
    Psychedelic
    zachary.attong
    Im not even on atm though. I will be on later though. Don't see why you can't type here....

  9. #9
    rawr im a tiger's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    On the edge of Sanity
    Posts
    238
    Reputation
    40
    Thanks
    1,041
    My Mood
    Angelic
    This is C# from my old external ESP (which included rotated radar and was open source). It's easy as hell to convert to VB, and even if you can't, SharpDevelop has an inbuilt convert feature. Viewangles are form the Refdef struct, mentioned above, which can be easily found in the source code thread, along with its base address.

    Code:
    private static void WorldToRadar(Vector3 point, out Vector2 COUT)
            {
                 float dx, dy, vr, vc, vs, px, py, d;
                 
                 dx = point.x - mypos.x;
                 dy = point.y - mypos.y;
                 
                 // now rotate it to see from our position
                 vr = (float)Radians(viewangles.y); // system.math uses radians
                 
                 vc = (float)Math.Cos(vr);
                 vs = (float)Math.Sin(vr);
                 
                 px = (dy * (0 - vc)) + ( dx * vs );
                 py = (dx * (0 - vc)) - ( dy * vs );
                 
                 px /= 40; py /= 20; // scales nicely
                 
                 //yr9 maths, go for it
                 d = (float)Math.Sqrt(Math.Pow((double)dx, 2) + (Math.Pow((double)dy, 2)));
                 
                 if (d > radardistance) {
                    //return?
                 }
                 
                 COUT = new Vector2(px, py);
            }
    Credits: Sph4ck

  10. The Following User Says Thank You to rawr im a tiger For This Useful Post:

    tomstichi (03-07-2013)

Similar Threads

  1. [Patched] External radar 2.0 & 3.0 - for 1.4.382
    By sflord90 in forum Call of Duty 8 - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 30
    Last Post: 02-10-2012, 02:28 PM
  2. Is External Radar Detected?
    By Assassinanic in forum Call of Duty Modern Warfare 3 Help
    Replies: 4
    Last Post: 01-27-2012, 07:49 AM
  3. [Patched] External Radar
    By TeamDarkness in forum Call of Duty 8 - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 59
    Last Post: 12-31-2011, 01:05 AM
  4. MW3 External
    By DrFifty in forum Call of Duty Modern Warfare 3 Discussions
    Replies: 2
    Last Post: 11-07-2011, 11:13 PM
  5. [Discussion] An External Radar?
    By Assassinanic in forum Battlefield Play4Free Hacks
    Replies: 7
    Last Post: 04-27-2011, 09:28 PM