for UT4 Engine games and for few other games. Some other games may need different worldtoscreen function to work.
What is worldtoscreen? W2S will give you screen coordinates, it can be used for esp and aimbot.
How to use:
-
Find models in your game, use the logger for that (press CTRL+ALT+L to toggle & use keys -O & P+).
-
Press I to log highlighted models to log.txt.
-
Open log.txt, edit universal.cpp and add your model rec. Example: if (Stride == 24 && Descr.Format == 71 && pscdesc.ByteWidth == 4096 && indesc.ByteWidth > ?)
-
Use the same model rec for worldtoscreen. (and/or filter out heads for better performance)
-
Bruteforce pWorldViewCBnum, pProjCBnum & matProjnum, press CTRL+ALT+L and use the displayed keys. If you have found the right values the word "Enemy" will be displayed on models position.
-
Edit main.h and Replace pWorldViewCBnum, pProjCBnum & matProjnum with the working values.
-
Compile with visual studio (creates .dll)
-
Inject .dll into d3d11 game
The ingame menu key is INSERT, use arrows to navigate.
Credits: Wu ZhiQiang, dracorx, evolution536, Yazzn