While searching though TPP's files, I stumbled upon the function, SetAroundCameraManualModeParams, which lets you change the third person camera offsets in-game. As a result, I made a script that lets you create a custom camera.
To install, download the latest version of GzsTool, and use it to extract 00.dat in master/0. This will create a 00_dat folder with the
extracted files.
In that folder, go to \Assets\tpp\script\lib\ and place CustomCamera.lua into it.Then open Tpp.lua. Use ctrl+F to jump to this phrase: "/Assets/tpp/script/lib/TppMbFreeDemo.lua"
Add this directly after that phrase: ,"/Assets/tpp/script/lib/CustomCamera.lua"
Then open TppMain.lua and use ctrl+F to jump to this phrase: TppMission.UpdateForMissionLoad
Add this directly after that phrase:,CustomCamera.Update
Then go back to master/0 and open 00.dat.xml. Inside the <Entries> block, add this line to the list:<Entry FilePath="/Assets/tpp/script/lib/CustomCamera.lua" Compressed="false" />
Finally, drag and drop 00.dat.xml on to Gzstool to repack everything.
When in game, you can start the script by pressing Down on the keyboard. If it works, the camera will shift to the center of the
character.
You can open CustomCamera.lua in any text editor to edit the camera offset values.
To install, download the latest version of GzsTool, and use it to extract 00.dat in master/0. This will create a 00_dat folder with the
extracted files.
In that folder, go to \Assets\tpp\script\lib\ and place CustomCamera.lua into it.Then open Tpp.lua. Use ctrl+F to jump to this phrase: "/Assets/tpp/script/lib/TppMbFreeDemo.lua"
Add this directly after that phrase: ,"/Assets/tpp/script/lib/CustomCamera.lua"
Then open TppMain.lua and use ctrl+F to jump to this phrase: TppMission.UpdateForMissionLoad
Add this directly after that phrase:,CustomCamera.Update
Then go back to master/0 and open 00.dat.xml. Inside the <Entries> block, add this line to the list:<Entry FilePath="/Assets/tpp/script/lib/CustomCamera.lua" Compressed="false" />
Finally, drag and drop 00.dat.xml on to Gzstool to repack everything.
When in game, you can start the script by pressing Down on the keyboard. If it works, the camera will shift to the center of the
character.
You can open CustomCamera.lua in any text editor to edit the camera offset values.