Bigfoot76 wrote: ↑Tue Feb 08, 2022 2:35 pm
can someone please make a moonjump cheat?
Razapudroshko wrote: ↑Tue Feb 08, 2022 7:10 pm
moonjump or flymode plz
I don't know how to do this in Cheat Engine, but you can modify the game files to increase or decrease your short jump (quick tap the jump button) or long jump (press and hold the jump button) .
Edit: Instead of modifying the data0.pak file below, copy and paste the file and rename the copied version to data2.pak (or replace the 2 with a higher number if you already have a data2.pak file). Then follow the below instructions, but use the newly copied dataX.pak file. These files load sequentially, so even with a Dying Light 2 update that could impact the data0.pak file the dataX.pak file would still have persistent changes. Thanks @bloodaxis for the info.
- Get WinRar or 7zip.
- Go to your Steam common folder. You'll want to go to YourSteamPath\common\Dying Light 2\ph\source.
- I would recommend backing up the data0.pak file before making changes in case you screw something up. Right-click data0.pak, go to "Send to" and then click "Compressed (zipped) folder".
- Once you have backed up the data0.pak file right-click the file and open the archive with WinRar/7zip. I use 7zip so I right-clicked, went to 7zip in my right-click menu, and then clicked Open archive.
- Once the data0.pak file is open navigate to the "scripts" folder and then to the "player" folder.
- Extract the player_variables.src file (just drag it from 7zip and drop it in whatever folder you want).
- Right-click this file and open it with your favorite text editor (I use Sublime Text, but I know a lot of people use either Notepad or Notepad++).
- If you want to modify the long jump (press and hold the jump button) search for this:
Param("HoldJumpHeight", "4.85");
- Change the 4.85 to whatever you would like (I set mine to 50.0, but if that's too high or too low just close the game and edit this value to something different).
- If you want to modify the short jump (quick tap the jump button) search for this:
Param("NormalJumpHeight", "0.52");
- Change the 0.52 to whatever you would like (I set mine to 4.58, but if that's too high or too low just close the game and edit this value to something different).
- Once you are done with your changes save it.
- Drag that file back into the data0.pak archive that you opened earlier.
- Launch the game and play around with your new jump heights.
NOTE: You can still take fall damage, so only increase this if you're using an Infinite Health cheat or use the next steps to eliminate fall damage:
- In the players_variables.src file find this line:
Param("FallDamageResistance", "0.0");
- Change the 0.0 to 100.0.
- Next find this line:
Param("LethalHeight", "14.0");
- Change the 14.0 to 1000.0.
- Once you are done with your changes save it.
- Drag that file back into the data0.pak archive that you opened earlier.
This player_variables.src file can also modify other things as well, and you can play around with it as much as you want. I recommend backing up your save file if you're going to make major changes. One other thing I like to do is search for this:
Param("MeleeWpnDurabilityMulReduce", "1.0");
If you change the 1.0 to 0.0 then you have unlimited weapon durability without using any tables/trainers.
Keep in mind that if an update to the game takes place that overwrites the data0.pak file then these changes will have to be made again.