Need for Speed Hot Pursuit Remastered mod - Cockpit View
Added 2022-03-05 17:46:07 +0000 UTC
This mod adds a cockpit view in Hot Pursuit by overriding the offsets for the "hood camera."
Download and usage:
- Download: https://fluffyquack.com/WIP/modmanager.rar
- Extract Fluffy Manager anywhere and run it.
- Select NFS: Hot Pursuit Remastered as the game in Fluffy Manager (you don't need to select install directory for the game if it's not found).
- Run the game.
- Activate the trainer by clicking "Trainer" (make sure the game is running first. I've had a crash by hooking the trainer to the game as the game is booting up).
- Turn on "Override hood camera"
You'll have to adjust the camera based on the car you're in. The easiest way to do this is the following steps:
- Make sure Options->Advanced Options->Background Input is turned on.
- Make sure you're in the Trainer menu showing the camera offsets.
- Make sure NumLock on your keyboard is turned on.
- While in the game, use these keys on the Numpad to modify the camera:
- 4 and 6 move the camera left and right.
- 8 and 6 move the camera up and down.
- 7 and 9 move the camera forward and backwards.
- Hold 0 to increase camera movement speed.
- Press Decimal to reset camera position to trainer default.
Here's some information on how I made the mod:
- First of all, some code reference: https://pastebin.com/raw/nwd84qBk
- The trainer searches for the "NFSHPR_Code_CameraOffset_OriginalPattern" code snippet in memory.
- Once found, it creates a jump from that position into a code cave containing the code in "NFSHPR_Code_CameraOffset_CodeCave"
- All of the various addresses in the code snippets are updated based on where the code cave is created.
- The code cave overrides the values used as hood camera offset. These registers contains these camera offset values: xmm1 = x, xmm3 = y, xmm0 = z
There are some downsides to using this mod:
- The car interiors don't look very detailed. But I feel this isn't too bothersome while playing as your eyes will be focused on the road and other cars.
- When hitting obstacles, the player character might move his head forward causing the camera to clip into him. Fixing this would require finding code in the game responsible for playing character animation. It's technically doable, but it's not something I'm planning to work on.
- As mentioned above, you'll have to manually adjust the camera position based on the car you're driving. Fixing this would require finding a reliable pointer for the current car being driven and having the trainer then automatically update camera offsets based on the current car. But again, I'm not planning on doing more work with this mod.
Thanks to http://www.tocaedit.com/ for making the camera mod for the original release of Hot Pursuit (2010) which inspired me to make this.