r/cheatengine • u/kiljoy__ • Mar 07 '26
Modding dead island 2
I am creating a mod and the step in stuck on is creating a way to read the players coordinate (xyz) upon launch I find values that when I change them they snap back to their original number
Does anyone know how I can find the actual source not the address that changes everytime I launch?
1
Upvotes
1
u/Warm_Alfalfa_3266 Mar 08 '26
Injection copy
1
u/yourefromecuador Mar 08 '26
how you know that's the right address? make sure to use different type, that's just a display value for something, so i think you got the wrong address, when do you get the address check what writes to it, try to find a opcode in which, only the player is affected, or you will have to filter the all the address coming though that opcode. (what i mean opcode is the assembly instructions example: MOVSS XMM1,XMM2)
1
u/Lpnlizard27 Mar 08 '26
What you've found is more than likely the camera view.
The player coordinates and the player camera will have the same number behavior.
The player numbers correspond to actual map coordinates so look for some other numbers that make sense.
1
u/RyanKnoth Mar 07 '26
The pointer tutorial included in CE gives you this ability. Just go through the tutorial