Bytewerk / gta2-hackers-remix

New features for GTA2: Xbox360-Gamepad (and compatible) support and a splitscreen mod
Other
23 stars 2 forks source link

Fix camera for exotic resolutions / driving in cars #4

Open robotanarchy opened 9 years ago

robotanarchy commented 9 years ago

Maybe the code from the opensource GTA2 Widescreen Fix will help.

robotanarchy commented 9 years ago

Quickly tried that code out and it didn't fix it at all.

robotanarchy commented 9 years ago

Jones (from gtamp forums) found camera related addresses relative to the player offset:

camera x=peek dword [p1 + 1ACh] 428 camera y=peek dword [p1 + 1B0h] 432 camera z=peek dword [p1 + 1B4h] 436

This looks very promising :)