Hi, im tryinh to make an ESP in AHK.
Not using DX3D IN-GAME drawing method but by taking 3d Coords.( me + Enemry) And converting them to 2D coords.
i Found A Calculation for it but it mentions Panning ( Pitch, Yaw) but i cant figure out where to put Pitch or Yaw)
it mentions Pan.x, Pan.y Pan.z where to replace them with the Pitch and Yaw?
If this works properly we( every1 who writes "cheats" for games) use this as an external overlay with low detection risk.
I try to do this one for BF4.
And got this Calculation from:
http://freespace.vir...es/3d_to_2d.htm
x := Round(PositionX - xD%ArrayCount% ,2) ;My Position - Enmey Position y := Round(PositionY - yD%ArrayCount% ,2) z := Round(PositionZ - zD%ArrayCount%,2) newx := x*cos(Yaw) - z*sin(Yaw) newz := x*sin(Yaw) + z*cos(Yaw) newy := y*cos(Pitch) - newz*sin(Pitch) xFinal := newx*cos(Pitch) - newy*sin(Pitch) zFinal := newy*cos(Pitch) - newz*sin(Pitch) yFinal := newx*sin(Yaw) + newy*cos(Pitch) if zFinal > 0 { screenx%ArrayCount% := Round((xFinal / zFinal) * CalcHorzFOV(40) + CentreX,2) screeny%ArrayCount% := Round((yFinal / zFinal) * 40 + CentreY,2) tooltip % " yaw " Yaw " pitch " Pitch " x " x " y " y " z " z " NX " newx " NY " newy " NZ " newz " XF " xFinal " YF " yFinal " ZF " zFinal " SX " screenx1 " SY " screeny1 " W " WidthW " H " HeightH ,0,0 gosub, OverlayUpdate3 } } }