• # Thread: How to make a "Minimap" hack?

1. ## How to make a "Minimap" hack?

Hey Guys

I want to make a Minimap Hack for Battlefield 4 but i don't know how to find the function in cheat engine there show all enemys on the minimap like this: (in the Picture you can see all enemies without spotting)

How can i can do this?

2. I dont't know but you should start something really basic,example something RapidFire/CustomCrosshair and when you have more skill that could be easier =)

3. Think you should look for function that shows enemy on the map when you hit enemy?
Reverse that and it should do the trick.

4. Originally Posted by mPulse
I dont't know but you should start something really basic,example something RapidFire/CustomCrosshair and when you have more skill that could be easier =)
I do that too by the way ;-)

But i have a other question to RapidFire: How can i make semi-automatic weapons to full-auto? (M16A4 or M4)
do not know what I should look in cheat engine.

Originally Posted by Shame
Think you should look for function that shows enemy on the map when you hit enemy?
Reverse that and it should do the trick.
I'll give it a try.

5. all you need is the X and Z coordinates of the player and enemies.
I'm saying the Z is the Y but it's really not
Enemy.x
Enemy.y
Player.x
Player.y
DX = Enemy.x - Player.x
DY = Enemy.y - Player.y

Draw a square at the top left corner or where ever.
let's say the center of the square is at pixels 100,100 of the window.
Depending on what you want the zoom of the radar to be you have to divide DX and DY by that value.
For(EachPlayer)
{
Do the math and get DX and DY
check if the square of the enemy is going to outside of the box
if(DX > 100 || DY > 100)
(indent)continue;
draw a square at (100+DX,100+DY(X,Y))
}
draw a square at 100,100 and color it blue to show its the player.

6. You mean a External Radar?

I want to do this, but not yet. Thanks! :-)
I want to use the minimap out the game and will show the enemy's on this.

7. Originally Posted by Vultrax
I do that too by the way ;-)

But i have a other question to RapidFire: How can i make semi-automatic weapons to full-auto? (M16A4 or M4)
do not know what I should look in cheat engine.

I'll give it a try.
You don't need use CE to make rapid fire.
But there is supermega simple rapid fire using Visual C++ "Console Application"
```
#include <Windows.h> //get the position of the cursor and use virtualkeys(VK_XX"
#include <iostream>//Can display letters on console.

#define KeyDown(Key) (GetAsyncKeyState(Key) & 0x8000) //Were are defining a keydown which searches for the key that is being pressed.

using namespace std;

int main()
{
cout << "\n\n\t\tHold F to start rapid fire!" << endl;//Print things on console
cout << "\n\n\t\tPress button INSERT to close rapid fire!" << endl; //Print things on console

POINT p;//Coordinates of mouse
for (; KeyDown(VK_INSERT) == NULL; Sleep(20)) // INSERT is closing KEY
{
if (KeyDown(0x46)) //Checking is F hold down
{
GetCursorPos( &p); // get the position of our cursor and use it for clicks so our mouse won't go crazy when the rapid fire starts
mouse_event(MOUSEEVENTF_LEFTDOWN, p.x, p.y, 0, NULL);	//Telling to Left Click donw and get mouse coordinations
Sleep(53); //How long does click is down
mouse_event(MOUSEEVENTF_LEFTUP, p.x,p.y, 0, 0);//Telling to let go of left click and I'ill complete full click
cout << "\n\n\t\tRapid Fire Activated" << endl;//Printing something super mega amazing on the screen
}
}
cout << "\n\n\t\tThank you for using simple Rapid Fire!"; //print again text on console
MessageBox(0, "Thank You For Using this RapidFire by mPulse", "Now Closing", MB_OK); //Creating MessageBox which is telling close to application
return 0;
}
```

Pastebin Source It will Expire in one week

8. Okay, but i don't unterstand C++.