Alright, went through the process of patching in the console commands/variables flags so they are not executable. Below is a list of all the commands and variables you can run in the console, AFTER enabling the "Console Goodies" script. To dump all of them, I used the "[CE Lua Console] Log Commands/Variables" script.
1749 commands
715 variables
BR,
Sun
[ 28 Feb 20 - First Release ]
Game Name: Sniper Elite 4
Game Vendor: Steam
Game Version: Sniper4 v1.5.2 (2017.08.09.23) - 10:42:10. Aug 9 2017 - NID 3457
[ open the console with Tilde (~`) key in-game and check it out ]
Game Process: SniperElite4_DX11.exe
[ sorry, won't do one for the DX12 version, as visually, there's MINIMAL differences, whatever your OCD says ]
Hello everyone.
I've done some work in the past for this game, pulling up some nice options and, if I recall, a table in this topic. I've recently started replaying the game, after finishing Zombie Army 4, as I wanted to finish a project I started: mapping all collectibles' locations and a nice teleporter. Furthermore, I've discovered in ZA4 that you can use the weapon scope (sniper, pistol, etc.) while zoomed to pin-point the XYZ coordinates of the spot you're aiming at. That + player's XYZ = teleport to scoped location So I wanted that in SE4 as well, remembering there are a ton of nice roofs or ledges in the game you can snipe from. All said and done, I've mapped main campaign's collectibles.
Then I noticed in the SERVICE RECORD menu, COLLECTIBLES, there are 2 more maps I wasn't aware of (aside from the DLCs): Compound and Railyard. Well, recorded 2 videos explaining how I achieved what you'll find in the table, so I recommend you watch them. They may prove useful for other endeavors of yours you may want to achieve by the same or similar means.
Lastly, I will be updating this table once more with the means to remove restrictions from console commands and variables. Why? For 2 reasons: a) completion of anything possible I wanted to do in this game/engine; b) I can't seem to finish an Overwatch mission (Compound or Railyard) while being the sniper. Although I can teleport around and do the operative's part of the mission(s), I can't finish it as the sniper. This is why:
Which means I have to cheat even more and run some console command that finishes the mission or completes the active (the only one remaining) objective Saw a bunch in the list for ZA4.
Now the table:
And the description + notes for the options:
- Get Tokens Address
Will fetch the address and enable a sub-section so you can edit your Tokens. Note that the game has some sort of progression integrity check and after you end a mission, all of your previously unlocked stuff will be reset. Just a warning, in case you see everything locked and your Tokens reset to the value it had before the mission.
- Unlimited Ammo/Items
Will flip a condition in the engine that gives you 999 - I didn't hard-code the value; it's like that in the engine (just in case someone wants to make a remark about "999"; you know who you are) - items and ammo. It will also enable access in the Q selector to ALL the items (including the ones you didn't bring with you in the mission).
- Unlimited Clip
Clip ammo won't decrease.
- Disable BPM
Will keep this at 0. It will not increase as you perform any BPM action. You can modify the value in the script, in case you need certain amount for Upgrades unlocking (some weapons require you to shoot X enemies with BPM over 100 or some shit).
- Enable All Weapons (Locked/DLC/Available to Buy)
Does what it says. Will just unlock stuff for you, not automatically buy it. It's possible this may also cause the reset I mentioned in the Tokens description. If it happens, disable script, re-buy anything you know you unlocked, then that's that.
- Instant/Quick Body Search
Lets you fast search enemy bodies. Won't do the same for loot boxes.
- No Recoil
Does what it says.
- No Spread (Accuracy)
Does what it says.
- Disable Scope Sway
Does what it says.
- Perfect Stealth
Once you activate the header, you'll have access to 3 scripts. I think they're self-explanatory. Regarding the "Disable Entity State Updating (like "PlayersOnly" in Unreal Engine 3)" -> this will freeze everything in place, basically.
- Coordinates
Activating the header gives you access to the player orientation + location array. You'll find the the N-S orientation as well as the X Y Z coordinates.
- Hook Weapon Scope Target Coords
Activating the script will enable all sub-features, among which there's another script - "Teleport To Scope Pos" - which lets you teleport to targeted location. Just enable script, head back in-game, right-click with your weapon to some place, then press Numpad 0 to teleport there. You can change the hotkey in the script itself. Note: a) sometimes you may point into hollow spots, thus fall through the map (SAVE before you want to teleport!); b) you can use this in Overwatch maps to do both Sniper and Overwatch sides of the mission.
- Overwatch (Compound, Railyard Missions)
Activating the header will give you access to several items. To be able to play Overwatch missions just create a Cooperative game (private) till you get to the lobby. Then change "Game Mode" value to 0x10 (or 16 in decimal). This changes game mode to Campaign, thus giving you access, as Sniper, to the binoculars You'll then be able to set yourself as Ready and start the game Note that at this point in time I've not been able to complete either of these 2 missions as the Sniper, as the last objective is always to help the Operative escape. Will see if there's a console command that gets it done or finishes the mission.
Videos detailing the Overwatch reversal process:
BR,
Sun
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