I need your help!
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)
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
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.
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)
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.
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;
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