Kindly DO NOT POST the information in this topic on other forums/communities (e.g.: Nexus) -OR- rephrase/paraphrase it in your YouTube videos/social media. Just as you prefer those places or making followers/an audience, so do I prefer FRF and wrote this specifically for this community! If you want to share the news, do send or link those users to FRF instead. Thank you for respecting my choice!
Game Name: Serious Sam 4
Game Vendor: Steam
Game Version: 555100;557352 [ check main menu, top-right ]
Game Process: Sam4.exe
Game File Version: 184.108.40.206
Started working on this 1-2 days ago and haven't finished the analysis. Meanwhile, the game has updated on Steam, but the table is working fine with both 555100 and 557352 versions. Whoever needs the executables for the first release, let me know and I'll upload them. Note that table should work fine with either Steam or GOG releases. Those with GOG, please confirm so I can update the "Game Vendor" in the top header.
Note that I've revamped the version message a bit. It will tell you if the table is not compatible with your game version, though will enable the main script. With a warning you can read yourselves
Ignore Damage (Perfect God Mode)
This acts <like> the cht_bGod=1 + cht_bIgnoreDamageInGodMode=1 combined. At least that's the effect. Note the "like" - it doesn't turn cheating on, so you're safe from not getting achievements. In terms of how it's done, I simply flip a bool flag in the CPlayerEntity structure so the Entity becomes non-damageable (similar to Unreal Engine 4's bCanBeDamaged BoolProperty in Character UObject).
Infinite Clip + Fast Fire
The script hooks a spot where the CFireableWeaponMode is read from the current CWeaponEntity. The script checks if the obtained pointer is valid, then if [CFireableWeaponMode+8] == CWeaponEntity (just in case AI would execute this, so they don't benefit from it). Lastly, I get the CFireableWeaponModeParams and adjust various values to meet my goal If you want to tweak it, I've left comments:
See it in action here:
More, if I feel like, soon
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1