MW3 External Radar

Posts 1–9 of 9 · Page 1 of 1
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...
Plot it according to RefDef->ViewAngles
Quote Originally Posted by Kenshin13 View Post
Plot it according to RefDef->ViewAngles
Thanks
Do you have an Example(in code) :-/?
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)
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
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.
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
zachary.attong
Im not even on atm though. I will be on later though. Don't see why you can't type here....
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
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us